aboutsummaryrefslogtreecommitdiffstats
path: root/main/audacious-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'main/audacious-plugins')
-rw-r--r--main/audacious-plugins/APKBUILD8
-rw-r--r--main/audacious-plugins/audacious-plugins-ffmpeg-0.8.patch20
2 files changed, 25 insertions, 3 deletions
diff --git a/main/audacious-plugins/APKBUILD b/main/audacious-plugins/APKBUILD
index b44309f12f..34a3063978 100644
--- a/main/audacious-plugins/APKBUILD
+++ b/main/audacious-plugins/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=audacious-plugins
pkgver=2.5.1
-pkgrel=1
+pkgrel=2
pkgdesc="playlist-oriented media player with multiple interfaces (plugins)"
url="http://audacious-media-player.org/"
arch="all"
@@ -46,7 +46,8 @@ makedepends="libmowgli-dev
install=
subpackages=
source="http://distfiles.atheme.org/$pkgname-$pkgver.tgz
- audacious-plugins-2.5.1-vorbis.patch"
+ audacious-plugins-2.5.1-vorbis.patch
+ audacious-plugins-ffmpeg-0.8.patch"
_builddir="$srcdir"/$pkgname-$pkgver
@@ -86,4 +87,5 @@ package() {
}
md5sums="809d4429d3fbe51f9c19479c3138e6d7 audacious-plugins-2.5.1.tgz
-891db73ec2d00343d06f0a64a57456ac audacious-plugins-2.5.1-vorbis.patch"
+891db73ec2d00343d06f0a64a57456ac audacious-plugins-2.5.1-vorbis.patch
+174fc707d49d5973fc16a3f935f0c49d audacious-plugins-ffmpeg-0.8.patch"
diff --git a/main/audacious-plugins/audacious-plugins-ffmpeg-0.8.patch b/main/audacious-plugins/audacious-plugins-ffmpeg-0.8.patch
new file mode 100644
index 0000000000..a7554458e3
--- /dev/null
+++ b/main/audacious-plugins/audacious-plugins-ffmpeg-0.8.patch
@@ -0,0 +1,20 @@
+--- ./src/ffaudio/ffaudio-core.c.orig
++++ ./src/ffaudio/ffaudio-core.c
+@@ -341,7 +341,7 @@
+ {
+ s = ic->streams[i];
+ c = s->codec;
+- if (c->codec_type == CODEC_TYPE_AUDIO)
++ if (c->codec_type == AVMEDIA_TYPE_AUDIO)
+ {
+ av_find_stream_info(ic);
+ codec = avcodec_find_decoder(c->codec_id);
+@@ -415,7 +415,7 @@
+ {
+ s = ic->streams[i];
+ c = s->codec;
+- if (c->codec_type == CODEC_TYPE_AUDIO)
++ if (c->codec_type == AVMEDIA_TYPE_AUDIO)
+ {
+ av_find_stream_info(ic);
+ codec = avcodec_find_decoder(c->codec_id);