mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
audio/cubeb: Updated for version 20230321_2071354.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
d745137a41
commit
6665784479
3 changed files with 18 additions and 6 deletions
|
@ -6,3 +6,6 @@ To disable pulse support, pass PULSE=false to the build script.
|
|||
|
||||
jack is an optional dependency and support can be enabled by passing
|
||||
JACK=true to the build script.
|
||||
|
||||
Tests are enabled by default, to disable testing, pass TESTS=false
|
||||
to the build script.
|
||||
|
|
|
@ -25,12 +25,14 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=cubeb
|
||||
VERSION=${VERSION:-0.2.1572}
|
||||
VERSION=${VERSION:-20230321_2071354}
|
||||
SRCVER=${SRCVER:-2071354a69aca7ed6df3b4222e305746c2113f60}
|
||||
GOOGLETEST=${GOOGLETEST:-800f5422ac9d9e0ad59cd860a2ef3a679588acb4}
|
||||
SANITIZERSCMAKE=${SANITIZERSCMAKE:-aab6948fa863bc1cbe5d0850bc46b9ef02ed4c1a}
|
||||
ALSA=${ALSA:-true}
|
||||
JACK=${JACK:-false}
|
||||
PULSE=${PULSE:-true}
|
||||
TESTS=${TESTS:-true}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -73,9 +75,16 @@ mkdir -p $TMP $PKG $OUTPUT
|
|||
cd $TMP
|
||||
rm -rf $PRGNAM-$SRCVER
|
||||
tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
|
||||
cd $PRGNAM-$SRCVER
|
||||
|
||||
tar xvf $CWD/googletest-$GOOGLETEST.tar.gz -C \
|
||||
$TMP/$PRGNAM-$SRCVER/googletest --strip-components 1
|
||||
tar xvf $CWD/sanitizers-cmake-$SANITIZERSCMAKE.tar.gz -C \
|
||||
$TMP/$PRGNAM-$SRCVER/cmake/sanitizers-cmake --strip-components 1
|
||||
cd $PRGNAM-$SRCVER
|
||||
|
||||
# Test logging is currently broken, so we'll skip it
|
||||
sed -i '/cubeb_add_test(logging)/d' CMakeLists.txt
|
||||
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
|
@ -90,7 +99,7 @@ cd build
|
|||
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DBUILD_SHARED_LIBS=true \
|
||||
-DBUILD_TESTS=false \
|
||||
-DBUILD_TESTS=$TESTS \
|
||||
-DUSE_ALSA=$ALSA \
|
||||
-DUSE_JACK=$JACK \
|
||||
-DUSE_PULSE=$PULSE \
|
||||
|
@ -102,8 +111,6 @@ cd ..
|
|||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
AUTHORS LICENSE README.md docs \
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
PRGNAM="cubeb"
|
||||
VERSION="0.2.1572"
|
||||
VERSION="20230321_2071354"
|
||||
HOMEPAGE="https://github.com/mozilla/cubeb"
|
||||
DOWNLOAD="https://github.com/mozilla/cubeb/archive/2071354a69aca7ed6df3b4222e305746c2113f60/cubeb-2071354a69aca7ed6df3b4222e305746c2113f60.tar.gz \
|
||||
https://github.com/google/googletest/archive/800f5422ac9d9e0ad59cd860a2ef3a679588acb4/googletest-800f5422ac9d9e0ad59cd860a2ef3a679588acb4.tar.gz \
|
||||
https://github.com/arsenm/sanitizers-cmake/archive/aab6948fa863bc1cbe5d0850bc46b9ef02ed4c1a/sanitizers-cmake-aab6948fa863bc1cbe5d0850bc46b9ef02ed4c1a.tar.gz"
|
||||
MD5SUM="c0da757accb420af496d04f38e4eac57 \
|
||||
b0b23c6e3137c995ed842b6fbae37e7b \
|
||||
0492fedbd255d1d831db432c2578a0c1"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
|
|
Loading…
Reference in a new issue