3d9a815d9c
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>
42 lines
1.3 KiB
Makefile
42 lines
1.3 KiB
Makefile
PORTNAME= gnome-screenshot
|
|
PORTVERSION= 41.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= deskutils gnome
|
|
MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/}
|
|
DIST_SUBDIR= gnome
|
|
|
|
PATCH_SITES= https://gitlab.gnome.org/GNOME/${PORTNAME}/-/commit/
|
|
PATCHFILES+= b60dad3c2536.patch:-p1 # https://gitlab.gnome.org/GNOME/gnome-screenshot/-/merge_requests/57
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= GNOME utility for making pictures of your screen
|
|
WWW= https://gitlab.gnome.org/GNOME/gnome-screenshot
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= appstream-builder:devel/appstream-glib
|
|
LIB_DEPENDS= libcanberra.so:audio/libcanberra \
|
|
libcanberra-gtk3.so:audio/libcanberra-gtk3 \
|
|
libhandy-1.so:x11-toolkits/libhandy
|
|
|
|
CONFLICTS= gnome-utils-2.[0-9]*
|
|
PORTSCOUT= limitw:1,even
|
|
|
|
USES= compiler:c11 gettext gnome meson pkgconfig python:build \
|
|
shebangfix tar:xz xorg
|
|
USE_GNOME= cairo gdkpixbuf2 gtk30
|
|
USE_XORG= x11 xext
|
|
SHEBANG_FILES= build-aux/postinstall.py
|
|
|
|
GLIB_SCHEMAS= org.gnome.gnome-screenshot.gschema.xml
|
|
|
|
OPTIONS_DEFINE= INTEL_FIX
|
|
OPTIONS_SUB= yes
|
|
|
|
# Workaround garbled screenshot when 3D hardware acceleration is enabled
|
|
# via x11-drivers/xf86-video-intel port
|
|
INTEL_FIX_DESC= Don't try to use the gnome-shell interface
|
|
INTEL_FIX_EXTRA_PATCHES+= ${FILESDIR}/extra-patch-intel
|
|
|
|
.include <bsd.port.mk>
|