mirror of
https://github.com/mac-a-r0ni/crux-xfce4.git
synced 2025-02-03 11:02:21 +01:00
32 lines
822 B
Plaintext
32 lines
822 B
Plaintext
# Description: A library to allow applications to export a menu into the Unity Menu bar
|
|
# URL: https://launchpad.net/libappindicator
|
|
# Maintainer: jolupa, jlpavon at me dot com
|
|
# Depends on: gtk dbusmenu-gtk2 gobject-introspection libindicator-gtk2 pygtk vala
|
|
|
|
name=libappindicator-gtk2
|
|
rname=libappindicator
|
|
version=12.10.0
|
|
release=1
|
|
source=(https://launchpad.net/$rname/12.10/$version/+download/$rname-$version.tar.gz)
|
|
|
|
build() {
|
|
|
|
cd $rname-$version
|
|
sed -i -e 's/ -Werror//' src/Makefile.am
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
export CSC=/usr/bin/mcs
|
|
export CXXFLAGS="$CXXFLAGS -std=c++11"
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--disable-{gtk-doc-html,mono-test,static,tests} \
|
|
--with-gtk=2
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/share/gtk-doc
|
|
|
|
}
|