summaryrefslogtreecommitdiff
path: root/libindicator-gtk3/Pkgfile
blob: 4c38b03e6d53d3632be03e05fb4da5af7076d65b (plain)
    1 # Description: Set of symbols and convenience functions for Ayatana indicators (GTK+ 3 library)
    2 # URL: https://launchpad.net/libindicator
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: libido3 gnome-common
    5 
    6 name=libindicator-gtk3
    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     --sysconfdir=/etc \
   21     --libexecdir=/usr/lib/libindicator \
   22     --disable-static \
   23     --with-gtk=3
   24   make -j1
   25   make -j1 DESTDIR=$PKG install
   26   rm -fr $PKG/usr/lib/libdummy*
   27 }

Generated by cgit