From 960ac860e353211111f90e33bc1cfbede4823010 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 28 Oct 2010 17:30:41 +0200 Subject: [PATCH] libunique: cleanup rundeps, added gir subpkg. bumprev. --- srcpkgs/gir-libunique | 1 + srcpkgs/libunique/gir-libunique.template | 13 +++++++++++++ srcpkgs/libunique/template | 10 ++++++---- 3 files changed, 20 insertions(+), 4 deletions(-) create mode 120000 srcpkgs/gir-libunique create mode 100644 srcpkgs/libunique/gir-libunique.template diff --git a/srcpkgs/gir-libunique b/srcpkgs/gir-libunique new file mode 120000 index 00000000000..a4f4bebbc83 --- /dev/null +++ b/srcpkgs/gir-libunique @@ -0,0 +1 @@ +libunique \ No newline at end of file diff --git a/srcpkgs/libunique/gir-libunique.template b/srcpkgs/libunique/gir-libunique.template new file mode 100644 index 00000000000..b2cb12dc39e --- /dev/null +++ b/srcpkgs/libunique/gir-libunique.template @@ -0,0 +1,13 @@ +# Template file for 'gir-libunique'. +# +short_desc="Introspection data for libunique" +long_desc="${long_desc} + + This package contains small pieces of introspection data for the + libunique library." + +do_install() +{ + install -d ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/girepository-1.0 ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/libunique/template b/srcpkgs/libunique/template index 1d86b054fb7..d2b53556414 100644 --- a/srcpkgs/libunique/template +++ b/srcpkgs/libunique/template @@ -1,10 +1,10 @@ # Template file for 'libunique'. pkgname=libunique version=1.1.6 -revision=1 +revision=2 distfiles="${GNOME_SITE}/$pkgname/1.1/$pkgname-$version.tar.bz2" build_style=gnu_configure -configure_args="--enable-introspection=no --enable-bacon=yes --enable-dbus=yes" +configure_args="--enable-bacon=yes --enable-dbus=yes" short_desc="Library for writing single instance applications" maintainer="pancake " checksum=e5c8041cef8e33c55732f06a292381cb345db946cf792a4ae18aa5c66cdd4fbb @@ -21,9 +21,8 @@ long_desc=" by many projects and the code using Bonobo and D-Bus." disable_parallel_build=yes -subpackages="$pkgname-devel" +subpackages="gir-$pkgname $pkgname-devel" -# XXX: add introspection subpkg. Add_dependency run glibc Add_dependency run glib Add_dependency run dbus-libs @@ -34,6 +33,8 @@ Add_dependency run cairo Add_dependency run freetype Add_dependency run fontconfig Add_dependency run libX11 +Add_dependency run libpng +Add_dependency run gdk-pixbuf Add_dependency run gtk+ Add_dependency build pkg-config @@ -47,3 +48,4 @@ Add_dependency build fontconfig-devel Add_dependency build dbus-devel Add_dependency build dbus-glib-devel Add_dependency build gtk+-devel +Add_dependency build gobject-introspection