From 5eae26b7b41bbd559019b093333e0218f553db5f Mon Sep 17 00:00:00 2001 From: B Watson Date: Tue, 13 Jan 2015 06:50:53 +0700 Subject: audio/mp3splt-gtk: Updated for version 0.9.2. Signed-off-by: Willy Sudiarto Raharjo --- audio/mp3splt-gtk/mp3splt-gtk.SlackBuild | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'audio/mp3splt-gtk/mp3splt-gtk.SlackBuild') diff --git a/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild b/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild index fe45e226cf..2057ac085f 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 \ -- cgit v1.2.3