lib32-glib2 & lib32-dbus-glib update

This commit is contained in:
Neophytos 2012-05-27 09:42:02 +00:00
parent fd5e61abc4
commit 852dc909f2
2 changed files with 48 additions and 4 deletions

42
lib32-dbus-glib/PKGBUILD Normal file
View File

@ -0,0 +1,42 @@
# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
_pkgbasename=dbus-glib
pkgname=lib32-${_pkgbasename}
pkgver=0.94
pkgrel=2
pkgdesc="GLib bindings for DBUS (32-bit)"
arch=(x86_64)
license=('GPL')
url="http://www.freedesktop.org/wiki/Software/DBusBindings"
depends=('lib32-dbus-core' 'lib32-glib2' ${_pkgbasename})
makedepends=('gcc-multilib' 'lib32-libffi' 'pkgconfig')
options=(!libtool !emptydirs)
source=(http://dbus.freedesktop.org/releases/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz)
md5sums=('e1f1506a6f4941e67bffd614b1ad5af6')
build() {
export CC="gcc -m32"
export CXX="g++ -m32"
cd "${srcdir}/${_pkgbasename}-${pkgver}"
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libdir=/usr/lib32 \
--enable-static=no \
--enable-bash-completion=no
make
make DESTDIR="${pkgdir}" install
}
package() {
cd "${srcdir}/${_pkgbasename}-${pkgver}"
make DESTDIR=${pkgdir} install
rm -rf "${pkgdir}"/usr/{bin,include,share}
}

View File

@ -5,17 +5,18 @@
_pkgbasename=glib2
pkgname=lib32-$_pkgbasename
pkgver=2.26.1
pkgver=2.32.1
_pkgver=2.32
pkgrel=1
pkgdesc="Common C routines used by GTK+ 2.4 and other libs (32-bit)"
url="http://www.gtk.org/"
arch=('x86_64')
license=('LGPL')
depends=('lib32-pcre' 'lib32-zlib' 'lib32-dbus-core' $_pkgbasename)
makedepends=('gcc-multilib')
makedepends=('python2' 'lib32-libffi' 'gcc-multilib')
options=('!libtool' '!docs')
source=(http://ftp.gnome.org/pub/GNOME/sources/glib/2.26/glib-${pkgver}.tar.bz2)
sha256sums=('7a74ff12b6b9dee1f2d0e520b56b68b621920c4f4250bdf23468e515625c28d5')
source=(http://ftp.gnome.org/pub/GNOME/sources/glib/${_pkgver}/glib-${pkgver}.tar.xz)
sha256sums=('484d5b7fc09f3fa398355adaf74b369768f5859866c299f229c99721990f8398')
build() {
export CC="gcc -m32"
@ -36,4 +37,5 @@ package() {
cd "${pkgdir}"/usr/bin
mv gio-querymodules gio-querymodules-32
rm -f gdbus glib* gobject-query gsettings gtester*
rm -rf "$pkgdir"/usr/{bin,lib32/gdbus-2.0}
}