wok-next annotate libnotify/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 014a4f35b014
children d5aab818505e
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@21017 14 BUILD_DEPENDS="gdk-pixbuf-dev glib-dev gtk2-dev gobject-introspection-dev \
al@19691 15 gtk-doc xmlto"
al@19804 16 SPLIT="libnotify-dev"
pascal@14714 17
al@20443 18 compile_rules() {
devl547@17594 19 sed -e 's/REQ_GTK_VERSION=2.90/REQ_GTK_VERSION=2.24/' \
devl547@17594 20 -e 's/tests_modules="gtk+-3.0 >= $REQ_GTK_VERSION"/tests_modules="gtk+-2.0 >= $REQ_GTK_VERSION"/' \
devl547@17594 21 -i configure
al@19691 22
al@20595 23 ./configure $CONFIGURE_ARGS &&
al@20595 24 fix libtool &&
al@20595 25 make &&
al@20595 26 make install
erjo@1987 27 }
erjo@1987 28
al@20443 29 genpkg_rules() {
al@19804 30 case $PACKAGE in
al@19804 31 libnotify)
al@20700 32 copy @std
al@20700 33 DEPENDS="gdk-pixbuf glib"
al@19804 34 ;;
al@19804 35 *-dev)
al@19804 36 copy @dev
al@20700 37 DEPENDS="libnotify gdk-pixbuf-dev glib-dev"
al@19804 38 ;;
al@19804 39 esac
erjo@1987 40 }