Makefile 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # $OpenBSD: Makefile,v 1.99 2017/04/20 19:02:40 jasper Exp $
  2. COMMENT= image viewer and browser for GNOME
  3. GNOME_PROJECT= gthumb
  4. GNOME_VERSION= 3.4.5
  5. API_V= ${GNOME_VERSION:C/^([0-9]+\.[0-9]+).*/\1/}
  6. SUBST_VARS= API_V
  7. CATEGORIES= graphics
  8. MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
  9. Antoine Jacoutot <ajacoutot@openbsd.org>
  10. # GPLv2+
  11. PERMIT_PACKAGE_CDROM= Yes
  12. WANTLIB += ICE SM X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi
  13. WANTLIB += Xinerama Xrandr Xrender atk-1.0 atk-bridge-2.0 atspi
  14. WANTLIB += c cairo cairo-gobject clutter-1.0 clutter-gtk-1.0
  15. WANTLIB += dbus-1 epoxy exiv2 expat ffi fontconfig freetype gdk-3
  16. WANTLIB += gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
  17. WANTLIB += graphite2 gstreamer-1.0 gstvideo-1.0 gthread-2.0 gtk-3
  18. WANTLIB += harfbuzz jpeg json-glib-1.0 m pango-1.0 pangocairo-1.0
  19. WANTLIB += pangoft2-1.0 pcre pixman-1 png pthread pthread-stubs
  20. WANTLIB += rsvg-2 secret-1 soup-2.4 ${LIBCXX} tiff lcms2 raw
  21. WANTLIB += webkit2gtk-4.0 webp xcb xcb-render xcb-shm z iconv intl
  22. MODULES= devel/dconf \
  23. x11/gnome
  24. BUILD_DEPENDS += multimedia/gstreamer1/plugins-base
  25. # web albums
  26. BUILD_DEPENDS += devel/bison
  27. LIB_DEPENDS= graphics/clutter/clutter-gtk \
  28. graphics/exiv2 \
  29. graphics/libraw \
  30. graphics/libwebp \
  31. multimedia/gstreamer1/core \
  32. www/webkitgtk4 \
  33. x11/gnome/librsvg
  34. RUN_DEPENDS= graphics/dcraw \
  35. multimedia/gstreamer1/plugins-base
  36. MODGNOME_TOOLS += desktop-file-utils gtk-update-icon-cache shared-mime-info yelp
  37. MODGNOME_CPPFLAGS= -I${X11BASE}/include
  38. MODGNOME_LDFLAGS= -L${X11BASE}/lib
  39. CONFIGURE_STYLE= gnu
  40. post-install:
  41. rm ${PREFIX}/lib/gthumb/extensions/*.{a,la}
  42. .include <bsd.port.mk>