wok-next annotate libindicator-gtk3/receipt @ rev 20200
libgnomeprint: add bison 3 patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 03 17:38:15 2017 +0100 (2017-11-03) |
parents | |
children | 757d032c55c7 |
rev | line source |
---|---|
al@20095 | 1 # SliTaz package receipt v2. |
al@20095 | 2 |
al@20095 | 3 PACKAGE="libindicator-gtk3" |
al@20095 | 4 VERSION="12.10.1" |
al@20095 | 5 CATEGORY="x-window" |
al@20095 | 6 SHORT_DESC="Set of symbols and convenience functions for Ayatana indicators (GTK+3)" |
al@20095 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20095 | 8 LICENSE="GPL3" |
al@20095 | 9 WEB_SITE="https://launchpad.net/libindicator" |
al@20095 | 10 |
al@20095 | 11 TARBALL="libindicator-$VERSION.tar.gz" |
al@20095 | 12 WGET_URL="https://launchpad.net/libindicator/${VERSION%.*}/$VERSION/+download/$TARBALL" |
al@20095 | 13 |
al@20095 | 14 BUILD_DEPENDS="gtk+3-dev glib-dev automake libtool" |
al@20095 | 15 SPLIT="libindicator-gtk3-dev" |
al@20095 | 16 SIBLINGS="libindicator-gtk2" |
al@20095 | 17 |
al@20095 | 18 compile_rules() { |
al@20095 | 19 sed -i 's|\$LIBM| &|; /AM_SILENT_RULES/s|\]$||' configure.ac |
al@20095 | 20 sed -i '/-Werror/ s|$| -Wno-deprecated-declarations|' -i \ |
al@20095 | 21 libindicator/Makefile.am libindicator/Makefile.in |
al@20095 | 22 autoreconf -fi && |
al@20095 | 23 |
al@20095 | 24 ./configure \ |
al@20095 | 25 --sysconfdir=/etc \ |
al@20095 | 26 --localstatedir=/var \ |
al@20095 | 27 --libexecdir=/usr/lib/libindicator \ |
al@20095 | 28 --with-gtk=3 \ |
al@20095 | 29 --disable-static \ |
al@20095 | 30 --disable-tests \ |
al@20095 | 31 $CONFIGURE_ARGS && |
al@20095 | 32 make && |
al@20095 | 33 make install |
al@20095 | 34 } |
al@20095 | 35 |
al@20095 | 36 genpkg_rules() { |
al@20095 | 37 case $PACKAGE in |
al@20095 | 38 libindicator-gtk3) |
al@20095 | 39 copy @std |
al@20095 | 40 rm -r $fs/usr/share |
al@20095 | 41 DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+3 \ |
al@20095 | 42 libffi libharfbuzz liblzma libpng16 libxml2 pango pcre \ |
al@20095 | 43 util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \ |
al@20095 | 44 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \ |
al@20095 | 45 xorg-pixman zlib" |
al@20095 | 46 ;; |
al@20095 | 47 *-dev) |
al@20095 | 48 copy @dev 80indicator-debugging |
al@20095 | 49 DEPENDS="libindicator-gtk3 atk-dev bzip2-dev cairo-dev \ |
al@20095 | 50 fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev gtk+3-dev \ |
al@20095 | 51 harfbuzz-dev libffi-dev libpng16-dev libxml2-dev pango-dev \ |
al@20095 | 52 pcre-dev util-linux-blkid-dev util-linux-mount-dev \ |
al@20095 | 53 util-linux-uuid-dev xorg-libX11-dev xorg-libXau-dev \ |
al@20095 | 54 xorg-libXdmcp-dev xorg-libXext-dev xorg-libXrender-dev \ |
al@20095 | 55 xorg-libxcb-dev xorg-pixman-dev xz-dev zlib" |
al@20095 | 56 ;; |
al@20095 | 57 esac |
al@20095 | 58 } |