wok-next view libappindicator-gtk2/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 757d032c55c7 |
children | df20b2110f7e |
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"
11 TARBALL="libappindicator-$VERSION.tar.gz"
12 WGET_URL="https://launchpad.net/libappindicator/${VERSION%.*}/$VERSION/+download/$TARBALL"
14 BUILD_DEPENDS="glib-dev gtk-doc gtk+-dev libindicator-gtk2-dev \
15 libdbusmenu-gtk2-dev dbus-glib-dev gobject-introspection-dev vala python-dev \
16 pygtk-dev pygobject-dev gtk+3-dev libindicator-gtk3-dev libdbusmenu-gtk3-dev"
17 SPLIT="libappindicator-gtk2 libappindicator-gtk2-python \
18 libappindicator-gtk2-dev libappindicator-gtk3:3 libappindicator-gtk3-dev:3"
20 compile_rules() {
21 case $SET in
22 '') SET_ARGS='--with-gtk=2';;
23 3) SET_ARGS='--with-gtk=3';;
24 esac
26 sed -i 's|example ||g' Makefile.in
27 export CFLAGS="$CFLAGS -Wno-deprecated-declarations"
28 ./configure \
29 $SET_ARGS \
30 $CONFIGURE_ARGS &&
31 fix libtool &&
32 make &&
33 make -j1 install
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 libappindicator-gtk2)
39 copy libappindicator.so*
40 CAT="x-window|GTK+2"
41 DEPENDS="glib gtk+ libdbusmenu-gtk2 libindicator-gtk2"
42 ;;
43 libappindicator-gtk2-python)
44 copy @std @rm
45 DEPENDS="libappindicator-gtk2 python"
46 CAT="python|GTK+2 Python bindings"
47 ;;
48 libappindicator-gtk2-dev)
49 copy @dev
50 DEPENDS="libappindicator-gtk2 libappindicator-gtk2-python \
51 gtk+-dev libdbusmenu-gtk2-dev"
52 ;;
54 libappindicator-gtk3)
55 copy @std
56 CAT="x-window|GTK+3"
57 DEPENDS="glib gtk+3 libdbusmenu-gtk3 libindicator-gtk3"
58 ;;
59 libappindicator-gtk3-dev)
60 copy @dev
61 DEPENDS="libappindicator-gtk3 \
62 gtk+3-dev libdbusmenu-gtk3-dev"
63 ;;
64 esac
65 }