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
|
||||
|
||||
# Copyright (C) 2010 Georgy Shepelev <geo.shepelev@gmail.com>
|
||||
# Copyright (C) 2020 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -23,13 +24,13 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=subtitleeditor
|
||||
VERSION=${VERSION:-0.52.1}
|
||||
VERSION=${VERSION:-20191130_4c215f4}
|
||||
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 +41,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,13 +70,8 @@ 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 {} \;
|
||||
|
||||
# https://gna.org/bugs/?23714
|
||||
patch -p0 < $CWD/fix-23714-cxx11-v2.patch
|
||||
|
||||
autoreconf -fi
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
./autogen.sh \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="subtitleeditor"
|
||||
VERSION="0.52.1"
|
||||
HOMEPAGE="https://launchpad.net/subtitleeditor"
|
||||
DOWNLOAD="http://ponce.cc/slackware/sources/repo/subtitleeditor-0.52.1.tar.gz"
|
||||
MD5SUM="d25a3f6966f4d6355485d3dfbcfb437a"
|
||||
VERSION="20191130_4c215f4"
|
||||
HOMEPAGE="http://kitone.github.io/subtitleeditor/"
|
||||
DOWNLOAD="http://ponce.cc/slackware/sources/repo/subtitleeditor-20191130_4c215f4.tar.xz"
|
||||
MD5SUM="3a29d641369031b32f93536f9e59fcd5"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="gstreamermm libxml++"
|
||||
|
|
Loading…
Reference in New Issue