# HG changeset patch # User Hans-G?nter Theisgen # Date 1658304528 -3600 # Node ID 1a9283039d380797bd47a0c8aa37bb9a47952f16 # Parent 5d3da6d7eabc7c4ee204ae2385af58576304b2fe updated shared-mime-info and shared-mime-info-dev (1.15 -> 2.2) diff -r 5d3da6d7eabc -r 1a9283039d38 shared-mime-info-dev/receipt --- a/shared-mime-info-dev/receipt Wed Jul 20 08:51:56 2022 +0100 +++ b/shared-mime-info-dev/receipt Wed Jul 20 09:08:48 2022 +0100 @@ -1,14 +1,14 @@ # SliTaz package receipt. PACKAGE="shared-mime-info-dev" -VERSION="1.15" +VERSION="2.2" CATEGORY="development" SHORT_DESC="Freedesktop shared-mime-info - development files." MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" WEB_SITE="https://freedesktop.org/wiki/Software/shared-mime-info" -DEPENDS="shared-mime-info pkg-config" +DEPENDS="pkg-config shared-mime-info" WANTED="shared-mime-info" HOST_ARCH="i486 arm" @@ -16,6 +16,5 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $install/usr/share/pkgconfig $fs/usr/lib + cook_copy_folders pkgconfig } diff -r 5d3da6d7eabc -r 1a9283039d38 shared-mime-info-lang/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/shared-mime-info-lang/receipt Wed Jul 20 09:08:48 2022 +0100 @@ -0,0 +1,18 @@ +# SliTaz package receipt. + +PACKAGE="shared-mime-info-lang" +VERSION="2.2" +CATEGORY="localization" +SHORT_DESC="Freedesktop shared-mime-info - localised messages." +MAINTAINER="maintainer@slitaz.org" +LICENSE="GPL2" +WEB_SITE="https://freedesktop.org/wiki/Software/shared-mime-info" + +WANTED="shared-mime-info" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cook_copy_folders locale +} + diff -r 5d3da6d7eabc -r 1a9283039d38 shared-mime-info/receipt --- a/shared-mime-info/receipt Wed Jul 20 08:51:56 2022 +0100 +++ b/shared-mime-info/receipt Wed Jul 20 09:08:48 2022 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="shared-mime-info" -VERSION="1.15" +VERSION="2.2" CATEGORY="system-tools" SHORT_DESC="Core database of common types and the *update-mime-database*." MAINTAINER="pankso@slitaz.org" @@ -9,10 +9,11 @@ WEB_SITE="https://freedesktop.org/wiki/Software/shared-mime-info" TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="https://github.com/freedesktop/xdg-$PACKAGE/archive/Release-${VERSION/./-}.tar.gz" +WGET_URL="https://gitlab.freedesktop.org/xdg/$PACKAGE/-/archive/$VERSION/$TARBALL" +SUGGESTED="shared-mime-info-lang" DEPENDS="glib" -BUILD_DEPENDS="autoconf automake bash intltool itstool" +BUILD_DEPENDS="intltool itstool meson" HOST_ARCH="i486 arm" @@ -30,15 +31,10 @@ # Rules to configure and make the package. compile_rules() { - #patch -Np1 -i $stuff/pbm.patch - - # remove #!/bin/sh from autogen.sh, since bash is required: - sed -i '1d' ./autogen.sh - - bash -c ./autogen.sh && - ./configure $CONFIGURE_ARGS && - make -j1 && - make -j1 DESTDIR=$DESTDIR install + meson _build \ + --prefix=/usr && + ninja -C _build && + ninja -C _build install } # Rules to gen a SliTaz package suitable for Tazpkg.