Merge pull request #4327 from alxf/libcaca-repo

libcaca: update source and add x11 driver.
This commit is contained in:
Enno Boland 2016-06-16 06:40:27 +02:00 committed by GitHub
commit 77e4a2f7e9

View file

@ -1,16 +1,19 @@
# Template file for 'libcaca' # Template file for 'libcaca'
pkgname=libcaca pkgname=libcaca
version=0.99.beta19 version=0.99.beta19
revision=6 revision=7
build_style=gnu-configure 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="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="http://caca.zoy.org/files/libcaca/libcaca-${version}.tar.gz" distfiles="https://github.com/cacalabs/libcaca/archive/v${version}.tar.gz"
checksum=128b467c4ed03264c187405172a4e83049342cc8cc2f655f53a2d0ee9d3772f4 checksum=7ed29a00cc7f017424d8b2994f001f137ed5bc4441987b711d78c6734fdf3493
# package build options
build_options="x11"
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