xpra: add vpx build_option

This commit is contained in:
Duncaen 2017-01-23 15:58:02 +01:00
parent ae88eb1a36
commit 1c305a8c59
1 changed files with 9 additions and 2 deletions

View File

@ -12,8 +12,8 @@ conf_files="
pycompile_module="xpra"
hostmakedepends="python pkg-config python-Cython"
makedepends="ffmpeg-devel libXcomposite-devel libXdamage-devel libXrandr-devel
libXtst-devel libvpx-devel libwebp-devel libxkbfile-devel pygtk-devel
x264-devel"
libXtst-devel libwebp-devel libxkbfile-devel pygtk-devel x264-devel
$(vopt_if vpx libvpx-devel)"
depends="pygtk python-Pillow xorg-server-xvfb python-rencode python-lz4
python-cups xf86-video-dummy python-PyOpenGL-accelerate pulseaudio cups
python-dbus xauth python-numpy"
@ -24,6 +24,13 @@ homepage="http://xpra.org/"
distfiles="https://xpra.org/src/${pkgname}-${version}.tar.xz"
checksum=415eea94dc7efabb1fd2e4eaa8a7665fefe65ed91be1cf31605394fb6d48ec17
build_options="vpx"
case "$XBPS_TARGET_MACHINE" in
armv6*) ;;
*) build_options_default+=" vpx" ;;
esac
post_extract() {
sed -i 's/-Werror/-Wno-error/g' setup.py # ugh
}