wok rev 22525

updated babl and babl-dev (0.1.24 -> 0.1.74)
author Hans-G?nter Theisgen
date Thu Jan 02 16:21:42 2020 +0100 (2020-01-02)
parents 06698973c2dd
children 2b5eab54bb44
files babl-dev/receipt babl/receipt
line diff
     1.1 --- a/babl-dev/receipt	Thu Jan 02 15:37:23 2020 +0100
     1.2 +++ b/babl-dev/receipt	Thu Jan 02 16:21:42 2020 +0100
     1.3 @@ -1,25 +1,26 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="babl-dev"
     1.7 -VERSION="0.1.24"
     1.8 +VERSION="0.1.72"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="pixel format translation library dev files."
    1.11 +SHORT_DESC="Pixel format translation library - development files."
    1.12  MAINTAINER="erjo@slitaz.org"
    1.13  LICENSE="LGPL3"
    1.14  WEB_SITE="http://gegl.org/babl/"
    1.15 -WANTED="babl"
    1.16 -HOST_ARCH="i486 arm"
    1.17  
    1.18  DEPENDS="babl pkg-config"
    1.19 +WANTED="babl"
    1.20 +
    1.21 +HOST_ARCH="i486 arm"
    1.22  
    1.23  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.24  genpkg_rules()
    1.25  {
    1.26  	mkdir -p $fs/usr/lib
    1.27 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.28 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.29 -	cp -a $install/usr/include $fs/usr
    1.30 -	cp -a $install/usr/lib/babl-* $fs/usr/lib
    1.31 -	rm $fs/usr/lib/babl-*/*.so
    1.32 +
    1.33 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.34 +#	cp -a $install/usr/lib/*.*a		$fs/usr/lib
    1.35 +	cp -a $install/usr/include		$fs/usr
    1.36 +	cp -a $install/usr/lib/babl-*		$fs/usr/lib
    1.37 +	rm					$fs/usr/lib/babl-*/*.so
    1.38  }
    1.39 -
     2.1 --- a/babl/receipt	Thu Jan 02 15:37:23 2020 +0100
     2.2 +++ b/babl/receipt	Thu Jan 02 16:21:42 2020 +0100
     2.3 @@ -1,30 +1,40 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="babl"
     2.7 -VERSION="0.1.24"
     2.8 +VERSION="0.1.72"
     2.9  CATEGORY="system-tools"
    2.10 -SHORT_DESC="pixel format translation library."
    2.11 +SHORT_DESC="Pixel format translation library."
    2.12  MAINTAINER="erjo@slitaz.org"
    2.13  LICENSE="LGPL3"
    2.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.15  WEB_SITE="http://gegl.org/babl/"
    2.16 -WGET_URL="http://download.gimp.org/pub/$PACKAGE/${VERSION:0:3}/$TARBALL"
    2.17 +
    2.18 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.19 +WGET_URL="http://download.gimp.org/pub/$PACKAGE/${VERSION%.*}/$TARBALL"
    2.20 +
    2.21 +DEPENDS="gcc83-lib-base gobject-introspection lcms2"
    2.22 +BUILD_DEPENDS="gcc83 gobject-introspection-dev lcms2-dev meson ninja"
    2.23 +
    2.24  HOST_ARCH="i486 arm"
    2.25  
    2.26  # Rules to configure and make the package.
    2.27  compile_rules()
    2.28  {
    2.29 -	./configure \
    2.30 -		$CONFIGURE_ARGS && \
    2.31 -	make && make install
    2.32 +	export	CC=gcc-83
    2.33 +	export	CXX=g++-83
    2.34 +
    2.35 +	meson build --prefix=/usr
    2.36 +	cd	build
    2.37 +	ninja &&
    2.38 +	ninja 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/lib
    2.45 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.46 -	cp -a $install/usr/lib/babl-* $fs/usr/lib
    2.47 -	rm $fs/usr/lib/babl-*/*.*a
    2.48 +
    2.49 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    2.50 +	cp -a $install/usr/lib/babl-*	$fs/usr/lib
    2.51 +#	rm $fs/usr/lib/babl-*/*.*a
    2.52  }
    2.53