From adab26b664d6f0865d726420499f09c617e94bc7 Mon Sep 17 00:00:00 2001 From: alxf Date: Mon, 13 Jun 2016 20:38:15 +0200 Subject: [PATCH 1/3] libcaca: update source and x11 driver. --- srcpkgs/libcaca/template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/libcaca/template b/srcpkgs/libcaca/template index cce70927d5..554cbe7909 100644 --- a/srcpkgs/libcaca/template +++ b/srcpkgs/libcaca/template @@ -1,16 +1,16 @@ # Template file for 'libcaca' pkgname=libcaca version=0.99.beta19 -revision=6 +revision=7 build_style=gnu-configure hostmakedepends="libtool automake pkg-config" short_desc="Graphics library that outputs text instead of pixels" maintainer="Juan RP " -makedepends="ncurses-devel" +makedepends="libX11-devel ncurses-devel" homepage="http://caca.zoy.org/wiki/libcaca" license="WTFPL" -distfiles="http://caca.zoy.org/files/libcaca/libcaca-${version}.tar.gz" -checksum=128b467c4ed03264c187405172a4e83049342cc8cc2f655f53a2d0ee9d3772f4 +distfiles="https://github.com/cacalabs/libcaca/archive/v${version}.tar.gz" +checksum=7ed29a00cc7f017424d8b2994f001f137ed5bc4441987b711d78c6734fdf3493 pre_configure() { sed -i -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,' configure.ac From 60254931036378fdc78a9b9020858f320002b98a Mon Sep 17 00:00:00 2001 From: alxf Date: Tue, 14 Jun 2016 20:00:58 +0200 Subject: [PATCH 2/3] 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 554cbe7909..f13ebb4492 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 From d22120f0bbf30491b6a3e851f2cce7791bc38d36 Mon Sep 17 00:00:00 2001 From: alxf Date: Wed, 15 Jun 2016 08:28:13 +0200 Subject: [PATCH 3/3] Remove useless desc build option. --- srcpkgs/libcaca/template | 1 - 1 file changed, 1 deletion(-) diff --git a/srcpkgs/libcaca/template b/srcpkgs/libcaca/template index f13ebb4492..a565cf1e60 100644 --- a/srcpkgs/libcaca/template +++ b/srcpkgs/libcaca/template @@ -14,7 +14,6 @@ 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