summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2016-01-02 15:22:00 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit04956380e25e9cec66cab1ddc63c7c0dd731f7b3 (patch)
treea48a305d314e6ecfd1dc620fd8d08b70fd599316
parent5a8acd30ca5550cdda2f99a625b61fcca4241d13 (diff)
downloadslackbuilds-04956380e25e9cec66cab1ddc63c7c0dd731f7b3.tar.gz
audio/mp3splt-gtk: Fixed build for gstreamer-1.x
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--audio/mp3splt-gtk/README6
-rw-r--r--audio/mp3splt-gtk/mp3splt-gtk.SlackBuild10
2 files changed, 2 insertions, 14 deletions
diff --git a/audio/mp3splt-gtk/README b/audio/mp3splt-gtk/README
index 26d2043e9f..4e7d88e197 100644
--- a/audio/mp3splt-gtk/README
+++ b/audio/mp3splt-gtk/README
@@ -11,9 +11,3 @@ Mp3splt-project is divided in 3 parts (all available from SlackBuilds.org):
- libmp3splt, a library (created from mp3splt version 2.1c)
- mp3splt, a command line program
- mp3splt-gtk, a GTK2 gui
-
-Although gstreamer1 is listed as a requirement in the .info file, it is
-possible to build mp3splt-gtk without it. This will disable the built-in
-player, so you'll have to use a separate player (such as audacious or
-mplayer) to find the split-points. To do this, set GSTREAMER=no in the
-script's environment.
diff --git a/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild b/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild
index 54a70e2d4d..1ebb3b837a 100644
--- a/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild
+++ b/audio/mp3splt-gtk/mp3splt-gtk.SlackBuild
@@ -42,7 +42,7 @@
PRGNAM=mp3splt-gtk
VERSION=${VERSION:-0.9.2}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -90,12 +90,6 @@ find -L . \
# patch made with 'svn diff -c 1509' in a checked-out repo.
patch -p1 < $CWD/default_player-r1509.diff
-if [ "${GSTREAMER:-yes}" = "yes" ]; then
- GSTOPT="enable"
-else
- GSTOPT="disable"
-fi
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -103,7 +97,7 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --${GSTOPT}-gstreamer \
+ --enable-gstreamer \
--disable-gnome \
--disable-scrollkeeper \
--disable-doxygen_doc \