Packages should not own this dir to prevent its deletion or a warning that it cannot be removed because it's not empty at pkg_delete(1) time.
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.49 2015/05/22 11:31:15 ajacoutot Exp $
|
|
|
|
COMMENT= graphic library for gtk+2
|
|
|
|
GNOME_PROJECT= gdk-pixbuf
|
|
GNOME_VERSION= 2.30.8
|
|
REVISION= 0
|
|
|
|
CATEGORIES= graphics
|
|
|
|
SHARED_LIBS += gdk_pixbuf-2.0 3000.0 # 3000.7
|
|
SHARED_LIBS += gdk_pixbuf_xlib-2.0 3000.0 # 3000.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>
|