diff --git a/srcpkgs/gdk-pixbuf/gdk-pixbuf-devel.template b/srcpkgs/gdk-pixbuf/gdk-pixbuf-devel.template index 66a962ba3f..b5829ded7e 100644 --- a/srcpkgs/gdk-pixbuf/gdk-pixbuf-devel.template +++ b/srcpkgs/gdk-pixbuf/gdk-pixbuf-devel.template @@ -6,6 +6,7 @@ long_desc=" This package contains development files: headers, static libs, etc." +revision=1 replaces="gtk+-devel<2.22" Add_dependency run perl @@ -27,5 +28,5 @@ do_install() mv ${SRCPKGDESTDIR}/usr/bin/*csource* ${DESTDIR}/usr/bin mv ${SRCPKGDESTDIR}/usr/share/man/man1/*csource* \ ${DESTDIR}/usr/share/man/man1 - mv ${SRCPKGDESTDIR}/usr/share/gtk-doc ${DESTDIR}/usr/share + mv ${SRCPKGDESTDIR}/usr/share/{gir-*,gtk-doc} ${DESTDIR}/usr/share } diff --git a/srcpkgs/gdk-pixbuf/gir-gdk-pixbuf.template b/srcpkgs/gdk-pixbuf/gir-gdk-pixbuf.template new file mode 100644 index 0000000000..66422ab860 --- /dev/null +++ b/srcpkgs/gdk-pixbuf/gir-gdk-pixbuf.template @@ -0,0 +1,13 @@ +# Template file for 'gir-gdk-pixbuf'. +# +short_desc="Introspection data for GdkPixbuf" +long_desc="${long_desc} + + This package contains small pieces of introspection data for the GDK + pixbuf library." + +do_install() +{ + install -d ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/girepository-1.0 ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/gdk-pixbuf/template b/srcpkgs/gdk-pixbuf/template index b257679f73..e585dfb7ba 100644 --- a/srcpkgs/gdk-pixbuf/template +++ b/srcpkgs/gdk-pixbuf/template @@ -13,7 +13,7 @@ long_desc=" # gtk+<2.22 included gdk-pixbuf. replaces="gtk+<2.22" triggers="gtk-pixbuf-loaders" -subpackages="$pkgname-devel" +subpackages="gir-$pkgname $pkgname-devel" Add_dependency run glibc Add_dependency run glib @@ -28,3 +28,4 @@ Add_dependency build libpng-devel Add_dependency build jpeg-devel Add_dependency build tiff-devel Add_dependency build libX11-devel +Add_dependency build gobject-introspection diff --git a/srcpkgs/gir-gdk-pixbuf b/srcpkgs/gir-gdk-pixbuf new file mode 120000 index 0000000000..fa20dc708a --- /dev/null +++ b/srcpkgs/gir-gdk-pixbuf @@ -0,0 +1 @@ +gdk-pixbuf \ No newline at end of file