This is supposed to be a development release but it fixes a *lot* of integer overflows, a possible divide-by-zero bug and CVE-2015-4491 -- so we'll make an exception. FreeBSD and most Linux distributions went for this version as well.
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.51 2015/09/01 15:58:26 ajacoutot Exp $
|
|
|
|
COMMENT= graphic library for gtk+2
|
|
|
|
GNOME_PROJECT= gdk-pixbuf
|
|
GNOME_VERSION= 2.31.7
|
|
|
|
CATEGORIES= graphics
|
|
|
|
SHARED_LIBS += gdk_pixbuf-2.0 3001.0 # 3100.7
|
|
SHARED_LIBS += gdk_pixbuf_xlib-2.0 3001.0 # 3100.7
|
|
|
|
HOMEPAGE= http://www.gtk.org/
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
# LGPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB += X11 c ffi gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
|
|
WANTLIB += jasper jpeg m pcre png pthread tiff xcb z
|
|
|
|
MODULES= devel/gettext \
|
|
x11/gnome
|
|
|
|
LIB_DEPENDS= devel/glib2 \
|
|
graphics/jasper \
|
|
graphics/png \
|
|
graphics/tiff
|
|
|
|
# configure: detect and set GDK_PIXBUF_USE_GIO_MIME
|
|
# (g_content_type_from_mime_type requires shared-mime-info)
|
|
BUILD_DEPENDS += misc/shared-mime-info
|
|
|
|
MODGNOME_TOOLS += gobject-introspection shared-mime-info
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS= --with-libjasper \
|
|
--with-x11
|
|
|
|
TEST_DEPENDS= ${BASE_PKGPATH}=${GNOME_VERSION}
|
|
|
|
post-install:
|
|
rm ${PREFIX}/lib/gdk-pixbuf-2.0/2.10.0/loaders/*.{a,la}
|
|
|
|
.include <bsd.port.mk>
|