wok-6.x diff shared-mime-info/receipt @ rev 25303

updated shared-mime-info and shared-mime-info-dev (1.15 -> 2.2)
author Hans-G?nter Theisgen
date Wed Jul 20 09:08:48 2022 +0100 (23 months ago)
parents ac8ca9758df1
children fbe88431f963
line diff
     1.1 --- a/shared-mime-info/receipt	Sat Jan 15 15:21:40 2022 +0000
     1.2 +++ b/shared-mime-info/receipt	Wed Jul 20 09:08:48 2022 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="shared-mime-info"
     1.7 -VERSION="1.15"
     1.8 +VERSION="2.2"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Core database of common types and the *update-mime-database*."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -9,10 +9,11 @@
    1.13  WEB_SITE="https://freedesktop.org/wiki/Software/shared-mime-info"
    1.14  
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WGET_URL="https://github.com/freedesktop/xdg-$PACKAGE/archive/Release-${VERSION/./-}.tar.gz"
    1.17 +WGET_URL="https://gitlab.freedesktop.org/xdg/$PACKAGE/-/archive/$VERSION/$TARBALL"
    1.18  
    1.19 +SUGGESTED="shared-mime-info-lang"
    1.20  DEPENDS="glib"
    1.21 -BUILD_DEPENDS="autoconf automake bash intltool itstool"
    1.22 +BUILD_DEPENDS="intltool itstool meson"
    1.23  
    1.24  HOST_ARCH="i486 arm"
    1.25  
    1.26 @@ -30,15 +31,10 @@
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	#patch -Np1 -i $stuff/pbm.patch
    1.31 -
    1.32 -	# remove #!/bin/sh from autogen.sh, since bash is required:
    1.33 -	sed -i '1d' ./autogen.sh
    1.34 -
    1.35 -	bash -c ./autogen.sh &&
    1.36 -	./configure $CONFIGURE_ARGS &&
    1.37 -	make -j1 &&
    1.38 -	make -j1 DESTDIR=$DESTDIR install
    1.39 +	meson	_build		\
    1.40 +		--prefix=/usr &&
    1.41 +	ninja	-C _build &&
    1.42 +	ninja	-C _build install
    1.43  }
    1.44  
    1.45  # Rules to gen a SliTaz package suitable for Tazpkg.