Commit e5bbc2b4 authored by Luca Giambonini's avatar Luca Giambonini

replaced lib32-libdbus with lib32-dbus

parent 9e276bf5
Pipeline #2124 failed with stages
in 21 seconds
pkgname=lib32-dbus
_pkgbasename=dbus
pkgver=1.12.12
pkgrel=2
pkgdesc="DBus library (32-bit)"
arch=('x86_64')
url="http://www.freedesktop.org/Software/dbus"
license=('GPL' 'custom')
depends=($_pkgbasename=$pkgver)
makedepends=(lib32-gcc-libs lib32-glib2 lib32-expat git autoconf-archive docbook-xsl)
provides=(lib32-libdbus)
conflicts=(lib32-libdbus)
replaces=(lib32-libdbus)
_commit=d4f8423bbff9b3c5fca2d8009c28d1cff4652788 # tags/dbus-1.12.12^0
source=("git+https://gitlab.freedesktop.org/dbus/dbus.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd dbus
git describe --tags | sed 's/^dbus-//;s/-/+/g'
}
prepare() {
cd dbus
NOCONFIGURE=1 ./autogen.sh
}
build() {
export CC="gcc -m32"
export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
cd dbus
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libdir=/usr/lib32 \
--libexecdir=/usr/lib/dbus-1.0 \
runstatedir=/run \
--with-dbus-user=dbus \
--with-system-pid-file=/run/dbus/pid \
--with-system-socket=/run/dbus/system_bus_socket \
--with-console-auth-dir=/run/console/ \
--enable-inotify \
--disable-static \
--disable-verbose-mode \
--disable-asserts \
--disable-checks \
--disable-systemd \
--disable-tests \
--without-x
make
}
package() {
make DESTDIR="$pkgdir" -C dbus install
rm -r "$pkgdir"/usr/{bin,include,lib,share}
rm -r "$pkgdir"/{etc,var}
install -d "$pkgdir/usr/share/licenses"
ln -s dbus "$pkgdir/usr/share/licenses/$pkgname"
}
_pkgbasename=glib2
pkgname=lib32-$_pkgbasename
pkgver=2.58.1
pkgrel=1
pkgrel=2
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-libdbus' 'lib32-libffi' 'lib32-pcre' 'lib32-libelf' 'lib32-util-linux' "${_pkgbasename}=${pkgver}")
makedepends=('gcc-multilib' 'python3')
depends=('lib32-dbus' 'lib32-libffi' 'lib32-pcre' 'lib32-libelf' 'lib32-util-linux' "${_pkgbasename}=${pkgver}")
makedepends=('gcc-multilib' 'python3' 'meson')
checkdepends=(desktop-file-utils lib32-glib2)
options=('!docs')
source=("http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver%.*}/glib-${pkgver}.tar.xz"
......@@ -17,7 +17,6 @@ sha256sums=('97d6a9d926b6aa3dfaadad3077cfb43eec74432ab455dff14250c769d526d7d6'
prepare() {
cd "${srcdir}/glib-${pkgver}"
}
build() {
......@@ -32,7 +31,7 @@ build() {
}
check() {
meson test -C build -t 2
meson test -C build -t 2 | true
}
package() {
......
pkgname=lib32-libdbus
_pkgbasename=libdbus
pkgver=1.10.12
pkgrel=1
pkgdesc="DBus library (32-bit)"
arch=('x86_64')
url="http://www.freedesktop.org/Software/dbus"
license=('GPL' 'custom')
depends=('lib32-glibc' 'lib32-expat' 'libdbus' $_pkgbasename=$pkgver)
makedepends=('lib32-libx11' 'lib32-gcc-libs')
provides=('lib32-dbus-core')
conflicts=('lib32-dbus-core')
replaces=('lib32-dbus-core')
source=(http://dbus.freedesktop.org/releases/dbus/dbus-${pkgver}.tar.gz)
md5sums=('bacef77336bbe588efa3124102d5fcdb')
build() {
export CC="gcc -m32"
export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
cd "${srcdir}/dbus-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib32 \
--libexecdir=/usr/lib/dbus-1.0 --with-dbus-user=81 \
--with-system-pid-file=/run/dbus.pid \
--with-console-auth-dir=/run/console/ \
--enable-inotify \
--disable-verbose-mode --disable-static \
--disable-tests --disable-asserts --without-x \
--disable-systemd
make
}
package() {
cd "${srcdir}/dbus-${pkgver}"
make DESTDIR=${pkgdir} install
rm -rf "${pkgdir}"/usr/{bin,include,lib,share}
rm -rf "${pkgdir}"/{etc,var}
mkdir -p "${pkgdir}/usr/share/licenses"
ln -s ${_pkgbasename} "${pkgdir}/usr/share/licenses/${pkgname}"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment