[arch-commits] Commit in lib32-libdbusmenu/repos (2 files)
Levente Polyak
anthraxx at archlinux.org
Sat Oct 1 13:01:15 UTC 2016
Date: Saturday, October 1, 2016 @ 13:01:15
Author: anthraxx
Revision: 191142
archrelease: copy trunk to multilib-x86_64
Added:
lib32-libdbusmenu/repos/multilib-x86_64/
lib32-libdbusmenu/repos/multilib-x86_64/PKGBUILD
(from rev 191141, lib32-libdbusmenu/trunk/PKGBUILD)
----------+
PKGBUILD | 88 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 88 insertions(+)
Copied: lib32-libdbusmenu/repos/multilib-x86_64/PKGBUILD (from rev 191141, lib32-libdbusmenu/trunk/PKGBUILD)
===================================================================
--- multilib-x86_64/PKGBUILD (rev 0)
+++ multilib-x86_64/PKGBUILD 2016-10-01 13:01:15 UTC (rev 191142)
@@ -0,0 +1,88 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Manuel Hüsers <manuel.huesers at uni-ol.de>
+# Contributor: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Balló György <ballogyor+arch at gmail.com>
+# Contributor: Branchini Massimo <max.bra.gtalk at gmail.com
+
+_pkgbase=libdbusmenu
+pkgbase=lib32-${_pkgbase}
+pkgname=("${pkgbase}-glib" "${pkgbase}-gtk"{2,3})
+pkgver=16.04.0
+pkgrel=2
+pkgdesc='Library for passing menus over DBus (32-bit)'
+url='https://launchpad.net/libdbusmenu'
+arch=('i686' 'x86_64')
+license=('GPL3' 'LGPL2.1' 'LGPL3')
+makedepends=('gnome-common' 'gnome-doc-utils' 'gobject-introspection' 'lib32-gtk'{2,3} 'intltool' 'vala' 'valgrind-multilib' 'pkg-config')
+options=('!emptydirs')
+source=(https://launchpad.net/${_pkgbase}/${pkgver%.?}/${pkgver}/+download/${_pkgbase}-${pkgver}.tar.gz{,.asc})
+sha512sums=('ee9654ac4ed94bdebc94a6db83b126784273a417a645b2881b2ba676a5f67d7fc95dd2bb37bfb0890aa47299ed73cb21ed7de8b75f3fed6b69bfd39065062241'
+ 'SKIP')
+validpgpkeys=('45B1103FB93ACBD90296DBCAE83D089481836EBF') # Marco Trevisan (at 3v1n0.net) <marco.trevisan at 3v1n0.net>
+
+prepare() {
+ cp -ra ${_pkgbase}-${pkgver}{,-gtk2}
+}
+
+build() {
+ export CC='gcc -m32'
+ export CXX='g++ -m32'
+ export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+ export HAVE_VALGRIND_TRUE='#'
+ export HAVE_VALGRIND_FALSE=''
+
+ msg2 "Building gtk3..."
+ (cd ${_pkgbase}-${pkgver}
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-{dumper,static,tests} \
+ --libdir=/usr/lib32 \
+ --with-gtk=3
+ make
+ )
+
+ msg2 "Building gtk2..."
+ (cd ${_pkgbase}-${pkgver}-gtk2
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-{dumper,static,tests} \
+ --libdir=/usr/lib32 \
+ --with-gtk=2
+ make
+ )
+}
+
+package_lib32-libdbusmenu-glib() {
+ depends=('lib32-glib2' "${_pkgbase}-glib")
+
+ cd ${_pkgbase}-${pkgver}
+ make -j1 -C libdbusmenu-glib DESTDIR="${pkgdir}" install
+ rm -rf "${pkgdir}"/usr/{include,share,lib,bin}
+}
+
+package_lib32-libdbusmenu-gtk2() {
+ pkgdesc+=" (GTK+ 2 library)"
+ depends=('lib32-gtk2' "${pkgbase}-glib" "${_pkgbase}-gtk2")
+
+ cd ${_pkgbase}-${pkgver}-gtk2
+ make -j1 -C libdbusmenu-glib DESTDIR="${pkgdir}" install
+ make -j1 -C libdbusmenu-gtk DESTDIR="${pkgdir}" install
+ make -j1 -C libdbusmenu-glib DESTDIR="${pkgdir}" uninstall
+ rm -rf "${pkgdir}"/usr/{include,share,lib,bin}
+}
+
+package_lib32-libdbusmenu-gtk3() {
+ pkgdesc+=" (GTK+ 3 library)"
+ depends=('lib32-gtk3' "${pkgbase}-glib" "${_pkgbase}-gtk3")
+
+ cd ${_pkgbase}-${pkgver}
+ make -j1 -C libdbusmenu-glib DESTDIR="${pkgdir}" install
+ make -j1 -C libdbusmenu-gtk DESTDIR="${pkgdir}" install
+ make -j1 -C libdbusmenu-glib DESTDIR="${pkgdir}" uninstall
+ rm -rf "${pkgdir}"/usr/{include,share,lib,bin}
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list