diff options
Diffstat (limited to 'libraries/libmp4v2/libmp4v2.SlackBuild')
-rw-r--r-- | libraries/libmp4v2/libmp4v2.SlackBuild | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/libraries/libmp4v2/libmp4v2.SlackBuild b/libraries/libmp4v2/libmp4v2.SlackBuild index f1606af79e..bf8f7fe1b4 100644 --- a/libraries/libmp4v2/libmp4v2.SlackBuild +++ b/libraries/libmp4v2/libmp4v2.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for libmp4v2 # Copyright (c) 2007 Alex Lysenka <me@alkos333.net> -# Copyright (c) 2020 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# Copyright (c) 2020-2025 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -37,8 +37,9 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libmp4v2 -VERSION=${VERSION:-20191108_9084868} -BUILD=${BUILD:-3} +SRCNAM=mp4v2 +VERSION=${VERSION:-2.1.3} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -50,9 +51,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -81,9 +79,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* -cd $PRGNAM-$VERSION +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.?z* +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -91,11 +89,6 @@ 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 {} \; -# Fix gcc 'narrowing errors": -patch -p1 < "$CWD/libmp4v2_gcc_narrowing.patch" || exit 1 - -autoreconf -vif - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ |