wok view libnotify-gtk3/receipt @ rev 25641

Fix miss gogglesmm app icon for menu
author Stanislas Leduc <shann@slitaz.org>
date Sun Jan 07 10:30:54 2024 +0100 (10 months ago)
parents 870e1ce31226
children ffe3a28f2096
line source
1 # SliTaz package receipt.
3 PACKAGE="libnotify-gtk3"
4 VERSION="0.7.9"
5 CATEGORY="utilities"
6 TAGS="gtk3"
7 SHORT_DESC="Notification library (GTK+3)."
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="LGPL2.1"
10 WEB_SITE="https://gitlab.gnome.org/GNOME/libnotify"
12 SOURCE="libnotify"
13 TARBALL="$SOURCE-$VERSION.tar.xz"
14 WGET_URL="$GNOME_MIRROR/$SOURCE/${VERSION%.*}/$TARBALL"
16 PROVIDE="libnotify"
17 DEPENDS="dbus gdk-pixbuf gobject-introspection"
18 BUILD_DEPENDS="dbus-dev glib-dev gobject-introspection-dev gtk+3-dev
19 libxml2-dev meson"
21 current_version()
22 {
23 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
24 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 meson _build \
31 -D gtk_doc=false \
32 -D docbook_docs=disabled \
33 -D introspection=enabled \
34 -D man=false \
35 --prefix=/usr &&
36 ninja -C _build &&
37 ninja -C _build install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cook_copy_folders bin
44 cook_copy_files *.so*
45 }