64 lines
1.5 KiB
Makefile
64 lines
1.5 KiB
Makefile
# $OpenBSD: Makefile,v 1.85 2013/03/11 11:46:11 espie Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= SAX-based render library for SVG files
|
|
|
|
GNOME_PROJECT= librsvg
|
|
GNOME_VERSION= 2.36.4
|
|
REVISION= 0
|
|
|
|
SHARED_LIBS += rsvg-2 38.0 # .38.0
|
|
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= https://live.gnome.org/LibRsvg
|
|
|
|
# GPLv2/LGPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB += GL X11 Xau Xdamage Xdmcp Xext Xfixes Xrender Xxf86vm
|
|
WANTLIB += c cairo croco-0.6 drm expat ffi fontconfig freetype
|
|
WANTLIB += gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
|
|
WANTLIB += gthread-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0
|
|
WANTLIB += pcre pixman-1 png pthread pthread-stubs stdc++ xcb
|
|
WANTLIB += harfbuzz icudata icule icuuc
|
|
WANTLIB += xcb-render xcb-shm xml2 z
|
|
|
|
MODULES= devel/gettext \
|
|
x11/gnome
|
|
|
|
MODGNOME_TOOLS= goi vala
|
|
|
|
LIB_DEPENDS= graphics/gdk-pixbuf2 \
|
|
devel/pango \
|
|
www/libcroco \
|
|
textproc/libxml
|
|
|
|
CONFIGURE_ARGS= --disable-gtk-theme \
|
|
--disable-tools \
|
|
--disable-rsvg-view
|
|
|
|
# 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}
|
|
|
|
.include <bsd.port.mk>
|