wok diff libnotify-gtk3/receipt @ rev 24891

lynx: use ncursesw (tanks ceel)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 07 07:20:18 2022 +0000 (2022-04-07)
parents 6831608a1b2a
children 870e1ce31226
line diff
     1.1 --- a/libnotify-gtk3/receipt	Tue Sep 28 17:26:43 2021 +0000
     1.2 +++ b/libnotify-gtk3/receipt	Thu Apr 07 07:20:18 2022 +0000
     1.3 @@ -1,21 +1,22 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libnotify-gtk3"
     1.7 -VERSION="0.7.6"
     1.8 +VERSION="0.7.9"
     1.9  CATEGORY="utilities"
    1.10 -SHORT_DESC="Sends desktop notifications to a notification daemon (GTK+3)"
    1.11 +TAGS="gtk3"
    1.12 +SHORT_DESC="Notification library (GTK+3)."
    1.13  MAINTAINER="al.bobylev@gmail.com"
    1.14  LICENSE="LGPL2.1"
    1.15 +WEB_SITE="https://developer-next.gnome.org/libnotify/"
    1.16 +
    1.17  SOURCE="libnotify"
    1.18  TARBALL="$SOURCE-$VERSION.tar.xz"
    1.19 -WEB_SITE="https://web.archive.org/web/20160322142309/https://developer-next.gnome.org/libnotify/"
    1.20 -SERIES=$(echo $VERSION | cut -d. -f1,2)
    1.21 -WGET_URL="$GNOME_MIRROR/$SOURCE/$SERIES/$TARBALL"
    1.22 -TAGS="gtk3"
    1.23 +WGET_URL="$GNOME_MIRROR/$SOURCE/${VERSION%.*}/$TARBALL"
    1.24  
    1.25 -DEPENDS="gdk-pixbuf dbus"
    1.26 -BUILD_DEPENDS="gtk+3-dev gobject-introspection-dev glib-dev libxml2-dev \
    1.27 -dbus-dev"
    1.28 +PROVIDE="libnotify"
    1.29 +DEPENDS="dbus gdk-pixbuf gobject-introspection"
    1.30 +BUILD_DEPENDS="dbus-dev glib-dev gobject-introspection-dev gtk+3-dev
    1.31 +	libxml2-dev meson"
    1.32  
    1.33  current_version()
    1.34  {
    1.35 @@ -26,19 +27,19 @@
    1.36  # Rules to configure and make the package.
    1.37  compile_rules()
    1.38  {
    1.39 -	./configure \
    1.40 -		--disable-static \
    1.41 -		--enable-introspection \
    1.42 -		--disable-gtk-doc \
    1.43 -		$CONFIGURE_ARGS &&
    1.44 -	make &&
    1.45 -	make DESTDIR=$install install
    1.46 +	meson	_build				\
    1.47 +		-D gtk_doc=false		\
    1.48 +		-D docbook_docs=disabled	\
    1.49 +		-D introspection=enabled	\
    1.50 +		-D man=false			\
    1.51 +		--prefix=/usr &&
    1.52 +	ninja	-C _build &&
    1.53 +	ninja	-C _build install
    1.54  }
    1.55  
    1.56  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.57  genpkg_rules()
    1.58  {
    1.59 -	mkdir -p $fs/usr/lib
    1.60 -	cp -a $install/usr/bin $fs/usr
    1.61 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.62 +	cook_copy_folders	bin
    1.63 +	cook_copy_files		*.so*
    1.64  }