Makefile 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # $OpenBSD: Makefile,v 1.16 2016/03/11 20:28:26 naddy Exp $
  2. COMMENT= GTK+ support library for colord
  3. DISTNAME= colord-gtk-0.1.26
  4. EXTRACT_SUFX= .tar.xz
  5. REVISION= 1
  6. SHARED_LIBS += colord-gtk 0.0 # 1.0
  7. CATEGORIES= graphics print
  8. HOMEPAGE= http://www.freedesktop.org/software/colord/
  9. MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
  10. # LGPLv3
  11. PERMIT_PACKAGE_CDROM= Yes
  12. WANTLIB += ICE SM X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
  13. WANTLIB += Xrandr Xrender atk-1.0 atk-bridge-2.0 atspi c cairo
  14. WANTLIB += cairo-gobject colord colordprivate dbus-1 epoxy expat ffi
  15. WANTLIB += fontconfig freetype gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0
  16. WANTLIB += gmodule-2.0 gobject-2.0 graphite2 gthread-2.0 gtk-3 harfbuzz
  17. WANTLIB += lcms2 m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
  18. WANTLIB += png pthread pthread-stubs xcb xcb-render xcb-shm z
  19. MASTER_SITES= http://www.freedesktop.org/software/colord/releases/
  20. MODULES= devel/gettext \
  21. textproc/intltool
  22. BUILD_DEPENDS= devel/gobject-introspection \
  23. lang/vala \
  24. textproc/docbook2x
  25. LIB_DEPENDS= graphics/colord \
  26. x11/gtk+3
  27. USE_GMAKE= Yes
  28. CONFIGURE_STYLE=gnu
  29. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  30. LDFLAGS="-L${LOCALBASE}/lib"
  31. CONFIGURE_ARGS= --enable-introspection \
  32. --enable-vala
  33. pre-configure:
  34. sed -i -e 's,-Wclobbered,,g;' \
  35. -e 's,-Wempty-body,,g;' \
  36. -e 's,-Wignored-qualifiers,,g;' \
  37. -e 's,-Wtype-limits,,g;' \
  38. -e 's,-Wmissing-parameter-type,,g' \
  39. ${WRKSRC}/configure
  40. .include <bsd.port.mk>