openbsd-ports/x11/gnome/librsvg/Makefile

63 lines
1.4 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.86 2013/03/30 20:07:23 ajacoutot Exp $
2012-08-21 02:59:57 -04:00
SHARED_ONLY= Yes
COMMENT= SAX-based render library for SVG files
GNOME_PROJECT= librsvg
2012-10-16 02:21:04 -04:00
GNOME_VERSION= 2.36.4
REVISION= 1
2012-03-29 02:32:39 -04:00
SHARED_LIBS += rsvg-2 38.0 # .38.0
CATEGORIES= devel
2012-03-30 10:09:59 -04:00
HOMEPAGE= https://live.gnome.org/LibRsvg
# GPLv2/LGPLv2
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += X11 Xext Xrender c cairo croco-0.6 expat ffi fontconfig
WANTLIB += freetype gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0
WANTLIB += gobject-2.0 graphite2 gthread-2.0 harfbuzz icudata
WANTLIB += icule icuuc m pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pcre pixman-1 png pthread pthread-stubs xcb xcb-render
WANTLIB += xcb-shm xml2 z
MODULES= devel/gettext \
x11/gnome
MODGNOME_TOOLS= goi vala
2011-11-14 13:00:58 -05:00
LIB_DEPENDS= graphics/gdk-pixbuf2 \
devel/pango \
2012-03-29 02:32:39 -04:00
www/libcroco \
textproc/libxml
CONFIGURE_ARGS= --disable-gtk-theme \
2012-03-29 02:32:39 -04:00
--disable-tools \
--disable-rsvg-view
2013-01-24 02:31:58 -05:00
# error: -Bsymbolic requested but not supported by ld
CONFIGURE_ARGS += --disable-Bsymbolic
### https://bugzilla.gnome.org/show_bug.cgi?id=653323
AUTOCONF_VERSION=2.69
AUTOMAKE_VERSION=1.12
BUILD_DEPENDS +=${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS} \
devel/libtool \
textproc/gtk-doc
pre-configure:
cd ${WRKSRC} && env \
AUTOCONF_VERSION=${AUTOCONF_VERSION} \
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
autoreconf -i
###
post-install:
rm ${PREFIX}/lib/gdk-pixbuf-2.0/2.10.0/loaders/*.{a,la}
2012-03-29 02:32:39 -04:00
.include <bsd.port.mk>