From 04956380e25e9cec66cab1ddc63c7c0dd731f7b3 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Sat, 2 Jan 2016 15:22:00 -0600 Subject: audio/mp3splt-gtk: Fixed build for gstreamer-1.x Signed-off-by: Robby Workman --- audio/mp3splt-gtk/README | 6 ------ audio/mp3splt-gtk/mp3splt-gtk.SlackBuild | 10 ++-------- 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 \ -- cgit v1.2.3-80-g2a13