[arch-commits] Commit in libsoup/repos (extra-x86_64 extra-x86_64/PKGBUILD)

Jan de Groot jgc at archlinux.org
Mon Oct 12 07:19:32 UTC 2009


    Date: Monday, October 12, 2009 @ 03:19:32
  Author: jgc
Revision: 55119

Merged revisions 55117 via svnmerge from 
svn+ssh://gerolde.archlinux.org/srv/svn-packages/libsoup/trunk

........
  r55117 | jgc | 2009-10-12 09:18:02 +0200 (Mon, 12 Oct 2009) | 1 line
  
  Merge gnome-unstable
........

Modified:
  libsoup/repos/extra-x86_64/	(properties)
  libsoup/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   39 ++++++++++++++++++++++++++++++---------
 1 file changed, 30 insertions(+), 9 deletions(-)


Property changes on: libsoup/repos/extra-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /libsoup/trunk:1-44355
   + /libsoup/trunk:1-55118

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2009-10-12 07:19:03 UTC (rev 55118)
+++ extra-x86_64/PKGBUILD	2009-10-12 07:19:32 UTC (rev 55119)
@@ -1,23 +1,44 @@
 # $Id$
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
-pkgname=libsoup
-pkgver=2.26.3
+pkgbase=libsoup
+pkgname=('libsoup' 'libsoup-gnome')
+pkgver=2.28.0
 pkgrel=1
-pkgdesc="Gnome HTTP Library"
 arch=(i686 x86_64)
 license=('LGPL')
-depends=('glib2>=2.20.4' 'gnutls>=2.8.1' 'libxml2>=2.7.3' 'libproxy>=0.2.3' 'sqlite3>=3.6.15' 'gconf>=2.26.0-3')
-makedepends=('intltool' 'pkgconfig')
+makedepends=('glib2>=2.21.6' 'gnutls>=2.8.3' 'libxml2>=2.7.3' 'libproxy>=0.2.3' 'sqlite3>=3.6.17' 'gconf>=2.27.0' 'gnome-keyring>=2.28.0' 'intltool' 'pkgconfig')
 url="http://www.gnome.org"
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.26/${pkgname}-${pkgver}.tar.bz2)
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgbase}/2.28/${pkgbase}-${pkgver}.tar.bz2)
 options=('!libtool' '!emptydirs')
-md5sums=('19f15636380a9a08a0f071cc53069b80')
+sha256sums=('647217d395d560375551056e291d697543d424eb6363e101c334a01a0b8c6fb6')
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd "${srcdir}/${pkgbase}-${pkgver}"
   ./configure --prefix=/usr --sysconfdir=/etc \
-              --localstatedir=/var --disable-static || return 1
+      --localstatedir=/var --disable-static || return 1
   make || return 1
+}
+
+package_libsoup() {
+  pkgdesc="GNOME HTTP Library - base library"
+  depends=('glib2>=2.21.6' 'libxml2>=2.7.3' 'gnutls>=2.8.3')
+
+  cd "${srcdir}/${pkgbase}-${pkgver}"
   make DESTDIR="${pkgdir}" install || return 1
+  rm -f "${pkgdir}"/usr/lib/libsoup-gnome-2.4.*
+  rm -f "${pkgdir}/usr/lib/pkgconfig/libsoup-gnome-2.4.pc"
+  rm -rf "${pkgdir}/usr/include/libsoup-gnome-2.4"
 }
+
+package_libsoup-gnome() {
+  pkgdesc="GNOME HTTP Library - GNOME libraries"
+  depends=("libsoup=${pkgver}" 'libproxy>=0.2.3' 'gnome-keyring>=2.28.0')
+
+  cd "${srcdir}/${pkgbase}-${pkgver}"
+  make DESTDIR="${pkgdir}"  install || return 1
+  rm -f "${pkgdir}"/usr/lib/libsoup-2.4.*
+  rm -f "${pkgdir}/usr/lib/pkgconfig/libsoup-2.4.pc"
+  rm -rf "${pkgdir}/usr/include/libsoup-2.4"
+  rm -rf "${pkgdir}/usr/share"
+}




More information about the arch-commits mailing list