wok-next annotate libnotify/receipt @ rev 20454
Choose between libpng16 and libpng12
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 28 17:32:31 2018 +0200 (2018-02-28) |
parents | 0e7893ac206d |
children | 5841522533ec |
rev | line source |
---|---|
al@19804 | 1 # SliTaz package receipt v2. |
erjo@1987 | 2 |
erjo@1987 | 3 PACKAGE="libnotify" |
al@19804 | 4 VERSION="0.7.7" |
erjo@1987 | 5 CATEGORY="utilities" |
erjo@1987 | 6 SHORT_DESC="Notification library" |
erjo@1987 | 7 MAINTAINER="fabrice.thiroux@free.fr" |
pascal@14714 | 8 LICENSE="LGPL2.1" |
al@19691 | 9 WEB_SITE="https://developer.gnome.org/libnotify/" |
erjo@1987 | 10 |
al@19691 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19691 | 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
al@19691 | 13 |
al@19691 | 14 BUILD_DEPENDS="gdk-pixbuf-dev glib-dev gtk+-dev gobject-introspection-dev \ |
al@19691 | 15 gtk-doc xmlto" |
al@19691 | 16 BUILD_DEPENDS_arm="dbus-dev gtk+-dev dbus-glib dbus-glib-dev expat-dev" |
al@19804 | 17 SPLIT="libnotify-dev" |
pascal@14714 | 18 |
al@20443 | 19 compile_rules() { |
devl547@17594 | 20 sed -e 's/REQ_GTK_VERSION=2.90/REQ_GTK_VERSION=2.24/' \ |
devl547@17594 | 21 -e 's/tests_modules="gtk+-3.0 >= $REQ_GTK_VERSION"/tests_modules="gtk+-2.0 >= $REQ_GTK_VERSION"/' \ |
devl547@17594 | 22 -i configure |
al@19691 | 23 |
al@19804 | 24 ./configure $CONFIGURE_ARGS && make && make install |
erjo@1987 | 25 } |
erjo@1987 | 26 |
al@20443 | 27 genpkg_rules() { |
al@19804 | 28 case $PACKAGE in |
al@19804 | 29 libnotify) |
al@19804 | 30 copy @std #notify-send *.so* |
al@20454 | 31 DEPENDS="gdk-pixbuf glib libffi libpng16 pcre zlib" |
al@19804 | 32 ;; |
al@19804 | 33 *-dev) |
al@19804 | 34 copy @dev |
al@19804 | 35 DEPENDS="libnotify gdk-pixbuf-dev glib-dev glibc-dev libffi-dev \ |
al@20454 | 36 libgio-dev libpng16-dev pcre-dev zlib-dev" |
al@19804 | 37 ;; |
al@19804 | 38 esac |
erjo@1987 | 39 } |