void-packages/srcpkgs/gtkimageview/template

32 lines
991 B
Bash

# Template file for 'gtkimageview'
pkgname=gtkimageview
version=1.6.4
revision=3
_githash=77abd2122c19d2eca21599404a2d3aece35081e2
build_style=gnu-configure
hostmakedepends="pkg-config gtk-doc libtool glib-devel automake"
makedepends="gtk+-devel"
short_desc="Widget that provides a zoomable and panable view of a GdkPixbuf"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://wiki.gnome.org/Projects/GTK/GtkImageView"
distfiles="https://repo-default.voidlinux.org/distfiles/gtkimageview-${_githash}.tar.gz"
checksum=2d61c9957500e515419b2b3b0d9a3d5efb67a6a8384743926121dcd618a9ef35
pre_configure() {
vsed -e '/CFLAGS/s/-Werror//g;/DEPRECATED_FLAGS/d;/GNOME_/d;' -i configure.in
autoupdate
autoreconf -fi
}
gtkimageview-devel_package() {
shortdesc+=" - development files"
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}