ports/graphics/eog-plugins/Makefile
Rene Ladan 3d9a815d9c all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
2023-06-27 21:34:34 +02:00

62 lines
1.9 KiB
Makefile

PORTNAME= eog-plugins
DISTVERSION= 3.26.8
PORTREVISION= 3
CATEGORIES= graphics gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= Plug-ins for the Eye of GNOME image viewer application
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= eog:graphics/eog
LIB_DEPENDS= libgdata.so:devel/libgdata \
libgoa-1.0.so:net/gnome-online-accounts \
libjson-glib-1.0.so:devel/json-glib \
libsoup-2.4.so:devel/libsoup \
libexif.so:graphics/libexif \
libpeas-1.0.so:devel/libpeas \
libclutter-gtk-1.0.so:graphics/clutter-gtk3 \
libclutter-1.0.so:graphics/clutter \
libcogl.so:graphics/cogl \
libjson-glib-1.0.so:devel/json-glib \
libsoup-2.4.so:devel/libsoup
RUN_DEPENDS= eog:graphics/eog
PORTSCOUT= limitw:1,even
USE_GNOME= cairo gdkpixbuf2 gtk30 introspection libxml2
USES= gettext gmake gnome libtool localbase pathfix pkgconfig tar:xz
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
GLIB_SCHEMAS= org.gnome.eog.plugins.exif-display.gschema.xml
OPTIONS_DEFINE= CHAMPLAIN PYTHON
OPTIONS_DEFAULT=CHAMPLAIN PYTHON
OPTIONS_SUB= yes
CHAMPLAIN_DESC= Champlain map plugin
CHAMPLAIN_LIB_DEPENDS= libcogl.so:graphics/cogl \
libclutter-1.0.so:graphics/clutter \
libclutter-gtk-1.0.so:graphics/clutter-gtk3 \
libchamplain-0.12.so:graphics/libchamplain
CHAMPLAIN_USES= gl xorg
CHAMPLAIN_USE= GL=egl XORG=x11,xcomposite,xdamage,xext,xfixes,xi,xrandr
PYTHON_CONFIGURE_ENABLE=python
PYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libpeas>=0:devel/py-libpeas@${PY_FLAVOR}
PYTHON_USES= python
PYTHON_VARS= GLIB_SCHEMAS+="org.gnome.eog.plugins.export-to-folder.gschema.xml \
org.gnome.eog.plugins.fullscreenbg.gschema.xml \
org.gnome.eog.plugins.pythonconsole.gschema.xml"
post-patch-CHAMPLAIN-off:
@${REINPLACE_CMD} -e 's|champlain-gtk|disabled-champlain-gtk|g' \
${WRKSRC}/configure
@${REINPLACE_CMD} '/^DEFAULT_PLUGINS=/,/^$$/ s/map//' \
${WRKSRC}/configure
.include <bsd.port.mk>