wok-current annotate libnotify-gtk3/receipt @ rev 25601
use gcc49-lib-base for openldap-dev
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Sep 01 12:04:33 2023 +0000 (16 months ago) |
parents | 870e1ce31226 |
children |
rev | line source |
---|---|
al@14237 | 1 # SliTaz package receipt. |
al@14237 | 2 |
al@14237 | 3 PACKAGE="libnotify-gtk3" |
Hans-G?nter@24816 | 4 VERSION="0.7.9" |
al@14237 | 5 CATEGORY="utilities" |
Hans-G?nter@24816 | 6 TAGS="gtk3" |
Hans-G?nter@24816 | 7 SHORT_DESC="Notification library (GTK+3)." |
al@14237 | 8 MAINTAINER="al.bobylev@gmail.com" |
pascal@14714 | 9 LICENSE="LGPL2.1" |
pascal@25289 | 10 WEB_SITE="https://gitlab.gnome.org/GNOME/libnotify" |
Hans-G?nter@24816 | 11 |
al@14237 | 12 SOURCE="libnotify" |
al@14237 | 13 TARBALL="$SOURCE-$VERSION.tar.xz" |
Hans-G?nter@24816 | 14 WGET_URL="$GNOME_MIRROR/$SOURCE/${VERSION%.*}/$TARBALL" |
al@14237 | 15 |
Hans-G?nter@24816 | 16 PROVIDE="libnotify" |
Hans-G?nter@24816 | 17 DEPENDS="dbus gdk-pixbuf gobject-introspection" |
Hans-G?nter@24816 | 18 BUILD_DEPENDS="dbus-dev glib-dev gobject-introspection-dev gtk+3-dev |
Hans-G?nter@24816 | 19 libxml2-dev meson" |
al@14237 | 20 |
pascal@24111 | 21 current_version() |
pascal@24111 | 22 { |
pascal@24111 | 23 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24111 | 24 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24111 | 25 } |
pascal@24111 | 26 |
al@14237 | 27 # Rules to configure and make the package. |
al@14237 | 28 compile_rules() |
al@14237 | 29 { |
Hans-G?nter@24816 | 30 meson _build \ |
Hans-G?nter@24816 | 31 -D gtk_doc=false \ |
Hans-G?nter@24816 | 32 -D docbook_docs=disabled \ |
Hans-G?nter@24816 | 33 -D introspection=enabled \ |
Hans-G?nter@24816 | 34 -D man=false \ |
Hans-G?nter@24816 | 35 --prefix=/usr && |
Hans-G?nter@24816 | 36 ninja -C _build && |
Hans-G?nter@24816 | 37 ninja -C _build install |
al@14237 | 38 } |
al@14237 | 39 |
al@14237 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14237 | 41 genpkg_rules() |
al@14237 | 42 { |
Hans-G?nter@24816 | 43 cook_copy_folders bin |
Hans-G?nter@24816 | 44 cook_copy_files *.so* |
al@14237 | 45 } |