Lines 1-5
Link Here
|
1 |
PORTNAME= syncthingtray |
1 |
PORTNAME= syncthingtray |
2 |
PORTVERSION= 1.5.0 |
2 |
PORTVERSION= 1.5.1 |
3 |
DISTVERSIONPREFIX= v |
3 |
DISTVERSIONPREFIX= v |
4 |
CATEGORIES= deskutils |
4 |
CATEGORIES= deskutils |
5 |
|
5 |
|
Lines 16-56
BUILD_DEPENDS= ${LOCALBASE}/share/ECM/cmake/ECMConfig.cmake:devel/kf5-extra-cmak
Link Here
|
16 |
LIB_DEPENDS= libboost_iostreams.so:devel/boost-libs \ |
16 |
LIB_DEPENDS= libboost_iostreams.so:devel/boost-libs \ |
17 |
libboost_regex.so:devel/boost-libs |
17 |
libboost_regex.so:devel/boost-libs |
18 |
|
18 |
|
19 |
USES= cmake:insource compiler:c++11-lang desktop-file-utils iconv \ |
19 |
FLAVORS= qt5 qt6 |
20 |
kde:5 perl5 qt:5 |
20 |
FLAVOR?= ${FLAVORS:[1]} |
|
|
21 |
FLAVORS_SUB= yes |
22 |
|
23 |
qt5_CONFLICTS_INSTALL= ${PORTNAME}-qt6 |
24 |
qt6_PKGNAMESUFFIX= -qt6 |
25 |
qt6_CONFLICTS_INSTALL= ${PORTNAME} |
26 |
|
27 |
USES= cmake:insource compiler:c++17-lang desktop-file-utils iconv perl5 |
28 |
|
29 |
CMAKE_ARGS= -DFORK_AWESOME_FONT_FILE=${WRKDIR}/forkawesome/fonts/forkawesome-webfont.ttf \ |
30 |
-DFORK_AWESOME_ICON_DEFINITIONS=${WRKDIR}/forkawesome/src/icons/icons.yml |
31 |
CMAKE_OFF= SYSTEMD_SUPPORT USE_STANDARD_FILESYSTEM |
32 |
CMAKE_SOURCE_PATH= ${WRKDIR}/subdirs/syncthingtray |
21 |
|
33 |
|
22 |
USE_GITHUB= nodefault |
34 |
USE_GITHUB= nodefault |
23 |
GH_TUPLE= Martchus:${PORTNAME}:${DISTVERSIONPREFIX}${DISTVERSION}:syncthingtray/../syncthingtray \ |
35 |
GH_TUPLE= Martchus:${PORTNAME}:${DISTVERSIONPREFIX}${DISTVERSION}:syncthingtray/../syncthingtray \ |
24 |
Martchus:cpp-utilities:v5.24.7:cpputilities/../c++utilities \ |
36 |
Martchus:cpp-utilities:v5.24.7:cpputilities/../c++utilities \ |
25 |
Martchus:qtutilities:v6.13.5:qtutilities/../qtutilities \ |
37 |
Martchus:qtutilities:v6.14.0:qtutilities/../qtutilities \ |
26 |
Martchus:qtforkawesome:v0.2.0:qtforkawesome/../qtforkawesome \ |
38 |
Martchus:qtforkawesome:v0.2.0:qtforkawesome/../qtforkawesome \ |
27 |
ForkAwesome:Fork-Awesome:4fef70f:ForkAwesome/../forkawesome \ |
39 |
ForkAwesome:Fork-Awesome:4fef70f:ForkAwesome/../forkawesome \ |
28 |
Martchus:subdirs:0ad32a0:subdirs/../subdirs |
40 |
Martchus:subdirs:0ad32a0:subdirs/../subdirs |
29 |
|
41 |
|
30 |
USE_KDE= plasma-framework |
42 |
USE_QT= declarative location svg webchannel doc:build |
31 |
USE_PERL5= build |
43 |
.if ${FLAVOR} == qt5 |
32 |
USE_QT= concurrent core dbus declarative gui location network \ |
44 |
USES+= kde:5 qt:5 |
33 |
printsupport qdbus quickcontrols2 svg webchannel widgets \ |
45 |
USE_KDE= plasma-framework |
34 |
x11extras buildtools:build doc:build linguist:build \ |
46 |
USE_QT+= concurrent core dbus gui network printsupport qdbus quickcontrols2 \ |
35 |
qmake:build testlib:build |
47 |
widgets x11extras buildtools:build linguist:build qmake:build testlib:build |
|
|
48 |
.else |
49 |
CMAKE_ARGS+= -DQT_PACKAGE_PREFIX:STRING=Qt6 -DKF_PACKAGE_PREFIX:STRING=KF6 |
50 |
USES+= gl kde:6 qt:6 |
51 |
USE_GL= opengl |
52 |
USE_KDE= libplasma |
53 |
USE_QT+= base |
54 |
.endif |
36 |
|
55 |
|
37 |
CMAKE_ARGS= -DFORK_AWESOME_FONT_FILE=${WRKDIR}/forkawesome/fonts/forkawesome-webfont.ttf \ |
56 |
OPTIONS_DEFINE= WEBENGINE |
38 |
-DFORK_AWESOME_ICON_DEFINITIONS=${WRKDIR}/forkawesome/src/icons/icons.yml |
57 |
OPTIONS_DEFAULT= WEBENGINE |
39 |
CMAKE_OFF= SYSTEMD_SUPPORT USE_STANDARD_FILESYSTEM |
|
|
40 |
CMAKE_SOURCE_PATH= ${WRKDIR}/subdirs/syncthingtray |
41 |
|
58 |
|
42 |
BUILD_WRKSRC= ${WRKDIR} |
59 |
WEBENGINE_DESC= Built-in web view (webengine dependency) |
43 |
CONFIGURE_WRKSRC= ${WRKDIR} |
60 |
WEBENGINE_USE= QT=webengine |
44 |
INSTALL_WRKSRC= ${WRKDIR} |
61 |
WEBENGINE_CMAKE_ON= -DWEBVIEW_PROVIDER:STRING=webengine |
|
|
62 |
WEBENGINE_CMAKE_OFF= -DWEBVIEW_PROVIDER:STRING=none |
45 |
|
63 |
|
46 |
.include <bsd.port.pre.mk> |
64 |
USE_PERL5= build |
47 |
|
65 |
|
48 |
.if ${ARCH} == amd64 || ${ARCH} == i386 |
66 |
BUILD_WRKSRC= ${WRKDIR} |
49 |
USE_QT+= webengine |
67 |
CONFIGURE_WRKSRC= ${WRKDIR} |
50 |
.else |
68 |
INSTALL_WRKSRC= ${WRKDIR} |
51 |
CMAKE_ARGS+= -DWEBVIEW_PROVIDER=webkit |
69 |
PATCH_WRKSRC= ${WRKDIR} |
52 |
USE_QT+= webkit |
|
|
53 |
.endif |
54 |
|
70 |
|
55 |
post-install: |
71 |
post-install: |
56 |
${RM} -r \ |
72 |
${RM} -r \ |
Lines 91-94
post-install:
Link Here
|
91 |
${STAGEDIR}${QT_PLUGINDIR} \ |
107 |
${STAGEDIR}${QT_PLUGINDIR} \ |
92 |
${STAGEDIR}${QT_LIBDIR} |
108 |
${STAGEDIR}${QT_LIBDIR} |
93 |
|
109 |
|
94 |
.include <bsd.port.post.mk> |
110 |
.include <bsd.port.mk> |