mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 19:32:57 +02:00
mpd: fix build with ffmpeg>=2.1.
This commit is contained in:
parent
a0250e445f
commit
7420b880ac
1 changed files with 6 additions and 1 deletions
|
@ -3,7 +3,8 @@ pkgname=mpd
|
||||||
version=0.17.6
|
version=0.17.6
|
||||||
revision=2
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-jack --enable-lastfm --enable-soundcloud --enable-pipe-output
|
configure_args="
|
||||||
|
--enable-jack --enable-lastfm --enable-soundcloud --enable-pipe-output
|
||||||
--enable-pulse --disable-sidplay --with-systemdsystemunitdir=/usr/lib/systemd/system
|
--enable-pulse --disable-sidplay --with-systemdsystemunitdir=/usr/lib/systemd/system
|
||||||
--enable-bzip2 --enable-zzip"
|
--enable-bzip2 --enable-zzip"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
|
@ -20,6 +21,10 @@ homepage="http://www.musicpd.org/"
|
||||||
distfiles="http://www.musicpd.org/download/mpd/${version%.*}/mpd-${version}.tar.xz"
|
distfiles="http://www.musicpd.org/download/mpd/${version%.*}/mpd-${version}.tar.xz"
|
||||||
checksum=defd23931bd3f0aaee82a079a0583278e51e25f480509a93bc5f70de7f421906
|
checksum=defd23931bd3f0aaee82a079a0583278e51e25f480509a93bc5f70de7f421906
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
sed 's:AVCODEC_MAX_AUDIO_FRAME_SIZE:192000:g' -i src/decoder/ffmpeg_decoder_plugin.c
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall doc/mpdconf.example 644 etc mpd.conf
|
vinstall doc/mpdconf.example 644 etc mpd.conf
|
||||||
vinstall ${FILESDIR}/tmpfiles.d 644 usr/lib/tmpfiles.d mpd.conf
|
vinstall ${FILESDIR}/tmpfiles.d 644 usr/lib/tmpfiles.d mpd.conf
|
||||||
|
|
Loading…
Add table
Reference in a new issue