diff options
author | Erik Hanson <erik@slackbuilds.org> | 2014-05-13 16:04:56 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-05-14 07:59:45 +0700 |
commit | 36f2290d9fea9f77a7d4252822e28b4403687aa0 (patch) | |
tree | ea5fc6f01f6f2990f87831415726d86bd9c0548f /libraries | |
parent | a062ae4556cd117d08a5da4d9ddf82e8fcc960e1 (diff) | |
download | slackbuilds-36f2290d9fea9f77a7d4252822e28b4403687aa0.tar.gz |
libraries/allegro: BUILD bump, add MIDI playback support.
Thanks to B. Watson.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/allegro/allegro.SlackBuild | 11 | ||||
-rw-r--r-- | libraries/allegro/allegro.info | 2 |
2 files changed, 11 insertions, 2 deletions
diff --git a/libraries/allegro/allegro.SlackBuild b/libraries/allegro/allegro.SlackBuild index 121ebc6469..5181e763be 100644 --- a/libraries/allegro/allegro.SlackBuild +++ b/libraries/allegro/allegro.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=allegro VERSION=${VERSION:-4.4.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -90,6 +90,15 @@ mkdir -p $PKG/etc cp allegro.cfg $PKG/etc/allegro.cfg.new gzip -9 $PKG/usr/info/*.info* +# 20140512 bkw: if eawpats is installed, create a patches.dat so Allegro +# MIDI playback works. +if [ -e /usr/share/sounds/eawpats/default.cfg ]; then + LD_LIBRARY_PATH=$PKG/usr/lib$LIBDIRSUFFIX \ + $PKG/usr/bin/pat2dat \ + /usr/share/sounds/eawpats/default.cfg \ + $PKG/usr/share/$PRGNAM/patches.dat +fi + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a readme.txt todo.txt AUTHORS CHANGES THANKS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/libraries/allegro/allegro.info b/libraries/allegro/allegro.info index 61825f59e7..78cc136b02 100644 --- a/libraries/allegro/allegro.info +++ b/libraries/allegro/allegro.info @@ -5,6 +5,6 @@ DOWNLOAD="http://downloads.sourceforge.net/alleg/allegro-4.4.2.tar.gz" MD5SUM="4db71b0460fc99926ae91d223199c2e6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="eawpats" MAINTAINER="Erik Hanson" EMAIL="erik@slackbuilds.org" |