Update the x11 driver dep as build option.
This commit is contained in:
@@ -6,12 +6,16 @@ build_style=gnu-configure
|
|||||||
hostmakedepends="libtool automake pkg-config"
|
hostmakedepends="libtool automake pkg-config"
|
||||||
short_desc="Graphics library that outputs text instead of pixels"
|
short_desc="Graphics library that outputs text instead of pixels"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
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"
|
homepage="http://caca.zoy.org/wiki/libcaca"
|
||||||
license="WTFPL"
|
license="WTFPL"
|
||||||
distfiles="https://github.com/cacalabs/libcaca/archive/v${version}.tar.gz"
|
distfiles="https://github.com/cacalabs/libcaca/archive/v${version}.tar.gz"
|
||||||
checksum=7ed29a00cc7f017424d8b2994f001f137ed5bc4441987b711d78c6734fdf3493
|
checksum=7ed29a00cc7f017424d8b2994f001f137ed5bc4441987b711d78c6734fdf3493
|
||||||
|
|
||||||
|
# package build options
|
||||||
|
build_options="x11"
|
||||||
|
desc_option_x11="Enable x11 driver"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
sed -i -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,' configure.ac
|
sed -i -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,' configure.ac
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
|
|||||||
Reference in New Issue
Block a user