blob: c1814fcd5f5c05163d49b25f5eb1e4420a588b0c (
plain) (
blame)
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
|
PORTREVISION= 2
COMMENT= Backup archiving recovery open sourced (traymonitor)
LIB_DEPENDS+= libbareos.so:sysutils/bareos23-client
CONFLICTS= bareos20-traymonitor bareos21-traymonitor bareos22-traymonitor \
bareos-traymonitor
USES= desktop-file-utils gettext-runtime pkgconfig
FLAVORS= qt5 qt6
FLAVOR?= ${FLAVORS:[1]}
CFLAGS+= -Wno-unused-parameter
qt5_CONFLICTS= bareos-traymonitor-qt6
qt6_CONFLICTS= bareos-traymonitor-qt5
.if ${FLAVOR} == qt6
PKGNAMESUFFIX= 23-traymonitor-qt6
USES+= qt:6
USE_QT= base:run declarative:build tools:build
CMAKE_ARGS+= -Dbat-qt6=yes
.else
PKGNAMESUFFIX= 23-traymonitor-qt5
LIB_DEPENDS+= libqwt5-qt5.so:x11-toolkits/qwt5-qt5
USES+= qt:5
USE_QT= buildtools:build qmake:build uitools:build gui core widgets
.endif
WITH_BAT= yes
PLIST= ${.CURDIR}/pkg-plist
CFLAGS+= -DMDB_DSYNC=O_SYNC -DMDB_USE_POSIX_SEM=1
MASTERDIR= ${.CURDIR}/../../sysutils/bareos23-server
CMAKE_ARGS+= -Dtraymonitor=yes \
-Dbuild-dird=no \
-Dbuild-stored=no \
-Dclient-only=yes \
-Dnls=ON
.include "${MASTERDIR}/Makefile"
|