Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # $OpenBSD: Makefile,v 1.64 2017/03/27 07:06:16 ajacoutot Exp $
  2. COMMENT= graphic library for gtk+2
  3. GNOME_PROJECT= gdk-pixbuf
  4. GNOME_VERSION= 2.36.6
  5. CATEGORIES= graphics
  6. SHARED_LIBS += gdk_pixbuf-2.0 3200.1 # 3600.6
  7. SHARED_LIBS += gdk_pixbuf_xlib-2.0 3200.0 # 3600.6
  8. HOMEPAGE= http://www.gtk.org/
  9. MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
  10. # LGPLv2
  11. PERMIT_PACKAGE_CDROM= Yes
  12. WANTLIB += X11 c ffi gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
  13. WANTLIB += iconv intl jasper jpeg m pcre png pthread tiff xcb
  14. WANTLIB += z
  15. MODULES= x11/gnome
  16. LIB_DEPENDS= devel/glib2 \
  17. graphics/jasper \
  18. graphics/png \
  19. graphics/tiff
  20. # configure: detect and set GDK_PIXBUF_USE_GIO_MIME
  21. # (g_content_type_from_mime_type requires shared-mime-info)
  22. BUILD_DEPENDS += misc/shared-mime-info
  23. MODGNOME_TOOLS += gobject-introspection shared-mime-info
  24. CONFIGURE_STYLE= gnu
  25. CONFIGURE_ARGS= --with-libjasper \
  26. --with-x11
  27. TEST_DEPENDS= ${BASE_PKGPATH}=${GNOME_VERSION}
  28. post-install:
  29. rm ${PREFIX}/lib/gdk-pixbuf-2.0/2.10.0/loaders/*.{a,la}
  30. .include <bsd.port.mk>