cairo-devel: depend on MesaLib-devel if opengl or gles2 options are set.
This commit is contained in:
parent
f1a4da775b
commit
866292b16a
2 changed files with 5 additions and 1 deletions
|
@ -5,6 +5,10 @@ depends="fontconfig-devel glib-devel libpng-devel>=1.5.10
|
|||
short_desc="${short_desc} -- development files"
|
||||
noarch=yes
|
||||
|
||||
if [ "$build_option_opengl" -o "$build_option_gles2" ]; then
|
||||
depends="${depends} MesaLib-devel"
|
||||
fi
|
||||
|
||||
do_install() {
|
||||
vmove usr/include usr
|
||||
vmove usr/share usr
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template build file for 'cairo'.
|
||||
pkgname=cairo
|
||||
version=1.12.14
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static --enable-tee"
|
||||
subpackages="$pkgname-devel"
|
||||
|
|
Loading…
Add table
Reference in a new issue