9eeeb1d051
- improved palette handling (should be faster), - reorganize the code to make workaround hooks easier, - add a workaround for the 16bit r5g6b5 pixel case. this fixes crashes on 16 bit displays with RENDER disabled from maintainer Eric Faurot, thanks for writing this! discussed with kurt, bernd, espie.
39 lines
843 B
Makefile
39 lines
843 B
Makefile
# $OpenBSD: Makefile,v 1.7 2006/06/10 12:26:19 steven Exp $
|
|
|
|
COMMENT= "vector graphics library"
|
|
|
|
PKGNAME= ${DISTNAME}p0
|
|
DISTNAME= cairo-1.0.4
|
|
SHARED_LIBS= cairo 4.4
|
|
CATEGORIES= graphics
|
|
|
|
HOMEPAGE= http://cairographics.org/introduction
|
|
|
|
MAINTAINER= Eric Faurot <eric.faurot@gmail.com>
|
|
|
|
WANTLIB= X11 Xext Xrender freetype fontconfig m z
|
|
|
|
# LGPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://cairographics.org/releases/
|
|
|
|
USE_X11= Yes
|
|
USE_LIBTOOL= Yes
|
|
|
|
BUILD_DEPENDS+= :pkgconfig-*:devel/pkgconfig
|
|
|
|
LIB_DEPENDS= png::graphics/png \
|
|
glitz::graphics/glitz
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ENV= PKG_CONFIG_PATH="${X11BASE}/lib/pkgconfig"
|
|
CONFIGURE_ARGS+= --enable-ps
|
|
CONFIGURE_ARGS+= --enable-pdf
|
|
CONFIGURE_ARGS+= --enable-glitz
|
|
|
|
.include <bsd.port.mk>
|