blob: 2c566398682bf8d94eaccad5c03b182eda3113ac (
plain)
1 # Description: Set of symbols and convenience functions for Ayatana indicators (GTK+ 2 library)
2 # URL: https://launchpad.net/libindicator
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: graphite2 gtk xorg-libxdamage gnome-common
5
6 name=libindicator-gtk2
7 version=16.10
8 release=1
9 source=(http://unrealize.co.uk/source/libindicator-$version.tar.gz)
10
11 build() {
12 cd libindicator-$version
13 sed -e 's/-Werror -Wno-error=deprecated-declarations//g' -i libindicator/Makefile.am
14 sed -e 's/--enable-gtk-doc//g' -i autogen.sh
15 NOCONFIGURE=1 ./autogen.sh
16 CFLAGS="-Wno-deprecated -Wno-deprecated-declarations -fPIC" \
17 CXXFLAGS="-Wno-deprecated -Wno-deprecated-declarations -fPIC" \
18 ./configure \
19 --prefix=/usr \
20 --libexecdir=/usr/lib/libindicator \
21 --sysconfdir=/etc \
22 --disable-static \
23 --with-gtk=2
24 make -j1
25 make -j1 DESTDIR=$PKG install
26 #rm -fr $PKG/usr/lib/libdummy*
27 rm -fr $PKG/usr/share/libindicator
28 }
|