Lines 1-5
Link Here
|
1 |
PORTNAME= nextcloudclient |
1 |
PORTNAME= nextcloudclient |
2 |
PORTVERSION= 3.10.1 |
2 |
PORTVERSION= 3.11.0 |
3 |
DISTVERSIONPREFIX= v |
3 |
DISTVERSIONPREFIX= v |
4 |
CATEGORIES= deskutils |
4 |
CATEGORIES= deskutils |
5 |
|
5 |
|
Lines 17-52
USES= cmake:noninja compiler:c++14-lang desktop-file-utils gmake \
Link Here
|
17 |
gnome iconv kde:5 localbase:ldflags pkgconfig qt:5 shared-mime-info \ |
17 |
gnome iconv kde:5 localbase:ldflags pkgconfig qt:5 shared-mime-info \ |
18 |
sqlite ssl |
18 |
sqlite ssl |
19 |
USE_KDE= archive |
19 |
USE_KDE= archive |
|
|
20 |
USE_LDCONFIG= yes |
20 |
USE_QT= buildtools:build concurrent core dbus declarative graphicaleffects \ |
21 |
USE_QT= buildtools:build concurrent core dbus declarative graphicaleffects \ |
21 |
gui linguist:build location network printsupport qmake:build \ |
22 |
gui linguist:build network qmake:build quickcontrols \ |
22 |
quickcontrols quickcontrols2 svg webchannel websockets \ |
23 |
quickcontrols2 sql svg websockets widgets xml |
23 |
widgets xml |
24 |
|
24 |
CMAKE_ARGS= -DBUILD_UPDATER:BOOL=OFF \ |
25 |
CMAKE_ARGS= -DBUILD_UPDATER:BOOL=OFF \ |
25 |
-DCMAKE_INSTALL_MANDIR:STRING=man \ |
26 |
-DCMAKE_INSTALL_MANDIR:STRING=man \ |
26 |
-DWITH_STACK_PROTECTOR:BOOL=OFF |
27 |
-DWITH_STACK_PROTECTOR:BOOL=OFF |
27 |
USE_LDCONFIG= yes |
28 |
|
|
|
29 |
PLIST_SUB= VERSION=${PORTVERSION} |
28 |
|
30 |
|
29 |
USE_GITHUB= yes |
31 |
USE_GITHUB= yes |
30 |
GH_ACCOUNT= nextcloud |
32 |
GH_ACCOUNT= nextcloud |
31 |
GH_PROJECT= desktop |
33 |
GH_PROJECT= desktop |
32 |
|
34 |
|
33 |
#OPTIONS_DEFINE= DEBUG DOCS |
35 |
OPTIONS_DEFINE= DOCS DEBUG GNOME KDE WEBENGINE |
34 |
OPTIONS_DEFINE= DEBUG WEBENGINE # DOCS doesn't build currently |
36 |
OPTIONS_DEFAULT= GNOME |
|
|
37 |
OPTIONS_DEFAULT_aarch64= WEBENGINE |
35 |
OPTIONS_DEFAULT_amd64= WEBENGINE |
38 |
OPTIONS_DEFAULT_amd64= WEBENGINE |
36 |
OPTIONS_DEFAULT_i386= WEBENGINE |
39 |
OPTIONS_DEFAULT_i386= WEBENGINE |
37 |
OPTIONS_DEFAULT_aarch64= WEBENGINE |
|
|
38 |
|
40 |
|
|
|
41 |
OPTIONS_SUB= yes |
42 |
|
43 |
KDE_DESC= KDE desktop environment support |
39 |
WEBENGINE_DESC= Use Webengine to provide web login flow |
44 |
WEBENGINE_DESC= Use Webengine to provide web login flow |
40 |
|
45 |
|
41 |
#DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx \ |
46 |
DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx \ |
42 |
# doxygen:devel/doxygen |
47 |
doxygen:devel/doxygen |
43 |
#DOCS_USES= tex |
48 |
DOCS_USES= tex |
44 |
#DOCS_USE= TEX=dvipsk:build,latex:build |
49 |
DOCS_USE= TEX=dvipsk:build,latex:build |
45 |
#DOCS_CMAKE_ON= -DWITH_DOC:BOOL=ON |
50 |
DOCS_CMAKE_BOOL= WITH_DOC |
|
|
51 |
DOCS_VARS= PORTDOCS=* |
46 |
|
52 |
|
47 |
WEBENGINE_VARS= USE_QT+=webengine |
53 |
GNOME_CMAKE_BOOL= BUILD_SHELL_INTEGRATION_NAUTILUS |
48 |
|
54 |
|
49 |
PLIST_SUB= VERSION=${PORTVERSION} |
55 |
KDE_USES= xorg |
|
|
56 |
KDE_USE= KDE=completion,config,coreaddons,ecm,jobwidgets,kio,service,solid,widgetsaddons,windowsystem \ |
57 |
XORG=x11 |
58 |
KDE_CMAKE_BOOL= BUILD_SHELL_INTEGRATION_DOLPHIN |
59 |
|
60 |
WEBENGINE_USE= QT=webchannel,webengine,printsupport,location |
61 |
WEBENGINE_CMAKE_BOOL= BUILD_WITH_WEBENGINE |
50 |
|
62 |
|
51 |
.include <bsd.port.pre.mk> |
63 |
.include <bsd.port.pre.mk> |
52 |
|
64 |
|
Lines 58-67
post-patch:
Link Here
|
58 |
@${REINPLACE_CMD} -e \ |
70 |
@${REINPLACE_CMD} -e \ |
59 |
's|.lst |.lst.sample |' ${WRKSRC}/CMakeLists.txt |
71 |
's|.lst |.lst.sample |' ${WRKSRC}/CMakeLists.txt |
60 |
|
72 |
|
61 |
post-patch-WEBENGINE-off: |
|
|
62 |
@${REINPLACE_CMD} -e '/add_compile_definitions(WITH_WEBENGINE=1)/d' \ |
63 |
${WRKSRC}/src/CMakeLists.txt |
64 |
|
65 |
pre-configure: |
73 |
pre-configure: |
66 |
@(cd ${WRKSRC} && ${CP} -f sync-exclude.lst sync-exclude.lst.sample) |
74 |
@(cd ${WRKSRC} && ${CP} -f sync-exclude.lst sync-exclude.lst.sample) |
67 |
|
75 |
|