From 9039760154a71031c4a18a0d6ed95973ba86c6c4 Mon Sep 17 00:00:00 2001 From: Euan Thoms Date: Fri, 17 Nov 2017 22:28:24 +0000 Subject: libraries/msx264: Updated for version 1.5.3. Signed-off-by: David Spencer --- libraries/msx264/README | 7 +++++-- libraries/msx264/msx264.SlackBuild | 13 +++++++++---- libraries/msx264/msx264.info | 6 +++--- libraries/msx264/slack-desc | 8 ++++---- 4 files changed, 21 insertions(+), 13 deletions(-) (limited to 'libraries') diff --git a/libraries/msx264/README b/libraries/msx264/README index cc5ddf82e3..d3436a5a07 100644 --- a/libraries/msx264/README +++ b/libraries/msx264/README @@ -1,7 +1,10 @@ msx264 (x264 plugin for mediastreamer2) A GPL plugin to bring video H264 encoding/decoding capabilities to -mediastreamer2 applications. It is based on ffmpeg for decoding and -x264 for encoding. +mediastreamer2 applications like Linphone. It is based on ffmpeg +for decoding and x264 for encoding. It works with x264 versions later than september 2009. + +NOTE: this mediastreamer plugin is deprecated in favour of + msopenh264. diff --git a/libraries/msx264/msx264.SlackBuild b/libraries/msx264/msx264.SlackBuild index 6b99a03c10..6aa874306d 100644 --- a/libraries/msx264/msx264.SlackBuild +++ b/libraries/msx264/msx264.SlackBuild @@ -23,13 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=msx264 -VERSION=${VERSION:-1.5.2} +VERSION=${VERSION:-1.5.3} 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 +40,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" @@ -54,6 +54,8 @@ else LIBDIRSUFFIX="" fi +DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README $CWD/$PRGNAM.SlackBuild" + set -e rm -rf $PKG @@ -89,6 +91,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION +chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/* cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/msx264/msx264.info b/libraries/msx264/msx264.info index 2ae775c0d1..d628e9131f 100644 --- a/libraries/msx264/msx264.info +++ b/libraries/msx264/msx264.info @@ -1,8 +1,8 @@ PRGNAM="msx264" -VERSION="1.5.2" +VERSION="1.5.3" HOMEPAGE="https://github.com/Distrotech/msx264" -DOWNLOAD="http://download.savannah.gnu.org/releases/linphone/plugins/sources/msx264-1.5.2.tar.gz" -MD5SUM="877113f35d47b68b0ee60f934a2fee3f" +DOWNLOAD="https://www.linphone.org/releases/sources/plugins/msx264/msx264-1.5.3.tar.gz" +MD5SUM="8dc5482d12bdb5d89bdfa9f71163e08a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="linphone x264" diff --git a/libraries/msx264/slack-desc b/libraries/msx264/slack-desc index 5fcbdba175..17c11e262d 100644 --- a/libraries/msx264/slack-desc +++ b/libraries/msx264/slack-desc @@ -9,11 +9,11 @@ msx264: msx264 (x264 plugin for mediastreamer2) msx264: msx264: msx264 - a GPL plugin to bring video H264 encoding/decoding -msx264: capabilities to mediastreamer2 applications. It is based on ffmpeg -msx264: for decoding and x264 for encoding. +msx264: capabilities to mediastreamer2 applications like Linphone. It is +msx264: based on ffmpeg for decoding and x264 for encoding. msx264: msx264: It works with x264 versions later than september 2009. msx264: -msx264: -msx264: +msx264: NOTE: this mediastreamer plugin is deprecated in favour of +msx264: msopenh264. msx264: -- cgit v1.2.3