wok rev 24691

updated jpeg-turbo, libjpeg-turbo and libjpeg-turbo-dev (2.0.4 -> 2.1.3)
author Hans-G?nter Theisgen
date Sat Mar 12 15:29:40 2022 +0100 (2022-03-12)
parents 9a3f3ff0d575
children 0f28e2050421
files jpeg-turbo/description.txt jpeg-turbo/receipt libjpeg-turbo-dev/receipt libjpeg-turbo/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/jpeg-turbo/description.txt	Sat Mar 12 15:29:40 2022 +0100
     1.3 @@ -0,0 +1,11 @@
     1.4 +Libjpeg-turbo is a JPEG image codec that uses SIMD instructions
     1.5 +(MMX, SSE2, AVX2, Neon, AltiVec) to accelerate baseline JPEG
     1.6 +compression and decompression on x86, x86-64, Arm, and PowerPC
     1.7 +systems, as well as progressive JPEG compression on x86 and
     1.8 +x86-64 systems.
     1.9 +On such systems, libjpeg-turbo is generally 2-6x as fast as
    1.10 +libjpeg, all else being equal.
    1.11 +On other types of systems, libjpeg-turbo can still outperform
    1.12 +libjpeg by a significant amount, by virtue of its highly-optimized
    1.13 +Huffman coding routines. In many cases, the performance of
    1.14 +libjpeg-turbo rivals that of proprietary high-speed JPEG codecs.
     2.1 --- a/jpeg-turbo/receipt	Sat Mar 12 14:11:36 2022 +0100
     2.2 +++ b/jpeg-turbo/receipt	Sat Mar 12 15:29:40 2022 +0100
     2.3 @@ -1,17 +1,18 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="jpeg-turbo"
     2.7 -VERSION="2.0.4"
     2.8 +VERSION="2.1.3"
     2.9  CATEGORY="x-window"
    2.10  TAGS="jpeg jpg"
    2.11  SHORT_DESC="JPEG image programs."
    2.12  MAINTAINER="pascal.bellard@slitaz.org"
    2.13  LICENSE="MIT"
    2.14  WEB_SITE="https://libjpeg-turbo.virtualgl.org/"
    2.15 +REPOLOGY="libjpeg-turbo"
    2.16  
    2.17  SOURCE="libjpeg-turbo"
    2.18  TARBALL="$SOURCE-$VERSION.tar.gz"
    2.19 -WGET_URL="$SF_MIRROR/$SOURCE/$VERSION/$TARBALL"
    2.20 +WGET_URL="https://github.com/$SOURCE/$SOURCE/archive/refs/tags/$VERSION.tar.gz"
    2.21  
    2.22  DEPENDS="libjpeg-turbo"
    2.23  BUILD_DEPENDS="cmake nasm"
    2.24 @@ -29,12 +30,12 @@
    2.25  # Rules to configure and make the package.
    2.26  compile_rules()
    2.27  {
    2.28 -	mkdir	build
    2.29 -	cd	build
    2.30 +	mkdir	_build &&
    2.31 +	cd	_build &&
    2.32  	cmake	..				\
    2.33 -		-G"Unix Makefiles"		\
    2.34 -		-DCMAKE_INSTALL_PREFIX=/usr	\
    2.35 -		-DWITH_JPEG8=1 &&
    2.36 +		-G "Unix Makefiles"		\
    2.37 +		-D CMAKE_INSTALL_PREFIX=/usr	\
    2.38 +		-D WITH_JPEG8=1 &&
    2.39  	make &&
    2.40  	make DESTDIR=$DESTDIR install
    2.41  }
    2.42 @@ -42,6 +43,5 @@
    2.43  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.44  genpkg_rules()
    2.45  {
    2.46 -	mkdir -p  $fs/usr
    2.47 -	cp -a $install/usr/bin	$fs/usr
    2.48 +	cook_copy_folders	bin
    2.49  }
     3.1 --- a/libjpeg-turbo-dev/receipt	Sat Mar 12 14:11:36 2022 +0100
     3.2 +++ b/libjpeg-turbo-dev/receipt	Sat Mar 12 15:29:40 2022 +0100
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="libjpeg-turbo-dev"
     3.7 -VERSION="2.0.4"
     3.8 +VERSION="2.1.3"
     3.9  CATEGORY="x-window"
    3.10  TAGS="jpeg jpg"
    3.11  SHORT_DESC="JPEG image libraries - development files."
    3.12 @@ -15,8 +15,5 @@
    3.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.14  genpkg_rules()
    3.15  {
    3.16 -	mkdir -p  $fs/usr/lib
    3.17 -
    3.18 -	cp -a $install/usr/lib/*a	$fs/usr/lib
    3.19 -	cp -a $install/usr/include	$fs/usr
    3.20 +	get_dev_files
    3.21  }
     4.1 --- a/libjpeg-turbo/receipt	Sat Mar 12 14:11:36 2022 +0100
     4.2 +++ b/libjpeg-turbo/receipt	Sat Mar 12 15:29:40 2022 +0100
     4.3 @@ -1,7 +1,7 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="libjpeg-turbo"
     4.7 -VERSION="2.0.4"
     4.8 +VERSION="2.1.3"
     4.9  CATEGORY="x-window"
    4.10  TAGS="jpeg jpg"
    4.11  SHORT_DESC="JPEG image libraries."
    4.12 @@ -15,6 +15,5 @@
    4.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.14  genpkg_rules()
    4.15  {
    4.16 -	mkdir -p  $fs/usr/lib
    4.17 -	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    4.18 +	cook_copy_files	*.so*
    4.19  }