diff options
author | Eugene Gorodinsky | 2019-04-16 17:02:58 +0300 |
---|---|---|
committer | Eugene Gorodinsky | 2019-04-16 17:02:58 +0300 |
commit | 528860ddf1f742f1817d1aaa4dbeee75d7348639 (patch) | |
tree | 7b8340788f91f92966bfdcade8df6dcae1f2fae3 | |
parent | 537dcb415d50914173151f02c19bcfbb42968b1a (diff) | |
download | aur-mpd-lightest.tar.gz |
fix previous commit
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | ffmpeg.patch | 13 |
3 files changed, 16 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = mpd-lightest pkgdesc = "Lightest" mpd version with everything disabled. Modify PKGBUILD and enable the features and flags you need pkgver = 0.21.7 - pkgrel = 2 + pkgrel = 3 url = https://www.musicpd.org/ install = mpd.install arch = i686 @@ -9,7 +9,7 @@ pkgname=mpd-lightest pkgver=0.21.7 _majorver=0.21 -pkgrel=2 +pkgrel=3 pkgdesc='"Lightest" mpd version with everything disabled. Modify PKGBUILD and enable the features and flags you need' url='https://www.musicpd.org/' license=('GPL') @@ -31,7 +31,7 @@ install=mpd.install prepare() { cd "${srcdir}/mpd-${pkgver}" patch --input="${srcdir}/../meson.patch" - patch -p0 -R --input="${srcdir}/../ffmpeg.patch" + patch -p2 --input="${srcdir}/../ffmpeg.patch" install -d build } diff --git a/ffmpeg.patch b/ffmpeg.patch new file mode 100644 index 000000000000..11c8e3263794 --- /dev/null +++ b/ffmpeg.patch @@ -0,0 +1,13 @@ +diff --git origin/mpd-0.21.7/src/input/plugins/FfmpegInputPlugin.cxx new/mpd-0.21.7/src/input/plugins/FfmpegInputPlugin.cxx +index 198f4bd17..58686bf47 100644 +--- origin/mpd-0.21.7/src/input/plugins/FfmpegInputPlugin.cxx ++++ new/mpd-0.21.7/src/input/plugins/FfmpegInputPlugin.cxx +@@ -118,6 +118,8 @@ static constexpr const char *ffmpeg_prefixes[] = { + "rtmp://", + "rtmpt://", + "rtmps://", ++ "http://", ++ "https://", + nullptr + }; + |