wok-6.x rev 24824

updated libsdl2-image and libsdl2-image-dev (2.0.4 -> 2.0.5)
author Hans-G?nter Theisgen
date Wed Mar 23 16:49:16 2022 +0100 (2022-03-23)
parents 163781b60a45
children 538acd8dcbb5
files libsdl2-image-dev/receipt libsdl2-image/description.txt libsdl2-image/receipt
line diff
     1.1 --- a/libsdl2-image-dev/receipt	Wed Mar 23 16:41:04 2022 +0100
     1.2 +++ b/libsdl2-image-dev/receipt	Wed Mar 23 16:49:16 2022 +0100
     1.3 @@ -3,23 +3,18 @@
     1.4  PACKAGE="libsdl2-image-dev"
     1.5  VERSION="2.0.5"
     1.6  CATEGORY="development"
     1.7 -SHORT_DESC="Development files of an image file loading library."
     1.8 +SHORT_DESC="An image file loading library - development files."
     1.9  MAINTAINER="tcg.thegamer@gmail.com"
    1.10 -LICENSE="LGPL2.1"
    1.11 -WEB_SITE="http://www.libsdl.org/projects/SDL_image/"
    1.12 +LICENSE="Zlib"
    1.13 +WEB_SITE="https://www.libsdl.org/projects/SDL_image/"
    1.14  
    1.15 -SOURCE="SDL2_image"
    1.16 +DEPENDS="jpeg-dev libpng-dev libsdl2-dev libsdl2-image pkg-config zlib-dev"
    1.17  WANTED="libsdl2-image"
    1.18 -DEPENDS="jpeg-dev libpng-dev libsdl2-dev libsdl2-image pkg-config zlib-dev"
    1.19  
    1.20  HOST_ARCH="i486 arm"
    1.21  
    1.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.23  genpkg_rules()
    1.24  {
    1.25 -	mkdir -p $fs/usr/lib
    1.26 -
    1.27 -	cp -a $install/usr/lib/*.a	$fs/usr/lib
    1.28 -	cp -a $install/usr/include	$fs/usr
    1.29 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.30 +	get_dev_files
    1.31  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libsdl2-image/description.txt	Wed Mar 23 16:49:16 2022 +0100
     2.3 @@ -0,0 +1,3 @@
     2.4 +SDL_image is an image file loading library.
     2.5 +It loads images as SDL surfaces and textures, and supports the following formats:
     2.6 +BMP, GIF, JPEG, LBM, PCX, PNG, PNM, SVG, TGA, TIFF, WEBP, XCF, XPM, XV
     3.1 --- a/libsdl2-image/receipt	Wed Mar 23 16:41:04 2022 +0100
     3.2 +++ b/libsdl2-image/receipt	Wed Mar 23 16:49:16 2022 +0100
     3.3 @@ -5,12 +5,13 @@
     3.4  CATEGORY="development"
     3.5  SHORT_DESC="An image file loading library."
     3.6  MAINTAINER="tcg.thegamer@gmail.com"
     3.7 -LICENSE="LGPL2.1"
     3.8 -WEB_SITE="http://www.libsdl.org/projects/SDL_image/"
     3.9 +LICENSE="Zlib"
    3.10 +WEB_SITE="https://www.libsdl.org/projects/SDL_image/"
    3.11 +REPOLOGY="sdl2-image"
    3.12  
    3.13  SOURCE="SDL2_image"
    3.14  TARBALL="$SOURCE-$VERSION.tar.gz"
    3.15 -WGET_URL="http://www.libsdl.org/projects/SDL_image/release/$TARBALL"
    3.16 +WGET_URL="${WEB_SITE}release/$TARBALL"
    3.17  
    3.18  DEPENDS="jpeg libpng libsdl2 tiff zlib"
    3.19  BUILD_DEPENDS="jpeg-dev libpng-dev libsdl2-dev tiff-dev zlib-dev"
    3.20 @@ -27,15 +28,15 @@
    3.21  # Rules to configure and make the package.
    3.22  compile_rules()
    3.23  {
    3.24 -	./configure $CONFIGURE_ARGS \
    3.25 -		LIBS=" -lz " &&
    3.26 -	make -j 1 &&
    3.27 +	./configure		\
    3.28 +		LIBS=" -lz "	\
    3.29 +		$CONFIGURE_ARGS &&
    3.30 +	make &&
    3.31  	make install
    3.32  }
    3.33  
    3.34  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.35  genpkg_rules()
    3.36  {
    3.37 -	mkdir -p $fs/usr/lib
    3.38 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    3.39 +	cook_copy_files	*.so*
    3.40  }