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