Lines 6-11
PORTVERSION= 1.12
Link Here
|
6 |
DISTVERSIONPREFIX= v |
6 |
DISTVERSIONPREFIX= v |
7 |
CATEGORIES= accessibility |
7 |
CATEGORIES= accessibility |
8 |
|
8 |
|
|
|
9 |
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ |
10 |
PATCHFILES+= 60f45972a543.patch:-p1 # avoid patch conflict |
11 |
PATCHFILES+= 7da875d34854.patch:-p1 # wayland, see #663 |
12 |
|
9 |
MAINTAINER= swills@FreeBSD.org |
13 |
MAINTAINER= swills@FreeBSD.org |
10 |
COMMENT= Adjusts the color temperature of your screen |
14 |
COMMENT= Adjusts the color temperature of your screen |
11 |
|
15 |
|
Lines 15-21
LICENSE_FILE= ${WRKSRC}/COPYING
Link Here
|
15 |
LIB_DEPENDS= libdrm.so:graphics/libdrm |
19 |
LIB_DEPENDS= libdrm.so:graphics/libdrm |
16 |
|
20 |
|
17 |
USES= autoreconf:build gettext gmake gnome libtool localbase \ |
21 |
USES= autoreconf:build gettext gmake gnome libtool localbase \ |
18 |
pkgconfig shebangfix tar:bzip2 xorg |
22 |
pkgconfig shebangfix tar:bzip2 |
19 |
|
23 |
|
20 |
USE_GITHUB= yes |
24 |
USE_GITHUB= yes |
21 |
GH_ACCOUNT= jonls |
25 |
GH_ACCOUNT= jonls |
Lines 26-53
SHEBANG_FILES= src/redshift-gtk/redshift-gtk.in
Link Here
|
26 |
|
30 |
|
27 |
CONFIGURE_ARGS+= --disable-wingdi |
31 |
CONFIGURE_ARGS+= --disable-wingdi |
28 |
|
32 |
|
29 |
OPTIONS_DEFINE= GEO GUI NLS RANDR VIDMODE |
33 |
OPTIONS_DEFINE= GEO GUI NLS RANDR VIDMODE WAYLAND |
30 |
OPTIONS_DEFAULT=GEO RANDR |
34 |
OPTIONS_DEFAULT=GEO RANDR WAYLAND |
31 |
OPTIONS_SUB= yes |
35 |
OPTIONS_SUB= yes |
32 |
|
36 |
|
33 |
GUI_DESC= Tray icon |
37 |
GUI_DESC= Tray icon |
34 |
RANDR_DESC= Support RANDR for changing colors |
38 |
RANDR_DESC= Support RANDR for changing colors |
35 |
VIDMODE_DESC= Support VIDMODE for changing colors (NVIDIA) |
39 |
VIDMODE_DESC= Support VIDMODE for changing colors (NVIDIA) |
|
|
40 |
WAYLAND_DESC= Support Wayland (wlroots) for changing colors |
36 |
GEO_DESC= Use geoclue (requires dbus) |
41 |
GEO_DESC= Use geoclue (requires dbus) |
37 |
|
42 |
|
38 |
USE_XORG+= x11 xcb |
|
|
39 |
|
40 |
NLS_USES= iconv |
43 |
NLS_USES= iconv |
41 |
NLS_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG} \ |
44 |
NLS_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG} \ |
42 |
--with-libintl-prefix=${LOCALBASE} |
45 |
--with-libintl-prefix=${LOCALBASE} |
43 |
NLS_CONFIGURE_OFF= --disable-nls |
46 |
NLS_CONFIGURE_OFF= --disable-nls |
44 |
|
47 |
|
45 |
RANDR_USE= XORG=xrandr |
48 |
RANDR_USES= xorg |
|
|
49 |
RANDR_USE= XORG=xcb,xrandr |
46 |
RANDR_CONFIGURE_ENABLE= randr |
50 |
RANDR_CONFIGURE_ENABLE= randr |
47 |
|
51 |
|
48 |
VIDMODE_USE= XORG=xxf86vm |
52 |
VIDMODE_USES= xorg |
|
|
53 |
VIDMODE_USE= XORG=x11,xxf86vm |
49 |
VIDMODE_CONFIGURE_ENABLE= vidmode |
54 |
VIDMODE_CONFIGURE_ENABLE= vidmode |
50 |
|
55 |
|
|
|
56 |
WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland |
57 |
WAYLAND_CONFIGURE_ENABLE= wayland |
58 |
|
51 |
GUI_USES= python:3.6+ |
59 |
GUI_USES= python:3.6+ |
52 |
GUI_CONFIGURE_ENABLE= gui |
60 |
GUI_CONFIGURE_ENABLE= gui |
53 |
GUI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>0:devel/py-gobject3@${PY_FLAVOR} \ |
61 |
GUI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>0:devel/py-gobject3@${PY_FLAVOR} \ |