xref: /mports/deskutils/gnome-screenshot/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1PORTNAME=	gnome-screenshot
2PORTVERSION=	41.0
3PORTREVISION=	4
4CATEGORIES=	deskutils gnome
5MASTER_SITES=	GNOME
6DIST_SUBDIR=	gnome
7
8PATCH_SITES=	https://gitlab.gnome.org/GNOME/${PORTNAME}/-/commit/
9PATCHFILES+=	b60dad3c2536.patch:-p1 # https://gitlab.gnome.org/GNOME/gnome-screenshot/-/merge_requests/57
10
11MAINTAINER=	ports@MidnightBSD.org
12COMMENT=	GNOME utility for making pictures of your screen
13WWW=		https://gitlab.gnome.org/GNOME/gnome-screenshot
14
15LICENSE=	gpl2
16LICENSE_FILE=	${WRKSRC}/COPYING
17
18BUILD_DEPENDS=	appstream-builder:devel/appstream-glib
19LIB_DEPENDS=	libcanberra.so:audio/libcanberra \
20		libcanberra-gtk3.so:audio/libcanberra-gtk3 \
21		libhandy-1.so:x11-toolkits/libhandy
22
23CONFLICTS=	gnome-utils-2.[0-9]*
24PORTSCOUT=	limitw:1,even
25
26USES=		compiler:c11 gettext gnome meson pkgconfig python:build \
27		shebangfix tar:xz xorg
28USE_GNOME=	cairo gdkpixbuf gtk30
29USE_XORG=	x11 xext
30SHEBANG_FILES=	build-aux/postinstall.py
31
32GLIB_SCHEMAS=	org.gnome.gnome-screenshot.gschema.xml
33
34OPTIONS_DEFINE=	INTEL_FIX
35OPTIONS_SUB=	yes
36
37# Workaround garbled screenshot when 3D hardware acceleration is enabled
38# via x11-drivers/xf86-video-intel port
39INTEL_FIX_DESC=		Don't try to use the gnome-shell interface
40INTEL_FIX_EXTRA_PATCHES+=	${FILESDIR}/extra-patch-intel
41
42NO_TEST=	yes
43
44.include <bsd.port.mk>
45

served by {OpenGrok

Last Index Update: Sun Mar 22 17:06:33 EDT 2026