xpra: add vpx build_option
This commit is contained in:
parent
ae88eb1a36
commit
1c305a8c59
1 changed files with 9 additions and 2 deletions
|
@ -12,8 +12,8 @@ conf_files="
|
||||||
pycompile_module="xpra"
|
pycompile_module="xpra"
|
||||||
hostmakedepends="python pkg-config python-Cython"
|
hostmakedepends="python pkg-config python-Cython"
|
||||||
makedepends="ffmpeg-devel libXcomposite-devel libXdamage-devel libXrandr-devel
|
makedepends="ffmpeg-devel libXcomposite-devel libXdamage-devel libXrandr-devel
|
||||||
libXtst-devel libvpx-devel libwebp-devel libxkbfile-devel pygtk-devel
|
libXtst-devel libwebp-devel libxkbfile-devel pygtk-devel x264-devel
|
||||||
x264-devel"
|
$(vopt_if vpx libvpx-devel)"
|
||||||
depends="pygtk python-Pillow xorg-server-xvfb python-rencode python-lz4
|
depends="pygtk python-Pillow xorg-server-xvfb python-rencode python-lz4
|
||||||
python-cups xf86-video-dummy python-PyOpenGL-accelerate pulseaudio cups
|
python-cups xf86-video-dummy python-PyOpenGL-accelerate pulseaudio cups
|
||||||
python-dbus xauth python-numpy"
|
python-dbus xauth python-numpy"
|
||||||
|
@ -24,6 +24,13 @@ homepage="http://xpra.org/"
|
||||||
distfiles="https://xpra.org/src/${pkgname}-${version}.tar.xz"
|
distfiles="https://xpra.org/src/${pkgname}-${version}.tar.xz"
|
||||||
checksum=415eea94dc7efabb1fd2e4eaa8a7665fefe65ed91be1cf31605394fb6d48ec17
|
checksum=415eea94dc7efabb1fd2e4eaa8a7665fefe65ed91be1cf31605394fb6d48ec17
|
||||||
|
|
||||||
|
build_options="vpx"
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
armv6*) ;;
|
||||||
|
*) build_options_default+=" vpx" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
sed -i 's/-Werror/-Wno-error/g' setup.py # ugh
|
sed -i 's/-Werror/-Wno-error/g' setup.py # ugh
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue