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

system-tools-backends: provide dev package; liboobs: use that package
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed May 30 16:54:11 2018 +0300 (2018-05-30)
parents 757d032c55c7
children 342b30daff76
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="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+3 \
41 libffi libharfbuzz liblzma libpng16 libxml2 pango pcre \
42 util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \
43 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \
44 xorg-pixman zlib"
45 ;;
46 *-dev)
47 copy @dev 80indicator-debugging
48 DEPENDS="libindicator-gtk3 atk-dev bzip2-dev cairo-dev \
49 fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev gtk+3-dev \
50 harfbuzz-dev libffi-dev libpng16-dev libxml2-dev pango-dev \
51 pcre-dev util-linux-blkid-dev util-linux-mount-dev \
52 util-linux-uuid-dev xorg-libX11-dev xorg-libXau-dev \
53 xorg-libXdmcp-dev xorg-libXext-dev xorg-libXrender-dev \
54 xorg-libxcb-dev xorg-pixman-dev xz-dev zlib"
55 ;;
56 esac
57 }