# Description: Set of symbols and convenience functions for Ayatana indicators (GTK+ 2 library) # URL: https://launchpad.net/libindicator # Maintainer: Tim Biermann, tbier at posteo dot de # Depends on: gnome-common gtk xorg-libxdamage name=libindicator-gtk2 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 NOCONFIGURE=1 ./autogen.sh CFLAGS+=" -Wno-deprecated -Wno-deprecated-declarations -fPIC" \ CXXFLAGS+=" -Wno-deprecated -Wno-deprecated-declarations -fPIC" \ ./configure \ --prefix=/usr \ --libexecdir=/usr/lib/libindicator \ --sysconfdir=/etc \ --disable-static \ --with-gtk=2 make -j1 make -j1 DESTDIR=$PKG install }