wok-next view libnotify/receipt @ rev 20443

The rest of my "home work" for update many packages (up to Xorg, GTK and Openbox) for Next and mainly for Next64. Since this point this repository is open for commits. Many errors are expected due to harfbuzz-freetype dependency loop...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Feb 24 16:17:33 2018 +0200 (2018-02-24)
parents b2efa70e9283
children dd145c435e4b
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libnotify"
4 VERSION="0.7.7"
5 CATEGORY="utilities"
6 SHORT_DESC="Notification library"
7 MAINTAINER="fabrice.thiroux@free.fr"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://developer.gnome.org/libnotify/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="gdk-pixbuf-dev glib-dev gtk+-dev gobject-introspection-dev \
15 gtk-doc xmlto"
16 BUILD_DEPENDS_arm="dbus-dev gtk+-dev dbus-glib dbus-glib-dev expat-dev"
17 SPLIT="libnotify-dev"
19 compile_rules() {
20 sed -e 's/REQ_GTK_VERSION=2.90/REQ_GTK_VERSION=2.24/' \
21 -e 's/tests_modules="gtk+-3.0 >= $REQ_GTK_VERSION"/tests_modules="gtk+-2.0 >= $REQ_GTK_VERSION"/' \
22 -i configure
24 ./configure $CONFIGURE_ARGS && make && make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libnotify)
30 copy @std #notify-send *.so*
31 DEPENDS="gdk-pixbuf glib libffi libpng pcre zlib"
32 ;;
33 *-dev)
34 copy @dev
35 DEPENDS="libnotify gdk-pixbuf-dev glib-dev glibc-dev libffi-dev \
36 libgio-dev libpng-dev pcre-dev zlib-dev"
37 ;;
38 esac
39 }