diff options
author | B Watson <yalhcru@gmail.com> | 2015-01-13 06:50:53 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-01-13 06:51:25 +0700 |
commit | 5eae26b7b41bbd559019b093333e0218f553db5f (patch) | |
tree | bd88a966ad705289c85ad779679d57f6fa75bab0 /audio/mp3splt-gtk/mp3splt-gtk.SlackBuild | |
parent | a0372bb151a3c2b372af7426a7ea6dab97ce8702 (diff) |
audio/mp3splt-gtk: Updated for version 0.9.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/mp3splt-gtk/mp3splt-gtk.SlackBuild')
-rw-r--r-- | audio/mp3splt-gtk/mp3splt-gtk.SlackBuild | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild b/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild index fe45e226cfc25..2057ac085f120 100644 --- a/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild +++ b/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild @@ -24,12 +24,18 @@ # 20140819 bkw: # - Updated for v0.9.1a -# - Use make isntall-strip instead of find/xargs/strip +# - Use make install-strip instead of find/xargs/strip # - Get rid of redundant/empty TODO and INSTALL from /usr/doc # - Don't waste time building doxygen docs, since we don't install them +# 20150107 bkw: +# - Updated for v0.9.2 +# - Added GSTREAMER=no option, as requested by Arthur Fontolan. +# - Added default_player.diff: if GSTREAMER=no, the default player +# will be audacious. Sent patch to upstream too. + PRGNAM=mp3splt-gtk -VERSION=${VERSION:-0.9.1a} +VERSION=${VERSION:-0.9.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -75,6 +81,14 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +patch -p1 < $CWD/default_player.diff + +if [ "${GSTREAMER:-yes}" = "yes" ]; then + GSTOPT="enable" +else + GSTOPT="disable" +fi + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -82,6 +96,7 @@ CXXFLAGS="$SLKCFLAGS" \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ + --${GSTOPT}-gstreamer \ --disable-gnome \ --disable-scrollkeeper \ --disable-doxygen_doc \ |