Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # $OpenBSD: Makefile,v 1.20 2017/05/31 08:08:16 espie Exp $
  2. # http://rawpedia.rawtherapee.com/The_Floating_Point_Engine
  3. ONLY_FOR_ARCHS = amd64
  4. COMMENT = RAW image processing application
  5. DISTNAME = rawtherapee-5.1
  6. CATEGORIES = graphics
  7. HOMEPAGE = http://www.rawtherapee.com/
  8. MAINTAINER = Kirill Bychkov <kirby@openbsd.org>
  9. # GPLv3
  10. PERMIT_PACKAGE_CDROM = Yes
  11. WANTLIB += X11 atk-1.0 atkmm-1.6 bz2 c cairo cairo-gobject cairomm-1.0
  12. WANTLIB += canberra canberra-gtk3 expat fftw3f gdk-3 gdk_pixbuf-2.0
  13. WANTLIB += gdkmm-3.0 gio-2.0 giomm-2.4 glib-2.0 glibmm-2.4 gobject-2.0
  14. WANTLIB += gthread-2.0 gtk-3 gtkmm-3.0 intl iptcdata jpeg lcms2
  15. WANTLIB += m pango-1.0 pangocairo-1.0 pangomm-1.4 png pthread
  16. WANTLIB += sigc-2.0 tiff z ${LIBECXX}
  17. MASTER_SITES = http://www.rawtherapee.com/shared/source/
  18. EXTRACT_SUFX = .tar.xz
  19. MODULES = devel/cmake
  20. # c++11
  21. COMPILER = gcc
  22. RUN_DEPENDS = devel/desktop-file-utils \
  23. x11/gtk+3,-guic
  24. LIB_DEPENDS = audio/libcanberra,-gtk3 \
  25. graphics/libiptcdata \
  26. graphics/lcms2 \
  27. math/fftw3,float \
  28. x11/gtk3mm
  29. CONFIGURE_ARGS = -DBUILD_SHARED=ON \
  30. -DOPTION_OMP=OFF \
  31. -DCMAKE_CXX_FLAGS_RELEASE=${CXXFLAGS} \
  32. -DCMAKE_EXE_LINKER_FLAGS=-L${X11BASE}/lib \
  33. -Wno-dev
  34. NO_TEST = Yes
  35. .include <bsd.port.mk>