# HG changeset patch # User Hans-G?nter Theisgen # Date 1648051472 -3600 # Node ID 538acd8dcbb56495c72534828a191e980d4d4070 # Parent c3b5dafdd798aefbd432d62708561c2ec16427e2 updated libsdl2-ttf and libsdl2-ttf-dev (2.0.15 -> 2.0.18) diff -r c3b5dafdd798 -r 538acd8dcbb5 libsdl2-ttf-dev/receipt --- a/libsdl2-ttf-dev/receipt Wed Mar 23 16:49:16 2022 +0100 +++ b/libsdl2-ttf-dev/receipt Wed Mar 23 17:04:32 2022 +0100 @@ -1,25 +1,21 @@ # SliTaz package receipt. PACKAGE="libsdl2-ttf-dev" -VERSION="2.0.15" +VERSION="2.0.18" CATEGORY="development" SHORT_DESC="SDL2 ttf library - development files." MAINTAINER="tcg.thegamer@gmail.com" LICENSE="LGPL2.1" -WEB_SITE="http://www.libsdl.org/projects/SDL_ttf/" +WEB_SITE="https://github.com/libsdl-org/SDL_ttf" SOURCE="SDL2_ttf" +DEPENDS="libsdl2-ttf pkg-config" WANTED="libsdl2-ttf" -DEPENDS="libsdl2-ttf pkg-config" HOST_ARCH="i486 arm" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - - cp -a $install/usr/lib/*.a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/include $fs/usr + get_dev_files } diff -r c3b5dafdd798 -r 538acd8dcbb5 libsdl2-ttf/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libsdl2-ttf/description.txt Wed Mar 23 17:04:32 2022 +0100 @@ -0,0 +1,2 @@ +This library allows you to use TrueType fonts to render text in SDL +applications. diff -r c3b5dafdd798 -r 538acd8dcbb5 libsdl2-ttf/receipt --- a/libsdl2-ttf/receipt Wed Mar 23 16:49:16 2022 +0100 +++ b/libsdl2-ttf/receipt Wed Mar 23 17:04:32 2022 +0100 @@ -1,19 +1,19 @@ # SliTaz package receipt. PACKAGE="libsdl2-ttf" -VERSION="2.0.15" +VERSION="2.0.18" CATEGORY="x-window" SHORT_DESC="SDL2 ttf support." MAINTAINER="tcg.thegamer@gmail.com" -LICENSE="LGPL2.1" -WEB_SITE="http://www.libsdl.org/projects/SDL_ttf/" +LICENSE="Zlib" +WEB_SITE="https://github.com/libsdl-org/SDL_ttf" SOURCE="SDL2_ttf" TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="http://www.libsdl.org/projects/SDL_ttf/release/$TARBALL" +WGET_URL="$WEB_SITE/archive/refs/tags/release-$VERSION.tar.gz" -DEPENDS="freetype libsdl2 zlib" -BUILD_DEPENDS="freetype-dev libsdl2-dev" +DEPENDS="freetype gcc83-lib-base libsdl2 zlib" +BUILD_DEPENDS="freetype-dev gcc83 libsdl2-dev" HOST_ARCH="i486 arm" @@ -27,14 +27,16 @@ # Rules to configure and make the package. compile_rules() { - ./configure $CONFIGURE_ARGS && - make -j 1 && + ./configure \ + CC=gcc-83 \ + CXX=g++-83 \ + $CONFIGURE_ARGS && + make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib + cook_copy_files *.so* }