summaryrefslogtreecommitdiff
path: root/audio/lastfm/lastfm.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-02-13 16:46:39 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-15 07:18:16 +0700
commit26cf71ba2d7909f648fd0e0efba3706a8099ce8b (patch)
treeb0f1a310887c109d4ba87b69c70b19f0543164b2 /audio/lastfm/lastfm.SlackBuild
parented4f3ed13425cbdeb6c9dc36d20fc073a91821ec (diff)
downloadslackbuilds-26cf71ba2d7909f648fd0e0efba3706a8099ce8b.tar.gz
audio/lastfm: Fixed for the newer ffmpeg.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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