summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2020-02-22 05:41:50 +0000
committerEric Hameleers <alien@slackware.com>2020-02-22 17:59:46 +0100
commitc2b213d184f11d3c6585997c13262ebcde3a58d0 (patch)
tree615cb9b6476bf8555650cf6452a25e49e720f02b /source
parent7ca677f34e2bc1408813c8cf7a22de78b8c8ff53 (diff)
downloadcurrent-c2b213d184f11d3c6585997c13262ebcde3a58d0.tar.gz
Sat Feb 22 05:41:50 UTC 202020200222054150
ap/alsa-utils-1.2.2-x86_64-1.txz: Upgraded. l/alsa-lib-1.2.2-x86_64-1.txz: Upgraded. l/alsa-plugins-1.2.2-x86_64-1.txz: Upgraded. l/imagemagick-7.0.9_25-x86_64-1.txz: Upgraded. x/libva-2.6.1-x86_64-2.txz: Rebuilt. Rebuilt to add libva-wayland. Thanks to hadack. extra/pure-alsa-system/alsa-lib-1.2.2-x86_64-1_alsa.txz: Upgraded. extra/pure-alsa-system/alsa-plugins-1.2.2-x86_64-1_alsa.txz: Upgraded.
Diffstat (limited to 'source')
-rwxr-xr-xsource/l/alsa-lib/alsa-lib.SlackBuild8
-rwxr-xr-xsource/x/libva/libva.SlackBuild5
2 files changed, 9 insertions, 4 deletions
diff --git a/source/l/alsa-lib/alsa-lib.SlackBuild b/source/l/alsa-lib/alsa-lib.SlackBuild
index 8f057a5d..45cc4c0a 100755
--- a/source/l/alsa-lib/alsa-lib.SlackBuild
+++ b/source/l/alsa-lib/alsa-lib.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010, 2011, 2012, 2013, 2015, 2016, 2018, 2019 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010, 2011, 2012, 2013, 2015, 2016, 2018, 2019, 2020 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=alsa-lib
VERSION=${VERSION:-$(echo alsa-lib-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -84,8 +84,10 @@ fi
# Untar the configuration files. We'll install them later.
( mkdir ucm-and-topology-configs
cd ucm-and-topology-configs
- for file in $CWD/alsa-*conf*tar* ; do
+ for file in $CWD/alsa-*conf*tar.lz ; do
tar xvf $file
+ mv $(basename $file .tar.lz)/* .
+ rmdir $(basename $file .tar.lz)
mv README.md README-$(echo $(basename $file) | cut -f 1-3 -d -)
done
)
diff --git a/source/x/libva/libva.SlackBuild b/source/x/libva/libva.SlackBuild
index 1f27702f..a884bd1b 100755
--- a/source/x/libva/libva.SlackBuild
+++ b/source/x/libva/libva.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=libva
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -97,6 +97,9 @@ meson setup \
DESTDIR=$PKG $NINJA install || exit 1
cd ..
+# Fix a couple of mistakenly executable header files:
+chmod 644 $PKG/usr/include/va/*.h
+
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