View | Details | Raw Unified | Return to bug 269160 | Differences between
and this patch

Collapse All | Expand All

(-)b/x11/workrave/Makefile (-5 / +23 lines)
Lines 5-11 CATEGORIES= x11 Link Here
5
MASTER_SITES=	https://github.com/rcaelers/workrave/releases/download/v${PORTVERSION:S/./_/g}/
5
MASTER_SITES=	https://github.com/rcaelers/workrave/releases/download/v${PORTVERSION:S/./_/g}/
6
6
7
MAINTAINER=	cyberbotx@cyberbotx.com
7
MAINTAINER=	cyberbotx@cyberbotx.com
8
COMMENT=	RSI prevention tool
8
COMMENT=	RSI prevention tool (${FLAVOR} flavor)
9
WWW=		https://www.workrave.org/
9
WWW=		https://www.workrave.org/
10
10
11
LICENSE=	GPLv3+
11
LICENSE=	GPLv3+
Lines 13-20 LICENSE= GPLv3+ Link Here
13
LIB_DEPENDS=	libgdome.so:textproc/gdome2 \
13
LIB_DEPENDS=	libgdome.so:textproc/gdome2 \
14
		libharfbuzz.so:print/harfbuzz
14
		libharfbuzz.so:print/harfbuzz
15
15
16
USES=		compiler:c++11-lang gmake gnome libtool localbase pkgconfig \
16
FLAVORS=	default xfce
17
		xorg
17
FLAVOR?=	${FLAVORS:[1]}
18
xfce_PKGNAMESUFFIX=	-xfce
19
xfce_DESCR=	${.CURDIR}/pkg-descr.xfce
20
xfce_CONFLICTS_INSTALL=	workrave
21
default_CONFLICTS_INSTALL=	workrave-xfce
22
23
USES=		compiler:c++11-lang desktop-file-utils gmake gnome libtool \
24
		localbase pkgconfig xorg
25
.if ${FLAVOR} == xfce
26
CATEGORIES+=	xfce
27
USES+=		xfce
28
USE_XFCE=	libutil panel
29
# Easier than using *_SUB since there's no flavor helper for that.
30
PLIST_FILES=	lib/xfce4/panel/plugins/libworkrave-plugin.a \
31
		lib/xfce4/panel/plugins/libworkrave-plugin.so \
32
		share/xfce4/panel/plugins/workrave-xfce-applet.desktop
33
.endif
18
USE_CXXSTD=	c++11
34
USE_CXXSTD=	c++11
19
USE_GNOME=	gdkpixbuf2 gtkmm30 intlhack intltool introspection:build
35
USE_GNOME=	gdkpixbuf2 gtkmm30 intlhack intltool introspection:build
20
USE_LDCONFIG=	yes
36
USE_LDCONFIG=	yes
Lines 26-33 CONFIGURE_ARGS= --disable-gconf \ Link Here
26
		--disable-gsettings \
42
		--disable-gsettings \
27
		--disable-indicator \
43
		--disable-indicator \
28
		--disable-mate \
44
		--disable-mate \
29
		--disable-pulse \
45
		--disable-pulse
30
		--disable-xfce
46
.if ${FLAVOR} != xfce
47
CONFIGURE_ARGS+=	--disable-xfce
48
.endif
31
INSTALL_TARGET=	install-strip
49
INSTALL_TARGET=	install-strip
32
50
33
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
51
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
(-)b/x11/workrave/pkg-descr.xfce (+6 lines)
Added Link Here
1
Workrave is a program that assists in the recovery and prevention of
2
Repetitive Strain Injury (RSI).  The program frequently alerts you to
3
take micro-pauses, rest breaks and restricts you to your daily limit.
4
These can be customized and it stops the counter when you stop.
5
6
This is the XFCE-enabled flavor.

Return to bug 269160