summaryrefslogtreecommitdiff
path: root/multimedia/l-smash
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-08-17 17:05:41 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-20 07:50:03 +0700
commit8d4d77f4c770306d32a463234d92ec607f950c80 (patch)
tree6d276b62782869b5b4b5b1710761c3eb39bb5b34 /multimedia/l-smash
parent76f712452fe88b1e1840370d0323ca9592123a7e (diff)
downloadslackbuilds-8d4d77f4c770306d32a463234d92ec607f950c80.tar.gz
multimedia/l-smash: Updated for version 2.9.1, new maintainer.
Diffstat (limited to 'multimedia/l-smash')
-rw-r--r--multimedia/l-smash/l-smash.SlackBuild26
-rw-r--r--multimedia/l-smash/l-smash.info10
2 files changed, 21 insertions, 15 deletions
diff --git a/multimedia/l-smash/l-smash.SlackBuild b/multimedia/l-smash/l-smash.SlackBuild
index 622440db62..31bbd4591b 100644
--- a/multimedia/l-smash/l-smash.SlackBuild
+++ b/multimedia/l-smash/l-smash.SlackBuild
@@ -22,14 +22,22 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Now maintained by B. Watson <yalhcru@gmail.com>
+
+# 20160817 bkw:
+# - take over maintenance
+# - update for 2.9.1
+# - actually use SLKCFLAGS
+# - i486 => i586
+
PRGNAM=l-smash
-VERSION=${VERSION:-2.3.0}
+VERSION=${VERSION:-2.9.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +48,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -69,20 +77,18 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+# -Wl,-s = strip binaries at link time.
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--disable-static \
- --enable-shared
+ --enable-shared \
+ --extra-cflags="$SLKCFLAGS" \
+ --extra-ldflags="-Wl,-s"
make
make install DESTDIR=$PKG
-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 LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/multimedia/l-smash/l-smash.info b/multimedia/l-smash/l-smash.info
index fb7424bd7a..fb361041ed 100644
--- a/multimedia/l-smash/l-smash.info
+++ b/multimedia/l-smash/l-smash.info
@@ -1,10 +1,10 @@
PRGNAM="l-smash"
-VERSION="2.3.0"
+VERSION="2.9.1"
HOMEPAGE="https://github.com/l-smash/l-smash"
-DOWNLOAD="https://github.com/l-smash/l-smash/archive/v2.3.0.tar.gz"
-MD5SUM="72e68a32e6a671afebbfbbab3b5dd47c"
+DOWNLOAD="https://github.com/l-smash/l-smash/archive/v2.9.1.tar.gz"
+MD5SUM="ccc7f6f0dcfdb01398e0f922f150a0d9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Andrew Strong"
-EMAIL="andrew.david.strong@gmail.com"
+MAINTAINER="B. Watson"
+EMAIL="yalhcru@gmail.com"