blob: 8a713874567e5d6ea4d43c8311825f1aa916ed05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
PORTNAME= grim
DISTVERSIONPREFIX= v
DISTVERSION= 1.4.0
CATEGORIES= x11
MASTER_SITES= https://git.sr.ht/~emersion/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
PATCH_SITES= https://git.sr.ht/~emersion/${PORTNAME}/commit/
PATCHFILES+= 89e02e663fab.patch:-p1 # https://github.com/emersion/grim/pull/121
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Grab images from a Wayland compositor
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= wayland-protocols>=1.14:graphics/wayland-protocols
LIB_DEPENDS= libwayland-client.so:graphics/wayland
USES= compiler:c11 gnome meson pkgconfig
USE_GNOME= cairo
PLIST_FILES= bin/${PORTNAME}
OPTIONS_DEFINE= JPEG MANPAGES
OPTIONS_DEFAULT=JPEG MANPAGES
MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc
MANPAGES_MESON_ENABLED= man-pages
MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz
JPEG_USES= jpeg
JPEG_MESON_ENABLED= jpeg
.include <bsd.port.mk>
|