summaryrefslogtreecommitdiff
path: root/audio/qjackctl/qjackctl.SlackBuild
diff options
context:
space:
mode:
authorJim Brewster <geminijim@gmail.com>2012-02-19 14:49:59 -0600
committerRobby Workman <rworkman@slackbuilds.org>2012-02-20 12:20:46 -0600
commit57c5231db012420e75f2a682adfc15ae9b048efc (patch)
tree14d5ea0f1736f0f51b5293cadf8f725afa4e4bf7 /audio/qjackctl/qjackctl.SlackBuild
parent68863f69bf98f108f346343caf4cc88430dc69f4 (diff)
downloadslackbuilds-57c5231db012420e75f2a682adfc15ae9b048efc.tar.gz
audio/qjackctl: Fix build on x86_64; new maintainer
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'audio/qjackctl/qjackctl.SlackBuild')
-rw-r--r--audio/qjackctl/qjackctl.SlackBuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/audio/qjackctl/qjackctl.SlackBuild b/audio/qjackctl/qjackctl.SlackBuild
index 0359aab729..1244c4591b 100644
--- a/audio/qjackctl/qjackctl.SlackBuild
+++ b/audio/qjackctl/qjackctl.SlackBuild
@@ -2,7 +2,8 @@
#
# Slackware build script for QjackCtl
#
-# Copyright 2009 Erik W. Hanson, Minneapolis, MN, USA
+# Copyright 2009, Erik W. Hanson, Minneapolis, MN, USA
+# Copyright 2012, James M. Brewster, Baltimore, MD, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +25,7 @@
PRGNAM=qjackctl
VERSION=0.3.4
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -71,6 +72,11 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Tell qmake about our SLKCFLAGS. Required to compile on x86_64
+# system. Thanks to Lyle Sigurdson <lyle@sent.com> on
+# linuxquestions.org for this patch.
+echo "QMAKE_CXXFLAGS_RELEASE=$SLKCFLAGS" >> qjackctl.pro.in
+
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -89,7 +95,7 @@ find $PKG | xargs file | egrep "ELF.*executable" | cut -f 1 -d : \
| xargs strip --strip-unneeded 2> /dev/null
# Make sure we have a standard-compliant desktop file
-zcat $CWD/desktopfile.gz > $PKG/usr/share/applications/qjackctl.desktop
+cat $CWD/qjackctl.desktop > $PKG/usr/share/applications/qjackctl.desktop
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL README TODO TRANSLATORS \