wok-next view libappindicator-gtk2/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libappindicator-gtk2"
4 VERSION="12.10.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Allow applications to extend a menu via Ayatana indicators"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1 LGPL3"
9 WEB_SITE="https://launchpad.net/libappindicator"
10 REPOLOGY="libappindicator"
12 TARBALL="libappindicator-$VERSION.tar.gz"
13 WGET_URL="https://launchpad.net/libappindicator/${VERSION%.*}/$VERSION/+download/$TARBALL"
15 BUILD_DEPENDS="glib-dev gtk-doc gtk2-dev libindicator-gtk2-dev \
16 libdbusmenu-gtk2-dev dbus-glib-dev gobject-introspection-dev vala python-dev \
17 python-pygtk-dev python-pygobject2-dev gtk3-dev libindicator-gtk3-dev libdbusmenu-gtk3-dev"
18 SPLIT="$PACKAGE-python $PACKAGE-dev \
19 libappindicator-gtk3:3 libappindicator-gtk3-dev:3"
21 compile_rules() {
22 case $SET in
23 '') SET_ARGS='--with-gtk=2';;
24 3) SET_ARGS='--with-gtk=3';;
25 esac
27 sed -i 's|example ||g' Makefile.in
28 export CFLAGS="$CFLAGS -Wno-deprecated-declarations"
29 ./configure \
30 $SET_ARGS \
31 $CONFIGURE_ARGS &&
32 fix libtool &&
33 make &&
34 make -j1 install
35 }
37 genpkg_rules() {
38 case $PACKAGE in
39 libappindicator-gtk2)
40 copy libappindicator.so*
41 CAT="x-window|GTK+2"
42 DEPENDS="glib gtk2 libdbusmenu-gtk2 libindicator-gtk2"
43 ;;
44 libappindicator-gtk2-python)
45 copy @std @rm
46 DEPENDS="libappindicator-gtk2 python"
47 CAT="python|GTK+2 Python bindings"
48 ;;
49 libappindicator-gtk2-dev)
50 copy @dev
51 DEPENDS="libappindicator-gtk2 libappindicator-gtk2-python \
52 gtk2-dev libdbusmenu-gtk2-dev"
53 ;;
55 libappindicator-gtk3)
56 copy @std
57 CAT="x-window|GTK+3"
58 DEPENDS="glib gtk3 libdbusmenu-gtk3 libindicator-gtk3"
59 ;;
60 libappindicator-gtk3-dev)
61 copy @dev
62 DEPENDS="libappindicator-gtk3 \
63 gtk3-dev libdbusmenu-gtk3-dev"
64 ;;
65 esac
66 }