diff --git a/common/shlibs b/common/shlibs index 41d3945e5bd..7eb8b5e8720 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2093,3 +2093,4 @@ libtbb_debug.so.2 tbb-4.3_1 libtbb.so.2 tbb-4.3_1 libtbbmalloc_debug.so.2 tbb-4.3_1 libembree.so.2 embree-2.5.1_1 +libgtkimageview.so.0 gtkimageview-1.6.4_1 diff --git a/srcpkgs/gtkimageview-devel b/srcpkgs/gtkimageview-devel new file mode 120000 index 00000000000..749e464c1e4 --- /dev/null +++ b/srcpkgs/gtkimageview-devel @@ -0,0 +1 @@ +gtkimageview \ No newline at end of file diff --git a/srcpkgs/gtkimageview/template b/srcpkgs/gtkimageview/template new file mode 100644 index 00000000000..50ac1ebed54 --- /dev/null +++ b/srcpkgs/gtkimageview/template @@ -0,0 +1,35 @@ +# Template file for 'gtkimageview' +pkgname=gtkimageview +version=1.6.4 +revision=1 +_githash=77abd2122c19d2eca21599404a2d3aece35081e2 +wrksrc="${pkgname}-${_githash}" +build_style=gnu-configure +maintainer="Dominik Honnef " +hostmakedepends="gnome-common pkg-config gtk-doc libtool glib-devel" +makedepends="gtk+-devel" +license="LGPL-2.1" +homepage="https://github.com/GNOME/gtkimageview" +short_desc="A widget that provides a zoomable and panable view of a GdkPixbuf" +distfiles="https://github.com/GNOME/gtkimageview/archive/${_githash}.tar.gz" +checksum=2d61c9957500e515419b2b3b0d9a3d5efb67a6a8384743926121dcd618a9ef35 + +pre_configure() { + ./autogen.sh +} + +pre_build() { + sed -e '/CFLAGS/s/-Werror //g' -i configure.in + sed '/DEPRECATED_FLAGS/d' -i configure.in +} + +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 + } +}