Update the x11 driver dep as build option.

This commit is contained in:
alxf 2016-06-14 20:00:58 +02:00
parent adab26b664
commit 6025493103

View file

@ -6,12 +6,16 @@ build_style=gnu-configure
hostmakedepends="libtool automake pkg-config"
short_desc="Graphics library that outputs text instead of pixels"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
makedepends="libX11-devel ncurses-devel"
makedepends="ncurses-devel $(vopt_if x11 libX11-devel)"
homepage="http://caca.zoy.org/wiki/libcaca"
license="WTFPL"
distfiles="https://github.com/cacalabs/libcaca/archive/v${version}.tar.gz"
checksum=7ed29a00cc7f017424d8b2994f001f137ed5bc4441987b711d78c6734fdf3493
# package build options
build_options="x11"
desc_option_x11="Enable x11 driver"
pre_configure() {
sed -i -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,' configure.ac
autoreconf -fi