diff options
author | B. Watson <yalhcru@gmail.com> | 2014-03-14 16:35:57 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-03-21 13:01:15 -0500 |
commit | bdafd82aae90befcb289cfc17cbf348c7e17fde8 (patch) | |
tree | 25f25f3c8988b0eca408bb261a795105bbd0cd43 /games/xroar/xroar.SlackBuild | |
parent | 9b10df2f47d271864756879f696846e7d08e3485 (diff) |
games/xroar: Updated for version 0.31.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/xroar/xroar.SlackBuild')
-rw-r--r-- | games/xroar/xroar.SlackBuild | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/games/xroar/xroar.SlackBuild b/games/xroar/xroar.SlackBuild index 9bedcb9de585..d3a37f586ccd 100644 --- a/games/xroar/xroar.SlackBuild +++ b/games/xroar/xroar.SlackBuild @@ -4,7 +4,14 @@ # Written by B. Watson (yalhcru@gmail.com) -# Licensed under the WTFPL. See http://sam.zoy.org/wtfpl/ for details. +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + +# 20140313 bkw: +# - update for 0.31.1 +# - change download link to upstream's, looks OK now +# - update alsa_first.diff (module.c -> src/module.c) +# - update man page (new options, convert to POD) +# - add jack support # 20130617 bkw: # - update for 0.29.5 @@ -19,7 +26,7 @@ # - mention gtkglext in README as an optional dep PRGNAM=xroar -VERSION=${VERSION:-0.29.5} +VERSION=${VERSION:-0.31.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -70,12 +77,17 @@ find -L . \ # apps from making any sound at all!) patch -p1 < $CWD/alsa_first.diff +# Not sure why anyone would need this, but it's easy to support. +JACKOPT="--disable-jack" +[ "${JACK:-no}" = "yes" ] && JACKOPT="--enable-jack" + # fix underlinking via LDFLAGS instead of a .diff LDFLAGS="-lm" \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ + $JACKOPT \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ @@ -117,10 +129,13 @@ fi # Man page written for this SlackBuild mkdir -p $PKG/usr/man/man6 -sed "s,@VERSION@,$VERSION,g" < $CWD/$PRGNAM.6 | gzip -9c > $PKG/usr/man/man6/$PRGNAM.6.gz +sed "s,_VERSION_,$VERSION,g" < $CWD/$PRGNAM.6 | gzip -9c > $PKG/usr/man/man6/$PRGNAM.6.gz # Icon taken from Fedora package here: # ftp://mirror.switch.ch/pool/3/mirror/rpmfusion/free/fedora/updates/8/i386/xroar-0.21-2.fc8.i386.rpm +# Current versions of xroar include windows and mac icons that are larger, +# but they don't include the word 'xroar' (just the X-shaped graphic), so +# I'm sticking with the old Fedora icon. mkdir $PKG/usr/share/pixmaps cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png |