diff options
author | B. Watson <yalhcru@gmail.com> | 2016-08-06 17:25:48 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-08-13 07:22:55 +0700 |
commit | 7993b5488be16b6951f97a7bf2432cc991575866 (patch) | |
tree | 7dd8489bcdc3ef783ad24c37c72f6f655e517c8e /audio/guitarix/guitarix.SlackBuild | |
parent | a7c73bc5c8a22c157c334ddb69748153fc5bbe45 (diff) |
audio/guitarix: Updated for version 0.35.1.
Diffstat (limited to 'audio/guitarix/guitarix.SlackBuild')
-rw-r--r-- | audio/guitarix/guitarix.SlackBuild | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/audio/guitarix/guitarix.SlackBuild b/audio/guitarix/guitarix.SlackBuild index aab340422d551..a8920d89109a9 100644 --- a/audio/guitarix/guitarix.SlackBuild +++ b/audio/guitarix/guitarix.SlackBuild @@ -45,17 +45,34 @@ # Patch 0003-fix-build-even-for-gcc4.8.patch doesn't fix it, and there # are no further fixes upstream at this time. +# 20160806 bkw: +# - Updated for 0.35.1 +# - removed WEBKIT=no option from README (it was removed from the +# script in March, should have been removed from README then). +# - removed webkitgtk from REQUIRES, as it's now optional (and +# autodetected, no way to force-disable it). +# - removed patches, since they're already included in the new release. +# - remove unimplemented SSE=no option. Note that SSE support is still +# autodetected, so if someone's trying this on e.g. ARCH=arm, it should +# automatically build without SSE (I have no idea if the build will +# actually complete, in that case). +# - remove .desktop sed stuff, upstream fixed it. +# - update man page. +# - note: zita-convolver and zita-resampler are not requirements. they +# will be linked if installed, otherwise guitarix's bundled copies will +# be used. I only mention this here so I won't forget again... + # Modified version released under the WTFPL, for details see # http://www.wtfpl.net/txt/copying/ PRGNAM=guitarix -VERSION=${VERSION:-0.34.0} +VERSION=${VERSION:-0.35.1} 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 @@ -66,8 +83,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686 -msse" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686 -msse" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686 -msse" @@ -90,7 +107,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$TARNAME-$VERSION.tar.bz2 +tar xvf $CWD/$TARNAME-$VERSION.tar.xz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -99,27 +116,11 @@ 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 {} \; -# Confusing freedesktop.org standard is confusing. -# To pass desktop-file-validate, we need both Audio and AudioVideo, even -# though the wording of the error message is 'requires another category to -# be present among', implying we should only need Audio *or* AudioVideo. -sed -i '/^Categories/s,$,Audio;,;' $PRGNAM.desktop.in - # this is no longer documented in README, but still here for debugging. if [ "${LV2:-yes}" = "no" ]; then LV2OPT=--no-lv2 fi -# patches are optional (undocumented in README, on purpose) -if [ "${PATCH:-no}" = "yes" ]; then - for patch in $CWD/patches/*.patch; do - patch -p2 < "$patch" - done -fi - -# Disallow building non-SSE package -[ "${SSE:-yes}" = "no" ] && echo "Building a non-SSE package is not supported." && exit 1 - LIBDIR="/usr/lib${LIBDIRSUFFIX}" ./waf configure \ --prefix=/usr \ @@ -139,8 +140,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr # Shared libraries are supposed to be +x. chmod 755 $PKG/$LIBDIR/libgx*.so.?.? -# Man page written for this SlackBuild. It's for guitarix-0.32.3, but -# the command line options haven't changed since then. +# Man page written for this SlackBuild, see guitarix.rst. mkdir -p $PKG/usr/man/man1 gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz |