# HG changeset patch # User Hans-G?nter Theisgen # Date 1725349000 -3600 # Node ID 87d42064e808a7d44a9815021ed993d85d178f9e # Parent 5eb336f808694836ad7176f47687949a92b29b84 updated json-glib and json-glib-dev (0.14.2 -> 0.16.2) diff -r 5eb336f80869 -r 87d42064e808 json-glib-dev/receipt --- a/json-glib-dev/receipt Sun Sep 01 15:32:54 2024 +0100 +++ b/json-glib-dev/receipt Tue Sep 03 08:36:40 2024 +0100 @@ -1,23 +1,19 @@ # SliTaz package receipt. PACKAGE="json-glib-dev" -VERSION="0.14.2" +VERSION="0.16.2" CATEGORY="development" -SHORT_DESC="json-glib development files" +SHORT_DESC="json-glib - development files." MAINTAINER="mallory@sweetpeople.org" LICENSE="LGPL2.1" -WEB_SITE="http://live.gnome.org/JsonGlib" -WANTED="json-glib" +WEB_SITE="https://wiki.gnome.org/Projects/JsonGlib" DEPENDS="json-glib glib-dev pkg-config" +WANTED="json-glib" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib $fs/usr/share - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/share/gir-1.0 $fs/usr/share + get_dev_files + cook_copy_folders gir-1.0 } - diff -r 5eb336f80869 -r 87d42064e808 json-glib/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/json-glib/description.txt Tue Sep 03 08:36:40 2024 +0100 @@ -0,0 +1,6 @@ +JSON-GLib is a library providing serialization and deserialization support +for the JavaScript Object Notation (JSON) format described by RFC 4627. +JSON-GLib uses GLib native data types and the generic value container GValue +for ease of development. +It also provides integration with the GObject classes for direct +serialization into, and deserialization from, JSON data streams. diff -r 5eb336f80869 -r 87d42064e808 json-glib/receipt --- a/json-glib/receipt Sun Sep 01 15:32:54 2024 +0100 +++ b/json-glib/receipt Tue Sep 03 08:36:40 2024 +0100 @@ -1,18 +1,19 @@ # SliTaz package receipt. PACKAGE="json-glib" -VERSION="0.14.2" +VERSION="0.16.2" CATEGORY="development" +TAGS="javascript" SHORT_DESC="JSON-GLib is a library providing serialization and deserialization support for the JavaScript Object Notation" MAINTAINER="mallory@sweetpeople.org" LICENSE="LGPL2.1" -TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://live.gnome.org/JsonGlib" -WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" -TAGS="javascript" +WEB_SITE="https://wiki.gnome.org/Projects/JsonGlib" -DEPENDS="libgio glib" -BUILD_DEPENDS="pkg-config gobject-introspection-dev libgio-dev glib-dev" +TARBALL="$PACKAGE-$VERSION.tar.xz" +WGET_URL="https://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL" + +DEPENDS="glib libgio" +BUILD_DEPENDS="glib-dev gobject-introspection-dev libgio-dev pkg-config" current_version() { @@ -23,16 +24,14 @@ # Rules to configure and make the package. compile_rules() { - cd $src ./configure $CONFIGURE_ARGS && - make && make install + make && + make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib + cook_copy_folders girepository-1.0 + cook_copy_files *.so* } -