summaryrefslogtreecommitdiffstats
path: root/audio/guitarix
diff options
context:
space:
mode:
Diffstat (limited to 'audio/guitarix')
-rw-r--r--audio/guitarix/README4
-rw-r--r--audio/guitarix/guitarix.SlackBuild21
-rw-r--r--audio/guitarix/guitarix.info6
3 files changed, 19 insertions, 12 deletions
diff --git a/audio/guitarix/README b/audio/guitarix/README
index 803394b6bc..692e677c31 100644
--- a/audio/guitarix/README
+++ b/audio/guitarix/README
@@ -14,10 +14,6 @@ meterbridge is an optional runtime dependency.
Starting with version 0.35.4, guitarix's 'Online presets' feature no
longer requires webkitgtk. See README.online for more information.
-Note: This is the last version of guitarix that will compile on
-Slackware 14.2, due to 0.40 and up requiring gtk+3 >= 3.20 (we only
-have 3.18). Sorry, folks.
-
This package uses POSIX filesystem capabilities to execute with
elevated privileges (required for realtime audio processing). This
may be considered a security/stability risk. Please read
diff --git a/audio/guitarix/guitarix.SlackBuild b/audio/guitarix/guitarix.SlackBuild
index 67b35efb81..8cf0afbac5 100644
--- a/audio/guitarix/guitarix.SlackBuild
+++ b/audio/guitarix/guitarix.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for guitarix
# Originally written by Michales Michaloudes (email removed)
@@ -9,6 +9,7 @@
# Note to self: git URL for guitarix is:
# git://git.code.sf.net/p/guitarix/git/
+# 20200408 kb6: Updated for 0.42.1. Add -fpermissive compiler flag.
# 20201105 bkw: Add no-upgrade note to README.
# 20200307 bkw: Updated for 3.39.0.
# 20191211 bkw: Updated for 0.38.1.
@@ -46,10 +47,13 @@
# - Flip changelog comments right-side up
# - Stop writing outside of $TMP.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=guitarix
-VERSION=${VERSION:-0.39.0}
+VERSION=${VERSION:-0.42.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -59,7 +63,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -107,7 +118,7 @@ fi
LIBDIR="/usr/lib${LIBDIRSUFFIX}"
./waf configure \
--prefix=/usr \
- --cxxflags-release="$SLKCFLAGS -DNDEBUG" \
+ --cxxflags-release="$SLKCFLAGS -DNDEBUG -fpermissive" \
--ladspadir="$LIBDIR/ladspa/" \
--lv2dir="$LIBDIR/lv2/" \
--libdir="$LIBDIR" \
@@ -163,4 +174,4 @@ if [ "${SETCAP:-yes}" = "yes" ]; then
fi
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/audio/guitarix/guitarix.info b/audio/guitarix/guitarix.info
index 8ab1359ef9..5cad82113f 100644
--- a/audio/guitarix/guitarix.info
+++ b/audio/guitarix/guitarix.info
@@ -1,8 +1,8 @@
PRGNAM="guitarix"
-VERSION="0.39.0"
+VERSION="0.42.1"
HOMEPAGE="http://guitarix.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/guitarix/guitarix2-0.39.0.tar.xz"
-MD5SUM="04c22ff9baaa69d256e2ca84ba288936"
+DOWNLOAD="http://downloads.sourceforge.net/guitarix/guitarix2-0.42.1.tar.xz"
+MD5SUM="f583b67fbef3f3a9c947850d64c94849"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jack liblrdf lilv"