openbsd-ports/x11/e17/evas/Makefile

57 lines
1.5 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.10 2010/01/12 08:40:37 ajacoutot Exp $
COMMENT = canvas API for X
DISTNAME = evas-0.9.9.061
PKGNAME = ${DISTNAME}v0p0
SHARED_LIBS += evas 0.0 \
evas-ver-svn-02 0.0
# BSD
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
USE_X11 = Yes
USE_LIBTOOL = Yes
WANTLIB += GL GLU X11 Xau Xdmcp Xext Xrender crypto eina expat
WANTLIB += fontconfig freetype jpeg m pixman-1 pthread-stubs
WANTLIB += ssl xcb xcb-image xcb-render xcb-shm z
LIB_DEPENDS = png::graphics/png \
gif::graphics/libungif \
tiff::graphics/tiff \
eet::x11/e17/eet
# Eventually more loaders will be enabled,
# -enable-gl-x11 might be added for some arch
CONFIGURE_ARGS += --disable-fribidi \
--disable-image-loader-svg \
--disable-image-loader-edb \
--disable-cpu-sse \
--disable-cpu-sse2 \
--disable-cpu-altivec \
--enable-image-loader-jpeg \
--enable-image-loader-png \
--enable-image-loader-gif \
--enable-gl-x11 \
--enable-software-x11 \
--enable-buffer \
--enable-software-x11 \
--enable-xrender-x11 \
--enable-gl-x11 \
--enable-software-xcb \
--enable-xrender-xcb \
--enable-gl-glew \
--enable-software-16-x11
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
FULLARCH = ${MACHINE_ARCH:S/amd64/x86_64/}
SUBST_VARS += FULLARCH
.include <bsd.port.mk>