wok-current diff json-glib/receipt @ rev 25701

Fix dep for libglamoregl.so (libepoxy), and miss file for amdgpu (thanks alanyih)
author Stanislas Leduc <shann@slitaz.org>
date Fri Apr 19 12:48:51 2024 +0000 (2 months ago)
parents b77195a00671
children
line diff
     1.1 --- a/json-glib/receipt	Wed Sep 29 08:44:59 2021 +0000
     1.2 +++ b/json-glib/receipt	Fri Apr 19 12:48:51 2024 +0000
     1.3 @@ -1,18 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="json-glib"
     1.7 -VERSION="0.14.2"
     1.8 +VERSION="1.6.6"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="JSON-GLib is a library providing serialization and deserialization support for the JavaScript Object Notation"
    1.11  MAINTAINER="mallory@sweetpeople.org"
    1.12  LICENSE="LGPL2.1"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.15  WEB_SITE="http://live.gnome.org/JsonGlib"
    1.16  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.17  TAGS="javascript"
    1.18  
    1.19  DEPENDS="libgio glib"
    1.20 -BUILD_DEPENDS="pkg-config gobject-introspection-dev libgio-dev glib-dev"
    1.21 +BUILD_DEPENDS="pkg-config gobject-introspection-dev \
    1.22 +libgio-dev glib-dev meson"
    1.23  
    1.24  current_version()
    1.25  {
    1.26 @@ -23,9 +24,14 @@
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	cd $src
    1.31 -	./configure $CONFIGURE_ARGS &&
    1.32 -	make && make install
    1.33 +        meson build \
    1.34 +            --prefix=/usr \
    1.35 +            --libdir=lib \
    1.36 +            --bindir=/usr/bin \
    1.37 +            --sbindir=/usr/sbin \
    1.38 +            --buildtype=release &&
    1.39 +        ninja -C build &&
    1.40 +        ninja -C build install
    1.41  }
    1.42  
    1.43  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.44 @@ -35,4 +41,3 @@
    1.45  	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.46  	cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
    1.47  }
    1.48 -