blob: 39c0fd7c180ed8d2b7900b5be624495874240d57 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
PORTNAME= swayimg
DISTVERSIONPREFIX= v
DISTVERSION= 1.6
PORTREVISION= 3
CATEGORIES= x11
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= 787d13e36783.patch:-p1 # https://github.com/artemsen/swayimg/pull/23
PATCHFILES+= d12f10e9ebbd.patch:-p1 # https://github.com/artemsen/swayimg/pull/24
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Image viewer for Sway/Wayland
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols
LIB_DEPENDS= libjson-c.so:devel/json-c \
libwayland-client.so:graphics/wayland \
libxkbcommon.so:x11/libxkbcommon
USES= gnome meson pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= artemsen
USE_GNOME= cairo
MESON_ARGS= -Dversion="${DISTVERSIONFULL}"
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz \
man/man5/${PORTNAME}rc.5.gz \
share/applications/${PORTNAME}.desktop \
share/icons/hicolor/64x64/apps/${PORTNAME}.png \
${NULL}
OPTIONS_DEFINE= AVIF BASH GIF JPEG JXL LIBEXIF LIBRSVG2 PNG WEBP
OPTIONS_DEFAULT=AVIF BASH GIF JPEG JXL LIBEXIF LIBRSVG2 PNG WEBP
OPTIONS_EXCLUDE=${LIBRSVG2_DEFAULT:Mlegacy:C/.+/LIBRSVG2/}
AVIF_LIB_DEPENDS= libavif.so:graphics/libavif
AVIF_MESON_ENABLED= avif
BASH_BUILD_DEPENDS= bash-completion>0:shells/bash-completion
BASH_MESON_ENABLED= bash
BASH_PLIST_FILES= share/bash-completion/completions/${PORTNAME}
GIF_LIB_DEPENDS= libgif.so:graphics/giflib
GIF_USES= localbase:ldflags
GIF_MESON_ENABLED= gif
JPEG_USES= jpeg
JPEG_MESON_ENABLED= jpeg
JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl
JXL_MESON_ENABLED= jxl
LIBEXIF_LIB_DEPENDS= libexif.so:graphics/libexif
LIBEXIF_MESON_ENABLED= exif
LIBRSVG2_USE= GNOME=librsvg2
LIBRSVG2_MESON_ENABLED= svg
PNG_LIB_DEPENDS= libpng.so:graphics/png
PNG_MESON_ENABLED= png
WEBP_LIB_DEPENDS= libwebp.so:graphics/webp
WEBP_MESON_ENABLED= webp
.include <bsd.port.mk>
|