compat-32/libindicator-gtk2-32/Pkgfile

33 lines
1.1 KiB
Plaintext

# Description: Set of symbols and convenience functions for Ayatana indicators (GTK+ 2 library) 32bit
# URL: https://launchpad.net/libindicator
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Depends on: gtk-32 libindicator-gtk2 xorg-libxdamage-32
name=libindicator-gtk2-32
version=16.10.0
release=1
source=(http://archive.ubuntu.com/ubuntu/pool/universe/libi/libindicator/libindicator_${version}+18.04.20180321.1.orig.tar.gz)
build() {
sed -e 's/-Werror -Wno-error=deprecated-declarations//g' -i libindicator/Makefile.am
sed -e 's/--enable-gtk-doc//g' -i autogen.sh
export PKG_CONFIG_LIBDIR="/usr/lib32/pkgconfig:/usr/share/pkgconfig/"
NOCONFIGURE=1 ./autogen.sh
CFLAGS+=" -Wno-deprecated -Wno-deprecated-declarations -fPIC" \
CXXFLAGS+=" -Wno-deprecated -Wno-deprecated-declarations -fPIC" \
./configure \
--prefix=/usr \
--libdir=/usr/lib32 \
--libexecdir=/usr/lib32/libindicator2 \
--sysconfdir=/etc \
--disable-static \
--with-gtk=2
make -j1
make -j1 DESTDIR=$PKG install
rm -fr $PKG/usr/include
rm -fr $PKG/usr/share/libindicator
}