From 60254931036378fdc78a9b9020858f320002b98a Mon Sep 17 00:00:00 2001 From: alxf Date: Tue, 14 Jun 2016 20:00:58 +0200 Subject: [PATCH] Update the x11 driver dep as build option. --- srcpkgs/libcaca/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/libcaca/template b/srcpkgs/libcaca/template index 554cbe79090..f13ebb44929 100644 --- a/srcpkgs/libcaca/template +++ b/srcpkgs/libcaca/template @@ -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 " -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