[arch-commits] Commit in lib32-libindicator/repos/multilib-x86_64 (PKGBUILD PKGBUILD)
Balló György
bgyorgy at archlinux.org
Tue Mar 17 11:47:08 UTC 2020
Date: Tuesday, March 17, 2020 @ 11:47:07
Author: bgyorgy
Revision: 600154
archrelease: copy trunk to multilib-x86_64
Added:
lib32-libindicator/repos/multilib-x86_64/PKGBUILD
(from rev 600153, lib32-libindicator/trunk/PKGBUILD)
Deleted:
lib32-libindicator/repos/multilib-x86_64/PKGBUILD
----------+
PKGBUILD | 173 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 83 insertions(+), 90 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-17 11:47:04 UTC (rev 600153)
+++ PKGBUILD 2020-03-17 11:47:07 UTC (rev 600154)
@@ -1,90 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Manuel Hüsers <manuel.huesers at uni-ol.de>
-# Contributor: FadeMind <fademind at gmail.com>
-# Contributor: Jameson Pugh <imntreal at gmail.com>
-
-_pkgbase=libindicator
-pkgbase=lib32-${_pkgbase}
-pkgname=("${pkgbase}-gtk"{2,3})
-pkgver=12.10.1
-pkgrel=7
-pkgdesc='Set of symbols and convenience functions for Ayatana indicators (32-bit)'
-url='https://launchpad.net/libindicator'
-arch=('x86_64')
-license=('GPL3')
-makedepends=("lib32-gtk"{2,3} 'python')
-source=(https://launchpad.net/${_pkgbase}/${pkgver%.*}/${pkgver}/+download/${_pkgbase}-${pkgver}.tar.gz{,.asc})
-sha512sums=('d6d77d0309b15cf6b52539323920ab0c1594cb1c1cef8a8d67cd0f76f8ceeeac28eb6db6227563df1932e6f1fadcffac68d82982182b745257dfaf91f1c945af'
- 'SKIP')
-validpgpkeys=('6FC05581A37D71FCECE165DB5BE41E162CD6358E') # Charles Kerr <charles.kerr at canonical.com>
-
-prepare() {
- (cd ${_pkgbase}-${pkgver}
- sed '/-Werror/s/$/ -Wno-deprecated-declarations/' -i ${_pkgbase}/Makefile.{am,in}
- sed 's/LIBINDICATOR_LIBS+="$LIBM"/LIBINDICATOR_LIBS+=" $LIBM"/g' -i configure
- sed 's/LIBM="-lmw"/LIBM=" -lmw"/g' -i configure
- sed 's/LIBM="-lm"/LIBM=" -lm"/g' -i configure
- sed 's/LIBS="-lm $LIBS"/LIBS=" -lm $LIBS"/g' -i configure
- sed 's/LIBS="-lmw $LIBS"/LIBS=" -lmw $LIBS"/g' -i configure
- sed 's/LIBM="-lm"/LIBM=" -lm"/g' -i m4/libtool.m4
- )
- cp -ra ${_pkgbase}-${pkgver}{,-gtk2}
-}
-
-build() {
- export CC='gcc -m32'
- export CXX='g++ -m32'
- export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
-
- msg2 "Building gtk3..."
- (cd ${_pkgbase}-${pkgver}
- ./configure \
- --prefix=/usr \
- --localstatedir=/var \
- --libexecdir=/usr/lib32/libindicator \
- --libdir=/usr/lib32 \
- --sysconfdir=/etc \
- --with-gtk=3 \
- --disable-static \
- --disable-tests
- make
- )
-
- msg2 "Building gtk2..."
- (cd ${_pkgbase}-${pkgver}-gtk2
- ./configure \
- --prefix=/usr \
- --localstatedir=/var \
- --libexecdir=/usr/lib32/libindicator \
- --libdir=/usr/lib32 \
- --sysconfdir=/etc \
- --with-gtk=2 \
- --disable-static \
- --disable-tests
- make
- )
-}
-
-package_lib32-libindicator-gtk2() {
- pkgdesc+=" (GTK+ 2 library)"
- depends=("${_pkgbase}-gtk2" 'lib32-gtk2')
- provides=("${pkgbase}")
- conflicts=("${pkgbase}")
-
- cd ${_pkgbase}-${pkgver}-gtk2
- make -j1 DESTDIR="${pkgdir}" install
- rm -rf "${pkgdir}"/usr/{include,share,bin}
-}
-
-package_lib32-libindicator-gtk3() {
- pkgdesc+=" (GTK+ 3 library)"
- depends=("${_pkgbase}-gtk3" 'lib32-gtk3')
- provides=("${pkgbase}3")
- conflicts=("${pkgbase}3")
-
- cd ${_pkgbase}-${pkgver}
- make -j1 DESTDIR="${pkgdir}" install
- rm -rf "${pkgdir}"/usr/{include,share,bin}
-}
-
-# vim: ts=2 sw=2 et:
Copied: lib32-libindicator/repos/multilib-x86_64/PKGBUILD (from rev 600153, lib32-libindicator/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-17 11:47:07 UTC (rev 600154)
@@ -0,0 +1,83 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Manuel Hüsers <manuel.huesers at uni-ol.de>
+# Contributor: FadeMind <fademind at gmail.com>
+# Contributor: Jameson Pugh <imntreal at gmail.com>
+
+_pkgbase=libindicator
+pkgbase=lib32-${_pkgbase}
+pkgname=("${pkgbase}-gtk"{2,3})
+pkgver=12.10.1
+pkgrel=8
+pkgdesc='Set of symbols and convenience functions for Ayatana indicators (32-bit)'
+url='https://launchpad.net/libindicator'
+arch=('x86_64')
+license=('GPL3')
+makedepends=("lib32-gtk"{2,3} 'python')
+source=(https://launchpad.net/${_pkgbase}/${pkgver%.*}/${pkgver}/+download/${_pkgbase}-${pkgver}.tar.gz{,.asc})
+sha512sums=('d6d77d0309b15cf6b52539323920ab0c1594cb1c1cef8a8d67cd0f76f8ceeeac28eb6db6227563df1932e6f1fadcffac68d82982182b745257dfaf91f1c945af'
+ 'SKIP')
+validpgpkeys=('6FC05581A37D71FCECE165DB5BE41E162CD6358E') # Charles Kerr <charles.kerr at canonical.com>
+
+prepare() {
+ (cd ${_pkgbase}-${pkgver}
+ sed -i 's/-Werror//' {libindicator,tools}/Makefile.am
+ autoreconf -fi
+ )
+ cp -ra ${_pkgbase}-${pkgver}{,-gtk2}
+}
+
+build() {
+ export CC='gcc -m32'
+ export CXX='g++ -m32'
+ export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+ msg2 "Building gtk3..."
+ (cd ${_pkgbase}-${pkgver}
+ ./configure \
+ --prefix=/usr \
+ --localstatedir=/var \
+ --libexecdir=/usr/lib32/libindicator \
+ --libdir=/usr/lib32 \
+ --sysconfdir=/etc \
+ --with-gtk=3 \
+ --disable-static \
+ --disable-tests
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+ )
+
+ msg2 "Building gtk2..."
+ (cd ${_pkgbase}-${pkgver}-gtk2
+ ./configure \
+ --prefix=/usr \
+ --localstatedir=/var \
+ --libexecdir=/usr/lib32/libindicator \
+ --libdir=/usr/lib32 \
+ --sysconfdir=/etc \
+ --with-gtk=2 \
+ --disable-static \
+ --disable-tests
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+ )
+}
+
+package_lib32-libindicator-gtk2() {
+ pkgdesc+=" (GTK+ 2 library)"
+ depends=("${_pkgbase}-gtk2" 'lib32-gtk2')
+
+ cd ${_pkgbase}-${pkgver}-gtk2
+ make DESTDIR="${pkgdir}" install
+ rm -rf "${pkgdir}"/usr/{include,share,bin}
+}
+
+package_lib32-libindicator-gtk3() {
+ pkgdesc+=" (GTK+ 3 library)"
+ depends=("${_pkgbase}-gtk3" 'lib32-gtk3')
+
+ cd ${_pkgbase}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+ rm -rf "${pkgdir}"/usr/{include,share,bin}
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list