diff --git a/srcpkgs/gir-libsoup b/srcpkgs/gir-libsoup new file mode 120000 index 0000000000..ed1af3c9d3 --- /dev/null +++ b/srcpkgs/gir-libsoup @@ -0,0 +1 @@ +libsoup \ No newline at end of file diff --git a/srcpkgs/libsoup/gir-libsoup.template b/srcpkgs/libsoup/gir-libsoup.template new file mode 100644 index 0000000000..066c45fda6 --- /dev/null +++ b/srcpkgs/libsoup/gir-libsoup.template @@ -0,0 +1,13 @@ +# Template file for 'gir-libsoup'. +# +short_desc="Introspection data for GNOME's libsoup" +long_desc="${long_desc} + + This package contains small pieces of introspection data for the GNOME's + libsoup libraries." + +do_install() +{ + install -d ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/girepository-1.0 ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/libsoup/libsoup-gnome-devel.template b/srcpkgs/libsoup/libsoup-gnome-devel.template index a2e2d9ff85..ef68b7ad7e 100644 --- a/srcpkgs/libsoup/libsoup-gnome-devel.template +++ b/srcpkgs/libsoup/libsoup-gnome-devel.template @@ -6,6 +6,8 @@ long_desc="${long_desc} This package contains the GNOME support files for development: headers, static libs, etc." +revision=1 + Add_dependency run libxml2-devel Add_dependency run zlib-devel Add_dependency run gnutls-devel @@ -20,10 +22,14 @@ Add_dependency run libsoup-gnome do_install() { - mkdir -p ${DESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/include + mkdir -p ${DESTDIR}/usr/lib/pkgconfig \ + ${DESTDIR}/usr/include ${DESTDIR}/usr/share/gir-1.0 + mv ${SRCPKGDESTDIR}/usr/include/libsoup-gnome* \ ${DESTDIR}/usr/include mv ${SRCPKGDESTDIR}/usr/lib/libsoup-gnome*.a ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig/*gnome* \ ${DESTDIR}/usr/lib/pkgconfig + mv ${SRCPKGDESTDIR}/usr/share/gir-1.0/SoupGNOME* \ + ${DESTDIR}/usr/share/gir-1.0 } diff --git a/srcpkgs/libsoup/template b/srcpkgs/libsoup/template index 66ee8c60c6..0b360eff4f 100644 --- a/srcpkgs/libsoup/template +++ b/srcpkgs/libsoup/template @@ -1,6 +1,7 @@ # Template file for 'libsoup' pkgname=libsoup version=2.32.0 +revision=1 distfiles="${GNOME_SITE}/$pkgname/2.32/$pkgname-$version.tar.bz2" build_style=gnu_configure configure_args="--localstatedir=/var" @@ -28,7 +29,7 @@ long_desc=" * HTTP server * Server support for Digest and Basic authentication" -subpackages="$pkgname-gnome $pkgname-gnome-devel $pkgname-devel" +subpackages="gir-$pkgname $pkgname-gnome $pkgname-gnome-devel $pkgname-devel" Add_dependency run glibc Add_dependency run zlib Add_dependency run libxml2 @@ -50,3 +51,4 @@ Add_dependency build gnutls-devel Add_dependency build sqlite-devel Add_dependency build GConf-devel Add_dependency build libgnome-keyring-devel +Add_dependency build gobject-introspection