wok-6.x view libnotify-gtk3/receipt @ rev 25266
gdk-pixbuf: added dependency libjpeg
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 13:56:48 2022 +0100 (2022-07-15) |
parents | 21a4d655af02 |
children | 083af5061d39 |
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="http://www.galago-project.org/"
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 }