From 76540f566456d2ad97ebdb7e9d36e8b10c6c6ad8 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 24 Oct 2010 17:44:20 +0200 Subject: [PATCH] GConf: added gir-gconf subpkg, bumprev to -devel subpkg. --- srcpkgs/GConf/GConf-devel.template | 4 +++- srcpkgs/GConf/gir-gconf.template | 13 +++++++++++++ srcpkgs/GConf/template | 5 +++-- srcpkgs/gir-gconf | 1 + 4 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/GConf/gir-gconf.template create mode 120000 srcpkgs/gir-gconf diff --git a/srcpkgs/GConf/GConf-devel.template b/srcpkgs/GConf/GConf-devel.template index 43debbf660..c891bcf108 100644 --- a/srcpkgs/GConf/GConf-devel.template +++ b/srcpkgs/GConf/GConf-devel.template @@ -5,6 +5,8 @@ long_desc="${long_desc} This package contains files for development, headers, static libs, etc." +revision=1 + Add_dependency run pkg-config Add_dependency run intltool Add_dependency run glib-devel @@ -29,7 +31,7 @@ do_install() mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/share/{sgml,aclocal,gtk-doc} \ + mv ${SRCPKGDESTDIR}/usr/share/{gir*,sgml,aclocal,gtk-doc} \ ${DESTDIR}/usr/share mv ${SRCPKGDESTDIR}/usr/lib/GConf/2/*.*a ${DESTDIR}/usr/lib/GConf/2 mv ${SRCPKGDESTDIR}/usr/lib/gio/modules/*.a \ diff --git a/srcpkgs/GConf/gir-gconf.template b/srcpkgs/GConf/gir-gconf.template new file mode 100644 index 0000000000..9986915334 --- /dev/null +++ b/srcpkgs/GConf/gir-gconf.template @@ -0,0 +1,13 @@ +# Template file for 'gir-gconf'. +# +short_desc="Introspection data for GNOME GConf" +long_desc="${long_desc} + + This package contains small pieces of introspection data for the GNOME + GConf libraries." + +do_install() +{ + install -d ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/girepository-1.0 ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/GConf/template b/srcpkgs/GConf/template index 7c714f343c..4750946957 100644 --- a/srcpkgs/GConf/template +++ b/srcpkgs/GConf/template @@ -14,7 +14,7 @@ long_desc=" triggers="gio-modules" conf_files="/etc/gconf/2/path" -subpackages="$pkgname-devel" +subpackages="gir-gconf $pkgname-devel" Add_dependency run glibc Add_dependency run glib @@ -43,11 +43,12 @@ Add_dependency build freetype-devel Add_dependency build fontconfig-devel Add_dependency build gdk-pixbuf-devel Add_dependency build libpng-devel -Add_dependency build gtk+-devel +Add_dependency build gtk+-devel ">=2.22.0_1" Add_dependency build dbus-glib-devel Add_dependency build ORBit2-devel Add_dependency build polkit-devel Add_dependency build libxml2-devel +Add_dependency build gobject-introspection post_install() { diff --git a/srcpkgs/gir-gconf b/srcpkgs/gir-gconf new file mode 120000 index 0000000000..cf3c511e78 --- /dev/null +++ b/srcpkgs/gir-gconf @@ -0,0 +1 @@ +GConf \ No newline at end of file