libsoup: move gobject-introspection stuff into a new subpkg, bumprev.

This commit is contained in:
Juan RP 2010-10-26 01:39:22 +02:00
parent f51f7bad5d
commit ce878f6cd5
4 changed files with 24 additions and 2 deletions

1
srcpkgs/gir-libsoup Symbolic link
View File

@ -0,0 +1 @@
libsoup

View File

@ -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
}

View File

@ -6,6 +6,8 @@ long_desc="${long_desc}
This package contains the GNOME support files for development: This package contains the GNOME support files for development:
headers, static libs, etc." headers, static libs, etc."
revision=1
Add_dependency run libxml2-devel Add_dependency run libxml2-devel
Add_dependency run zlib-devel Add_dependency run zlib-devel
Add_dependency run gnutls-devel Add_dependency run gnutls-devel
@ -20,10 +22,14 @@ Add_dependency run libsoup-gnome
do_install() 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* \ mv ${SRCPKGDESTDIR}/usr/include/libsoup-gnome* \
${DESTDIR}/usr/include ${DESTDIR}/usr/include
mv ${SRCPKGDESTDIR}/usr/lib/libsoup-gnome*.a ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/lib/libsoup-gnome*.a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig/*gnome* \ mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig/*gnome* \
${DESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib/pkgconfig
mv ${SRCPKGDESTDIR}/usr/share/gir-1.0/SoupGNOME* \
${DESTDIR}/usr/share/gir-1.0
} }

View File

@ -1,6 +1,7 @@
# Template file for 'libsoup' # Template file for 'libsoup'
pkgname=libsoup pkgname=libsoup
version=2.32.0 version=2.32.0
revision=1
distfiles="${GNOME_SITE}/$pkgname/2.32/$pkgname-$version.tar.bz2" distfiles="${GNOME_SITE}/$pkgname/2.32/$pkgname-$version.tar.bz2"
build_style=gnu_configure build_style=gnu_configure
configure_args="--localstatedir=/var" configure_args="--localstatedir=/var"
@ -28,7 +29,7 @@ long_desc="
* HTTP server * HTTP server
* Server support for Digest and Basic authentication" * 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 glibc
Add_dependency run zlib Add_dependency run zlib
Add_dependency run libxml2 Add_dependency run libxml2
@ -50,3 +51,4 @@ Add_dependency build gnutls-devel
Add_dependency build sqlite-devel Add_dependency build sqlite-devel
Add_dependency build GConf-devel Add_dependency build GConf-devel
Add_dependency build libgnome-keyring-devel Add_dependency build libgnome-keyring-devel
Add_dependency build gobject-introspection