# HG changeset patch # User Hans-G?nter Theisgen # Date 1648050064 -3600 # Node ID 163781b60a45413c00ca8c47731743c2f1d8da9e # Parent 99e24ccafc52a13ce4ccd477ed2a5d9cff993732 updated libsdl2 and libsdl2-dev (2.0.12 -> 2.0.20) diff -r 99e24ccafc52 -r 163781b60a45 libsdl2-dev/receipt --- a/libsdl2-dev/receipt Wed Mar 23 11:26:00 2022 +0100 +++ b/libsdl2-dev/receipt Wed Mar 23 16:41:04 2022 +0100 @@ -1,12 +1,12 @@ # SliTaz package receipt. PACKAGE="libsdl2-dev" -VERSION="2.0.12" +VERSION="2.0.20" CATEGORY="development" SHORT_DESC="A cross-platform interactive media development library - development files." MAINTAINER="tcg.thegamer@gmail.com" LICENSE="zlib/libpng" -WEB_SITE="http://libsdl.org" +WEB_SITE="https://libsdl.org/" DEPENDS="libsdl2 pkg-config" WANTED="libsdl2" @@ -14,10 +14,6 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - - cp -a $install/usr/share $fs/usr - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib + get_dev_files + cook_copy_folders aclocal } diff -r 99e24ccafc52 -r 163781b60a45 libsdl2/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libsdl2/description.txt Wed Mar 23 16:41:04 2022 +0100 @@ -0,0 +1,5 @@ +Simple Direct Media Layer is a cross-platform development library +designed to provide low level access to audio, keyboard, mouse, +joystick, and graphics hardware via OpenGL and Direct3D. +It is used by video playback software, emulators, and popular games +including Valve's award winning catalog and many Humble Bundle games. diff -r 99e24ccafc52 -r 163781b60a45 libsdl2/receipt --- a/libsdl2/receipt Wed Mar 23 11:26:00 2022 +0100 +++ b/libsdl2/receipt Wed Mar 23 16:41:04 2022 +0100 @@ -1,15 +1,16 @@ # SliTaz package receipt. PACKAGE="libsdl2" -VERSION="2.0.12" +VERSION="2.0.20" CATEGORY="x-window" SHORT_DESC="A cross-platform interactive media development library." MAINTAINER="tcg.thegamer@gmail.com" LICENSE="zlib/libpng" -WEB_SITE="http://libsdl.org" +WEB_SITE="https://libsdl.org/" +REPOLOGY="sdl2" TARBALL="SDL2-$VERSION.tar.gz" -WGET_URL="${WEB_SITE}/release/${TARBALL}" +WGET_URL="${WEB_SITE}release/${TARBALL}" DEPENDS="alsa-lib dbus mesa" BUILD_DEPENDS="alsa-lib-dev dbus-dev mesa-dev mesa-wayland-dev pulseaudio-dev" @@ -27,15 +28,13 @@ ./configure \ --prefix=/usr \ $CONFIGURE_ARGS && - 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 - cp -a $install/usr/bin $fs/usr + cook_copy_folders bin + cook_copy_files *.so* }