multimedia/subtitleeditor: Updated for version 20191130_4c215f4.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
7c2ce018e6
commit
468ba087a3
|
@ -3,6 +3,7 @@
|
||||||
# Slackware build script for subtitleeditor
|
# Slackware build script for subtitleeditor
|
||||||
|
|
||||||
# Copyright (C) 2010 Georgy Shepelev <geo.shepelev@gmail.com>
|
# Copyright (C) 2010 Georgy Shepelev <geo.shepelev@gmail.com>
|
||||||
|
# Copyright (C) 2020 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -23,13 +24,13 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=subtitleeditor
|
PRGNAM=subtitleeditor
|
||||||
VERSION=${VERSION:-0.52.1}
|
VERSION=${VERSION:-20191130_4c215f4}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
i?86) ARCH=i486 ;;
|
i?86) ARCH=i586 ;;
|
||||||
arm*) ARCH=arm ;;
|
arm*) ARCH=arm ;;
|
||||||
*) ARCH=$( uname -m ) ;;
|
*) ARCH=$( uname -m ) ;;
|
||||||
esac
|
esac
|
||||||
|
@ -40,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i586" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
@ -69,13 +70,8 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
# https://gna.org/bugs/?23714
|
|
||||||
patch -p0 < $CWD/fix-23714-cxx11-v2.patch
|
|
||||||
|
|
||||||
autoreconf -fi
|
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./autogen.sh \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="subtitleeditor"
|
PRGNAM="subtitleeditor"
|
||||||
VERSION="0.52.1"
|
VERSION="20191130_4c215f4"
|
||||||
HOMEPAGE="https://launchpad.net/subtitleeditor"
|
HOMEPAGE="http://kitone.github.io/subtitleeditor/"
|
||||||
DOWNLOAD="http://ponce.cc/slackware/sources/repo/subtitleeditor-0.52.1.tar.gz"
|
DOWNLOAD="http://ponce.cc/slackware/sources/repo/subtitleeditor-20191130_4c215f4.tar.xz"
|
||||||
MD5SUM="d25a3f6966f4d6355485d3dfbcfb437a"
|
MD5SUM="3a29d641369031b32f93536f9e59fcd5"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="gstreamermm libxml++"
|
REQUIRES="gstreamermm libxml++"
|
||||||
|
|
Loading…
Reference in New Issue