2019-08-04 11:10:13 +02:00

39 lines
1011 B
Plaintext

# Description: A small little library that was created by pulling out some comon code out of indicator-applet
# URL: https://launchpad.net/libdbusmenu
# Maintainer: jolupa, jlpavon at me dot com
# Depends on: gtk3 gnome-common gobject-introspection vala
name=dbusmenu-gtk3
rname=libdbusmenu
version=16.04.0
release=1
source=(https://launchpad.net/$rname/16.04/$version/+download/$rname-$version.tar.gz)
build() {
cd $rname-$version
export HAVE_VALGRIND_TRUE='#'
export HAVE_VALGRIND_FALSE=''
./configure \
--prefix=/usr \
--libexecdir=/usr/lib/$rname \
--sysconfdir=/etc \
--disable-dumper \
--disable-static \
--disable-test \
--with-gtk=3
make
make -j1 -C libdbusmenu-glib DESTDIR=$PKG install
make -j1 -C tools DESTDIR=$PKG install
make -j1 -C tests DESTDIR=$PKG install
make -j1 -C docs/libdbusmenu-glib DESTDIR=$PKG install
make -j1 -C po DESTDIR=$PKG install
make -j1 -C libdbusmenu-gtk DESTDIR=$PKG install
rm -r $PKG/usr/share/{gtk-doc,doc}
}