# HG changeset patch # User Hans-G?nter Theisgen # Date 1645956219 -3600 # Node ID 3911e4610e396dc0bd2af8f429f1c315df41c68d # Parent d5468918986eab96a57ce6f2a4e6296701d89352 updated ftgl and ftgl-dev (2.1.3-rc5 -> 2.4.0) diff -r d5468918986e -r 3911e4610e39 ftgl-dev/receipt --- a/ftgl-dev/receipt Sun Feb 27 10:49:46 2022 +0100 +++ b/ftgl-dev/receipt Sun Feb 27 11:03:39 2022 +0100 @@ -1,21 +1,20 @@ # SliTaz package receipt. PACKAGE="ftgl-dev" -VERSION="2.1.3-rc5" +VERSION="2.4.0" CATEGORY="development" -SHORT_DESC="devel files for ftgl" +SHORT_DESC="Development files for ftgl." MAINTAINER="slaxemulator@gmail.com" LICENSE="GPL2" WEB_SITE="https://sourceforge.net/projects/ftgl/" -WANTED="ftgl" DEPENDS="ftgl pkg-config" +WANTED="ftgl" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/lib/*.*a $fs/usr/lib + cook_copy_folders include + cook_copy_folders pkgconfig + cook_copy_files *.*a } diff -r d5468918986e -r 3911e4610e39 ftgl/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ftgl/description.txt Sun Feb 27 11:03:39 2022 +0100 @@ -0,0 +1,10 @@ +FTGL is a free open source library to enable developers to use arbitrary +fonts in their OpenGL (www.opengl.org) applications. + +Unlike other OpenGL font libraries FTGL uses standard font file formats +so doesn't need a preprocessing step to convert the high quality font data +into a lesser quality, proprietary format. + +FTGL uses the Freetype (www.freetype.org) font library to open and 'decode' +the fonts. It then takes that output and stores it in a format most efficient +for OpenGL rendering. diff -r d5468918986e -r 3911e4610e39 ftgl/receipt --- a/ftgl/receipt Sun Feb 27 10:49:46 2022 +0100 +++ b/ftgl/receipt Sun Feb 27 11:03:39 2022 +0100 @@ -1,17 +1,19 @@ # SliTaz package receipt. PACKAGE="ftgl" -VERSION="2.1.3-rc5" +VERSION="2.4.0" CATEGORY="x-window" -SHORT_DESC="OpenGL library to use arbitrary fonts" +SHORT_DESC="OpenGL library to use arbitrary fonts." MAINTAINER="slaxemulator@gmail.com" LICENSE="GPL2" -TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="https://sourceforge.net/projects/ftgl/" -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -DEPENDS="freetype freeglut mesa libglu-mesa" -BUILD_DEPENDS="$DEPENDS freetype-dev freeglut-dev mesa-dev libglu-mesa-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/frankheckenbach/$PACKAGE/archive/v$VERSION.tar.gz" + +DEPENDS="freeglut freetype gcc83-lib-base libglu-mesa mesa" +BUILD_DEPENDS="automake doxygen freeglut-dev freetype-dev gcc83 + libtool libglu-mesa-dev mesa-dev" # What is the latest version available today? current_version() @@ -24,19 +26,21 @@ # Rules to configure and make the package. compile_rules() { - cd $src # Binutils 2.22 break many packages build without LDFLAGS set correctly. export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lGL" - ./configure \ - --with-pic \ + + ./autogen.sh && + ./configure \ + CC=gcc-83 \ + CXX=g++-83 \ + --with-pic \ $CONFIGURE_ARGS && - make && make DESTDIR=$DESTDIR install + make && + make install DESTDIR=$DESTDIR } # 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* } -