# HG changeset patch # User Hans-G?nter Theisgen # Date 1652769508 -3600 # Node ID fa285280cc2473a47927959fc89279f6d95d3c69 # Parent affc6fdda56c3db2682358ed653577f8994b6c9b updated openal and openal-dev (1.20.1 -> 1.22.0) diff -r affc6fdda56c -r fa285280cc24 openal-dev/receipt --- a/openal-dev/receipt Mon May 16 19:42:25 2022 +0000 +++ b/openal-dev/receipt Tue May 17 07:38:28 2022 +0100 @@ -2,7 +2,7 @@ PACKAGE="openal-dev" SOURCE="openal-soft" -VERSION="1.20.1" +VERSION="1.22.0" CATEGORY="development" SHORT_DESC="Cross-platform 3D audio API, development files." MAINTAINER="pascal.bellard@slitaz.org" @@ -15,8 +15,6 @@ # 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 + cook_copy_folders include + cook_copy_folders pkgconfig } diff -r affc6fdda56c -r fa285280cc24 openal/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/openal/description.txt Tue May 17 07:38:28 2022 +0100 @@ -0,0 +1,11 @@ +OpenAL Soft is an LGPL-licensed, cross-platform, software +implementation of the OpenAL 3D audio API. +OpenAL provides capabilities for playing audio in a virtual +3D environment. +Distance attenuation, doppler shift, and directional sound +emitters are among the features handled by the API. +More advanced effects, including air absorption, occlusion, +and environmental reverb, are available through the EFX +extension. +It also facilitates streaming audio, multi-channel buffers, +and audio capture. diff -r affc6fdda56c -r fa285280cc24 openal/receipt --- a/openal/receipt Mon May 16 19:42:25 2022 +0000 +++ b/openal/receipt Tue May 17 07:38:28 2022 +0100 @@ -1,13 +1,14 @@ # SliTaz package receipt. PACKAGE="openal" -VERSION="1.20.1" +VERSION="1.22.0" CATEGORY="multimedia" TAGS="multimedia audio sound 3D" -SHORT_DESC="cross-platform 3D audio API." +SHORT_DESC="Cross-platform 3D audio API." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="LGPL2" WEB_SITE="https://www.openal-soft.org/" +REPOLOGY="openal-soft" SOURCE="openal-soft" TARBALL="$SOURCE-$VERSION.tar.bz2" @@ -30,7 +31,10 @@ export CXX=g++-83 export LDFLAGS="$LDFLAGS -latomic" - cmake -DCMAKE_INSTALL_PREFIX=/usr && + mkdir _build && + cd _build && + cmake .. \ + -D CMAKE_INSTALL_PREFIX=/usr && make && make install } @@ -38,13 +42,14 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib + mkdir -p $fs/etc/xdg - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib + cook_copy_folders bin + cook_copy_files *.so* + cp -a $src/alsoftrc.sample $fs/etc/xdg/alsoft.conf } -# Pre and post install commands for Tazpkg. +# Post install commands for Tazpkg. post_install() { [ -s $1/etc/rcS.conf ] &&