wok-next view libindicator-gtk3/receipt @ rev 20871

fossil: up (2.6) / fix build; sqlite3: up (3.24.0), drop providing "sqlite[^3]*"; add staticperl
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jul 02 22:39:08 2018 +0300 (2018-07-02)
parents 25deb7c6df08
children f48456621a9d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libindicator-gtk3"
4 VERSION="12.10.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Set of symbols and convenience functions for Ayatana indicators (GTK+3)"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://launchpad.net/libindicator"
11 TARBALL="libindicator-$VERSION.tar.gz"
12 WGET_URL="https://launchpad.net/libindicator/${VERSION%.*}/$VERSION/+download/$TARBALL"
14 BUILD_DEPENDS="gtk+3-dev glib-dev automake libtool"
15 SPLIT="libindicator-gtk3-dev"
16 SIBLINGS="libindicator-gtk2"
18 compile_rules() {
19 sed -i 's|\$LIBM| &|; /AM_SILENT_RULES/s|\]$||' configure.ac
20 sed -i '/-Werror/ s|$| -Wno-deprecated-declarations|' -i \
21 libindicator/Makefile.am libindicator/Makefile.in
22 autoreconf -fi &&
24 ./configure \
25 --libexecdir=/usr/lib/libindicator \
26 --with-gtk=3 \
27 --disable-static \
28 --disable-tests \
29 $CONFIGURE_ARGS &&
30 fix libtool &&
31 make &&
32 make install
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 libindicator-gtk3)
38 copy @std
39 rm -r $fs/usr/share
40 DEPENDS="gdk-pixbuf glib gtk+3"
41 ;;
42 *-dev)
43 copy @dev 80indicator-debugging
44 DEPENDS="libindicator-gtk3 gtk+3-dev"
45 ;;
46 esac
47 }