wok-next view libindicator-gtk2/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | ccb92f8ccaf6 |
children | 342b30daff76 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libindicator-gtk2"
4 VERSION="12.10.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Set of symbols and convenience functions for Ayatana indicators (GTK+2)"
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+-dev glib-dev automake libtool"
15 SPLIT="libindicator-gtk2-dev"
16 SIBLINGS="libindicator-gtk3"
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=2 \
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-gtk2)
38 copy @std
39 rm -r $fs/usr/share
40 DEPENDS="atk-dev bzlib cairo-dev fontconfig-dev freetype-dev \
41 gdk-pixbuf-dev glib-dev gtk+-dev harfbuzz-dev libffi-dev \
42 libpng16-dev libxml2-dev pango-dev pcre-dev util-linux-blkid-dev \
43 util-linux-mount-dev util-linux-uuid-dev xorg-libX11-dev \
44 xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
45 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib"
46 ;;
47 *-dev)
48 copy @dev 80indicator-debugging
49 DEPENDS="libindicator-gtk2 atk-dev bzip2-dev cairo-dev \
50 fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev gtk+-dev \
51 harfbuzz-dev libffi-dev libpng16-dev libxml2-dev pango-dev \
52 pcre-dev util-linux-blkid-dev util-linux-mount-dev \
53 util-linux-uuid-dev xorg-libX11-dev xorg-libXau-dev \
54 xorg-libXdmcp-dev xorg-libXext-dev xorg-libXrender-dev \
55 xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
56 ;;
57 esac
58 }