aboutsummaryrefslogtreecommitdiff
path: root/system/vice/vice.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-02-15 01:31:11 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-02-17 09:07:14 +0700
commitf5e5b99fef7d6de62d9011305bd77813e117a14f (patch)
treef5d47a858d0358188b372c6010ec8529dcefb6ab /system/vice/vice.SlackBuild
parentca7a673872ce6a1b76d6e49629dd533af9bec1d4 (diff)
system/vice: Updated for version 3.8.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/vice/vice.SlackBuild')
-rw-r--r--system/vice/vice.SlackBuild30
1 files changed, 20 insertions, 10 deletions
diff --git a/system/vice/vice.SlackBuild b/system/vice/vice.SlackBuild
index c0725a72af93..38aa08d8c5a8 100644
--- a/system/vice/vice.SlackBuild
+++ b/system/vice/vice.SlackBuild
@@ -7,6 +7,14 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20240213 bkw: update for v3.8.
+# - had to add --disable-parsid to the configure command. it was breaking
+# the build. also, do you really have a SID chip connected to your
+# parallel port? (do you even *have* a parallel port?)... if so, either
+# send me a patch, or wait until upstream does another release.
+# - LAME is no longer supported, remove --enable-lame.
+# - add --enable-catweasel.
+
# 20230504 bkw: BUILD=2.
# - fix vice.texi so the GNU info file gets generated.
# - remove old ./configure arguments and fix a couple of wrong ones.
@@ -52,8 +60,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=vice
-VERSION=${VERSION:-3.7.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.8}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -98,6 +106,8 @@ set -e
[ -x /usr/bin/ffmpeg ] && ffmpeg="--enable-ffmpeg"
# Anticipating 15.0's pure-alsa-system
+# 20240214 bkw: which sadly never materialized. I keep this here for
+# my own use, anyway.
if [ "${PULSE:-yes}" != "yes" ]; then
pulseopt="--without-pulse"
fi
@@ -109,10 +119,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-# Fancy tar command here, avoid extracting what we don't need.
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz \
- --wildcards \
- --exclude='*/src/lib/lib*'
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
@@ -180,7 +187,7 @@ config() {
--infodir=/usr/info \
--docdir=$DOCDIR \
--enable-ethernet \
- --enable-parsid \
+ --disable-parsid \
--enable-cpuhistory \
--with-mpg123 \
--with-flac \
@@ -188,7 +195,7 @@ config() {
--with-gif \
--with-png \
--enable-midi \
- --enable-lame \
+ --enable-catweasel \
--build=$ARCH-slackware-linux
make
@@ -236,8 +243,11 @@ config "--enable-gtk3ui --enable-desktop-files"
make
make install-strip DESTDIR=$PKG
-# This is a source file, doesn't belong in the package.
-rm -f $PKGDOC/*.texi
+# 20240214 bkw: in 3.8, 'make install' no longer installs any of
+# the docs. Do it manually. Leave out building/ (we don't need to
+# care about building on fedora, windows, mac OS).
+mkdir -p $PKGDOC
+cp -a doc/*.txt $PKGDOC
# Install desktop files manually.
mkdir -p $PKG/usr/share/desktop-directories \