Add caca FLAVOR to have support for libcaca (color ascii art library)

ok pvalchev@
This commit is contained in:
robert 2004-04-23 12:09:18 +00:00
parent a634243732
commit 1838900473
3 changed files with 17 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.31 2004/04/18 17:21:13 pvalchev Exp $
# $OpenBSD: Makefile,v 1.32 2004/04/23 12:09:18 robert Exp $
# Uses pthreads
COMMENT= "cross-platform multimedia library"
@ -20,8 +20,10 @@ PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}release/ \
http://www.devolution.com/~slouken/SDL/release/
MASTER_SITES0= http://dev.beastie.hu/ \
http://www.beastie.hu/
FLAVORS= sun esd arts aa no_x11
FLAVORS= sun esd arts aa caca no_x11
FLAVOR?= sun
SEPARATE_BUILD= concurrent
@ -72,6 +74,13 @@ CONFIGURE_ARGS+= --enable-video-aalib
CONFIGURE_ARGS+= --disable-video-aalib
.endif
.if ${FLAVOR:L:Mcaca}
PATCH_DIST_STRIP= -p1
PATCHFILES= patch-libsd1.2.6-libcaca0.9.diff:0
LIB_DEPENDS+= caca::graphics/libcaca
CONFIGURE_ARGS+= --enable-video-caca
.endif
.if ${FLAVOR:L:Mno_x11}
CONFIGURE_ARGS+= --without-x \
--disable-video-x11

View File

@ -1,3 +1,6 @@
MD5 (SDL-1.2.6.tar.gz) = 9011f147f23ec535515291d0c9c6904c
MD5 (patch-libsd1.2.6-libcaca0.9.diff) = a485a74daf1684397000940366e0cc54
RMD160 (SDL-1.2.6.tar.gz) = 881e4d635ae29ddccb5eb0786e5969075b8ffe96
RMD160 (patch-libsd1.2.6-libcaca0.9.diff) = bbae0fce638b6f4f340042e7d4d4d9e901bb5555
SHA1 (SDL-1.2.6.tar.gz) = 6f64b79427ea279e5ae18ea07d9fe353fd138422
SHA1 (patch-libsd1.2.6-libcaca0.9.diff) = 551a5a9e2f485cbc86bfa9b657891997a5e94185

View File

@ -10,6 +10,9 @@ Packages can be built with additional FLAVORs:
esd: SDL built with the esound package.
This FLAVOR requires the esound package.
caca: SDL built with colour ASCII art support.
This FLAVOR requires the libcaca package.
arts: SDL built with ARTS support.
This FLAVOR requires the kdelibs package.