# HG changeset patch # User Hans-G?nter Theisgen # Date 1645807081 -3600 # Node ID 257d3372786a1f97efaf6546cd9ed1022443c325 # Parent 8091caa34c54e4057df25a4bfc7ede983b8a02e0 updated freeglut and freeglut-dev (3.2.1 -> 3.2.2) diff -r 8091caa34c54 -r 257d3372786a freeglut-dev/receipt --- a/freeglut-dev/receipt Fri Feb 25 16:44:38 2022 +0100 +++ b/freeglut-dev/receipt Fri Feb 25 17:38:01 2022 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="freeglut-dev" -VERSION="3.2.1" +VERSION="3.2.2" CATEGORY="development" SHORT_DESC="OpenGL utility toolkit - development files." MAINTAINER="b1+slitaz@nagel.org" @@ -13,8 +13,7 @@ # 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/include $fs/usr + cook_copy_folders include + cook_copy_folders pkgconfig + cook_copy_files *.*a } diff -r 8091caa34c54 -r 257d3372786a freeglut/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/freeglut/description.txt Fri Feb 25 17:38:01 2022 +0100 @@ -0,0 +1,10 @@ +Freeglut is a free-software and open-source alternative to the OpenGL +Utility Toolkit (GLUT) library. +GLUT was originally written by Mark Kilgard to support the sample +programs in the second edition OpenGL 'RedBook'. Since then, GLUT has +been used in a wide variety of practical applications because it is +simple, widely available and highly portable. + +GLUT (and hence freeglut) takes care of all the system-specific chores +required for creating windows, initializing OpenGL contexts, and +handling input events, to allow for truely portable OpenGL programs. diff -r 8091caa34c54 -r 257d3372786a freeglut/receipt --- a/freeglut/receipt Fri Feb 25 16:44:38 2022 +0100 +++ b/freeglut/receipt Fri Feb 25 17:38:01 2022 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="freeglut" -VERSION="3.2.1" +VERSION="3.2.2" CATEGORY="x-window" SHORT_DESC="OpenGL utility toolkit." MAINTAINER="b1+slitaz@nagel.org" @@ -12,8 +12,8 @@ WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" SUGGESTED="nvidia" -DEPENDS="glibc-base libdrm mesa libglu-mesa \ - xorg-libX11 xorg-libXau xorg-libXdamage xorg-libXdmcp \ +DEPENDS="glibc-base libdrm mesa libglu-mesa + xorg-libX11 xorg-libXau xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXi xorg-libXxf86vm" BUILD_DEPENDS="cmake libglu-mesa libglu-mesa-dev libxcb-dev mesa mesa-dev xorg-inputproto xorg-libX11-dev xorg-libXau-dev xorg-libXdamage-dev @@ -39,15 +39,17 @@ # patch -p0 -i $stuff/2.6.0-GFX_radeon.patch # sed -i 's/-Werror//' configure - cmake . -DCMAKE_INSTALL_PREFIX=/usr && + mkdir _build && + cd _build && + cmake .. \ + -D CMAKE_INSTALL_PREFIX=/usr && # sed -i '/XF86VMODE/d' config.status - make -j 1 && - 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* }