wok rev 21906

updated shared-mime-info and shared-mime-info-dev (1.6 -> 1.14)
author Hans-G?nter Theisgen
date Fri Oct 04 14:42:51 2019 +0100 (2019-10-04)
parents e11cda27276f
children ab2c10a2e76a
files shared-mime-info-dev/receipt shared-mime-info/receipt
line diff
     1.1 --- a/shared-mime-info-dev/receipt	Fri Oct 04 14:02:46 2019 +0100
     1.2 +++ b/shared-mime-info-dev/receipt	Fri Oct 04 14:42:51 2019 +0100
     1.3 @@ -1,17 +1,18 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="shared-mime-info-dev"
     1.7 -VERSION="1.6"
     1.8 +VERSION="1.14"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Freedesktop shared-mime-info devel files."
    1.11 +SHORT_DESC="Freedesktop shared-mime-info - development files."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://freedesktop.org/wiki/Software/shared-mime-info"
    1.15 +
    1.16  WANTED="shared-mime-info"
    1.17 -WEB_SITE="http://freedesktop.org/wiki/Software/shared-mime-info"
    1.18 +DEPENDS="shared-mime-info pkg-config"
    1.19 +
    1.20  HOST_ARCH="i486 arm"
    1.21  
    1.22 -DEPENDS="shared-mime-info pkg-config"
    1.23 -
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.25  genpkg_rules()
    1.26  {
     2.1 --- a/shared-mime-info/receipt	Fri Oct 04 14:02:46 2019 +0100
     2.2 +++ b/shared-mime-info/receipt	Fri Oct 04 14:42:51 2019 +0100
     2.3 @@ -1,18 +1,19 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="shared-mime-info"
     2.7 -VERSION="1.6"
     2.8 +VERSION="1.14"
     2.9  CATEGORY="system-tools"
    2.10  SHORT_DESC="Core database of common types and the *update-mime-database*."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12  LICENSE="GPL2"
    2.13 -TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.14 -WEB_SITE="http://freedesktop.org/wiki/Software/shared-mime-info"
    2.15 -WGET_URL="http://freedesktop.org/~hadess/$TARBALL"
    2.16 +WEB_SITE="https://freedesktop.org/wiki/Software/shared-mime-info"
    2.17 +
    2.18 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.19 +WGET_URL="https://github.com/xdg-$PACKAGE/archive/Release-${VERSION/./-}.tar.gz"
    2.20  HOST_ARCH="i486 arm"
    2.21  
    2.22  DEPENDS="glib"
    2.23 -BUILD_DEPENDS="intltool"
    2.24 +BUILD_DEPENDS="bash intltool itstool"
    2.25  
    2.26  # Handle cross compilation. Host perl/intltool are used
    2.27  case "$ARCH" in
    2.28 @@ -23,17 +24,22 @@
    2.29  compile_rules()
    2.30  {
    2.31  	#patch -Np1 -i $stuff/pbm.patch
    2.32 +
    2.33 +	sed -i '1d' ./autogen.sh &&
    2.34 +	bash -c ./autogen.sh &&
    2.35  	./configure $CONFIGURE_ARGS &&
    2.36 -	make -j1 && make -j1 DESTDIR=$DESTDIR install
    2.37 +	make -j1 &&
    2.38 +	make -j1 DESTDIR=$DESTDIR install
    2.39  }
    2.40  
    2.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.42  genpkg_rules()
    2.43  {
    2.44  	mkdir -p $fs/usr/share/mime
    2.45 -	cp -a $install/usr/bin $fs/usr
    2.46 -	cp -a $install/usr/share/mime/packages $fs/usr/share/mime
    2.47 +
    2.48 +	cp -a $install/usr/bin			$fs/usr
    2.49 +	cp -a $install/usr/share/mime/packages	$fs/usr/share/mime
    2.50  
    2.51  	# Additional MIME-types supported by SliTaz
    2.52 -	cp $stuff/*.xml $fs/usr/share/mime/packages
    2.53 +	cp $stuff/*.xml				$fs/usr/share/mime/packages
    2.54  }