From 44667ae222eac9271ba985d1d42b81a4ad1e2a7e Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Sun, 18 Oct 2015 09:35:11 +0200 Subject: system/vice: Updated for version 2.4.21. Refreshed patches and changed homepage Signed-off-by: Matteo Bernardini --- system/vice/vice.SlackBuild | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'system/vice/vice.SlackBuild') diff --git a/system/vice/vice.SlackBuild b/system/vice/vice.SlackBuild index 4affd7be5cd8..7003d7820951 100644 --- a/system/vice/vice.SlackBuild +++ b/system/vice/vice.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=vice -VERSION=${VERSION:-2.3.22} +VERSION=${VERSION:-2.4.21} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -54,6 +54,9 @@ else LIBDIRSUFFIX="" fi +# Only the internal ffmpeg libraries seems to work ATM +if [ "${FFMPEG:-no}" = "yes" ]; then ffmpeg="--enable-static-ffmpeg"; else ffmpeg=""; fi + set -e rm -rf $PKG @@ -73,11 +76,11 @@ find -L . \ # folder (the folder set up by "make install" is quite broken). patch -p1 <$CWD/patches/vice-fix-help.patch -# Small fixes for html doc building, avoid pdf (broken) -patch -p1 < $CWD/patches/vice-2.3.21-docs-fixes.patch +# A small fix to avoid avoid building the pdf (broken, we use the one provided) +patch -p1 < $CWD/patches/vice-2.4.4-no-pdf.patch # Use /usr/lib64 on 64-bit Slackware -[ "$ARCH" == "x86_64" ] && patch -p1 < $CWD/patches/vice-2.3.21-64bit.patch +[ "$ARCH" = "x86_64" ] && patch -p1 < $CWD/patches/vice-2.4.18-64bit.patch sh autogen.sh || true @@ -89,13 +92,13 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-gnomeui \ --mandir=/usr/man \ --infodir=/usr/info \ - --disable-ffmpeg \ + $ffmpeg \ --build=$ARCH-slackware-linux make make install DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +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 find $PKG/usr/man -type f -exec gzip -9 {} \; -- cgit v1.2.3