mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 11:22:56 +02:00
cairo: disable gl on rpi; conflicts with MesaLib-devel on weston.
This commit is contained in:
parent
7e3410188d
commit
feb6d27821
1 changed files with 6 additions and 11 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'cairo'.
|
# Template build file for 'cairo'.
|
||||||
pkgname=cairo
|
pkgname=cairo
|
||||||
version=1.12.16
|
version=1.12.16
|
||||||
revision=6
|
revision=7
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static --disable-lto --enable-tee --enable-egl
|
configure_args="--disable-static --disable-lto --enable-tee --enable-egl
|
||||||
$(vopt_enable opengl gl) $(vopt_enable gles2 glesv2)"
|
$(vopt_enable opengl gl) $(vopt_enable gles2 glesv2)"
|
||||||
|
@ -23,20 +23,15 @@ pre_configure() {
|
||||||
# Package build options
|
# Package build options
|
||||||
build_options="gles2 opengl"
|
build_options="gles2 opengl"
|
||||||
|
|
||||||
# On RaspberryPi use GLES, otherwise GL.
|
# XXX
|
||||||
if [ "$XBPS_TARGET_MACHINE" = "armv6l" ]; then
|
# On RaspberryPi do not use GL; weston needs rpi-firmware-pcfiles which
|
||||||
build_options_default="gles2"
|
# conflicts with MesaLib-devel.
|
||||||
else
|
if [ "$XBPS_TARGET_MACHINE" != "armv6l" ]; then
|
||||||
build_options_default="opengl"
|
build_options_default="opengl"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$build_option_opengl" -o "$build_option_gles2" ]; then
|
if [ "$build_option_opengl" -o "$build_option_gles2" ]; then
|
||||||
if [ "$XBPS_TARGET_MACHINE" = "armv6l" ]; then
|
makedepends+=" MesaLib-devel"
|
||||||
# rpi use native GLES/EGL implementation
|
|
||||||
makedepends+=" rpi-firmware-pcfiles"
|
|
||||||
else
|
|
||||||
makedepends+=" MesaLib-devel"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cairo-devel_package() {
|
cairo-devel_package() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue