mpv: fix x86 build and use do_configure() instead.
This commit is contained in:
parent
4df92b7ac3
commit
b65d642143
|
@ -8,13 +8,6 @@ license="GPL-2"
|
|||
homepage="http://mpv.io"
|
||||
|
||||
build_style=configure
|
||||
configure_script="./old-configure"
|
||||
configure_args="--prefix=/usr --confdir=/etc/mpv --enable-joystick
|
||||
--disable-radio --disable-radio-capture --disable-radio-v4l2 --disable-rpath
|
||||
--disable-libbs2b --disable-direct3d --disable-corevideo --disable-cocoa
|
||||
--disable-coreaudio --disable-portaudio --disable-ossaudio --disable-sdl
|
||||
--disable-sdl2 --disable-wayland"
|
||||
|
||||
hostmakedepends="which pkg-config python-docutils"
|
||||
makedepends="ffmpeg-devel>=2.1 libass-devel lcms2-devel libXinerama-devel libquvi-devel
|
||||
mpg123-devel libXv-devel libxkbcommon-devel libva-devel libvdpau-devel alsa-lib-devel
|
||||
|
@ -25,3 +18,12 @@ depends="desktop-file-utils hicolor-icon-theme"
|
|||
do_fetch() {
|
||||
git clone -b v${version} git://github.com/mpv-player/mpv.git mpv-${version}
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
./old-configure --prefix=/usr --confdir=/etc/mpv --enable-joystick \
|
||||
--disable-radio --disable-radio-capture --disable-radio-v4l2 \
|
||||
--disable-libbs2b --disable-direct3d --disable-corevideo \
|
||||
--disable-coreaudio --disable-portaudio --disable-ossaudio \
|
||||
--disable-sdl2 --disable-wayland --disable-rpath --disable-cocoa
|
||||
--disable-sdl
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue