summaryrefslogtreecommitdiffstats
path: root/audio/lastfm/lastfm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/lastfm/lastfm.SlackBuild')
-rw-r--r--audio/lastfm/lastfm.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/lastfm/lastfm.SlackBuild b/audio/lastfm/lastfm.SlackBuild
index 142b932ef6..ac88062b9c 100644
--- a/audio/lastfm/lastfm.SlackBuild
+++ b/audio/lastfm/lastfm.SlackBuild
@@ -72,13 +72,13 @@ find -L . \
# Fix paths.
cat $CWD/package-paths.patch | sed -e "s|@LIBDIRSUFFIX@|$LIBDIRSUFFIX|" \
| patch -p1
-# Fix for ffmpeg 2.x.
-patch -p1 < $CWD/ffmpeg-2.0.patch
# Fix for "ambiguous overload for ‘operator<<’" in gcc-4.9
# thanks to Spiek on github (https://github.com/lastfm/lastfm-desktop/pull/44)
patch -p1 < $CWD/github-192b979c57a.patch
# Turn on verbose compile output.
sed -i 's|^CONFIG.*|#&|' admin/include.qmake
+# Fix for ffmpeg 3.x
+patch -p0 < $CWD/LAV_Source_fix.patch
qmake PREFIX="/usr" QMAKE_CFLAGS+="$SLKCFLAGS" QMAKE_CXXFLAGS+="$SLKCFLAGS" \
CONFIG+="release" LIBS+="-L/usr/lib${LIBDIRSUFFIX}" -o Makefile Last.fm.pro