diff options
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 fe45e226cfc2..2057ac085f12 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 \ |