wok-current rev 24825
updated libsdl2-ttf and libsdl2-ttf-dev (2.0.15 -> 2.0.18)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 23 17:04:32 2022 +0100 (2022-03-23) |
parents | c3b5dafdd798 |
children | 034e033a52cf |
files | libsdl2-ttf-dev/receipt libsdl2-ttf/description.txt libsdl2-ttf/receipt |
line diff
1.1 --- a/libsdl2-ttf-dev/receipt Wed Mar 23 16:49:16 2022 +0100 1.2 +++ b/libsdl2-ttf-dev/receipt Wed Mar 23 17:04:32 2022 +0100 1.3 @@ -1,25 +1,21 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="libsdl2-ttf-dev" 1.7 -VERSION="2.0.15" 1.8 +VERSION="2.0.18" 1.9 CATEGORY="development" 1.10 SHORT_DESC="SDL2 ttf library - development files." 1.11 MAINTAINER="tcg.thegamer@gmail.com" 1.12 LICENSE="LGPL2.1" 1.13 -WEB_SITE="http://www.libsdl.org/projects/SDL_ttf/" 1.14 +WEB_SITE="https://github.com/libsdl-org/SDL_ttf" 1.15 1.16 SOURCE="SDL2_ttf" 1.17 +DEPENDS="libsdl2-ttf pkg-config" 1.18 WANTED="libsdl2-ttf" 1.19 -DEPENDS="libsdl2-ttf pkg-config" 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 - 1.28 - cp -a $install/usr/lib/*.a $fs/usr/lib 1.29 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.30 - cp -a $install/usr/include $fs/usr 1.31 + get_dev_files 1.32 }
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/libsdl2-ttf/description.txt Wed Mar 23 17:04:32 2022 +0100 2.3 @@ -0,0 +1,2 @@ 2.4 +This library allows you to use TrueType fonts to render text in SDL 2.5 +applications.
3.1 --- a/libsdl2-ttf/receipt Wed Mar 23 16:49:16 2022 +0100 3.2 +++ b/libsdl2-ttf/receipt Wed Mar 23 17:04:32 2022 +0100 3.3 @@ -1,19 +1,19 @@ 3.4 # SliTaz package receipt. 3.5 3.6 PACKAGE="libsdl2-ttf" 3.7 -VERSION="2.0.15" 3.8 +VERSION="2.0.18" 3.9 CATEGORY="x-window" 3.10 SHORT_DESC="SDL2 ttf support." 3.11 MAINTAINER="tcg.thegamer@gmail.com" 3.12 -LICENSE="LGPL2.1" 3.13 -WEB_SITE="http://www.libsdl.org/projects/SDL_ttf/" 3.14 +LICENSE="Zlib" 3.15 +WEB_SITE="https://github.com/libsdl-org/SDL_ttf" 3.16 3.17 SOURCE="SDL2_ttf" 3.18 TARBALL="$SOURCE-$VERSION.tar.gz" 3.19 -WGET_URL="http://www.libsdl.org/projects/SDL_ttf/release/$TARBALL" 3.20 +WGET_URL="$WEB_SITE/archive/refs/tags/release-$VERSION.tar.gz" 3.21 3.22 -DEPENDS="freetype libsdl2 zlib" 3.23 -BUILD_DEPENDS="freetype-dev libsdl2-dev" 3.24 +DEPENDS="freetype gcc83-lib-base libsdl2 zlib" 3.25 +BUILD_DEPENDS="freetype-dev gcc83 libsdl2-dev" 3.26 3.27 HOST_ARCH="i486 arm" 3.28 3.29 @@ -27,14 +27,16 @@ 3.30 # Rules to configure and make the package. 3.31 compile_rules() 3.32 { 3.33 - ./configure $CONFIGURE_ARGS && 3.34 - make -j 1 && 3.35 + ./configure \ 3.36 + CC=gcc-83 \ 3.37 + CXX=g++-83 \ 3.38 + $CONFIGURE_ARGS && 3.39 + make && 3.40 make install 3.41 } 3.42 3.43 # Rules to gen a SliTaz package suitable for Tazpkg. 3.44 genpkg_rules() 3.45 { 3.46 - mkdir -p $fs/usr/lib 3.47 - cp -a $install/usr/lib/*.so* $fs/usr/lib 3.48 + cook_copy_files *.so* 3.49 }