summaryrefslogtreecommitdiff
path: root/net-mgmt/seafile-gui
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2018-08-31 12:19:58 +0000
committerJason E. Hale <jhale@FreeBSD.org>2018-08-31 12:19:58 +0000
commit0f581d8ce729c4041fe3065508a30532d7726487 (patch)
tree9ae46d54a1d1b663e05b829dd6150c09b77df48c /net-mgmt/seafile-gui
parentgerman/mediathekview: (diff)
Fix build with Qt 5.11
Adjust the local patch for CMakeLists.txt for the changes made upstream and fix it to find and link to QtDBus like it was intending. Add dependency on QtDBus since it links to it now. Bump PORTREVISION since QtDBus is detected now. PR: 230844 Obtained from: upstream
Notes
Notes: svn path=/head/; revision=478549
Diffstat (limited to 'net-mgmt/seafile-gui')
-rw-r--r--net-mgmt/seafile-gui/Makefile9
-rw-r--r--net-mgmt/seafile-gui/distinfo4
-rw-r--r--net-mgmt/seafile-gui/files/patch-CMakeLists.txt23
3 files changed, 25 insertions, 11 deletions
diff --git a/net-mgmt/seafile-gui/Makefile b/net-mgmt/seafile-gui/Makefile
index da4324c141db..927d719511a7 100644
--- a/net-mgmt/seafile-gui/Makefile
+++ b/net-mgmt/seafile-gui/Makefile
@@ -3,9 +3,12 @@
PORTNAME= seafile-gui
DISTVERSIONPREFIX= v
DISTVERSION= 6.1.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net-mgmt devel
+PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES= 03c883561d40.patch:-p1
+
MAINTAINER= ultima@FreeBSD.org
COMMENT= Open Source Cloud Storage (Client)
@@ -20,7 +23,7 @@ LIB_DEPENDS= libsearpc.so:devel/libsearpc \
libevent.so:devel/libevent \
libuuid.so:misc/e2fsprogs-libuuid
-USES= compiler:c++11-lang cmake pkgconfig qt:5 shebangfix ssl
+USES= compiler:c++11-lang cmake gnome pkgconfig qt:5 shebangfix ssl
SHEBANG_FILES= extensions/*.sh scripts/*.sh fsplugin/*.sh \
scripts/*.py
@@ -29,7 +32,7 @@ GH_ACCOUNT= haiwen
GH_PROJECT= seafile-client
USE_GNOME= glib20
-USE_QT= core gui network widgets \
+USE_QT= core dbus gui network widgets \
qmake_build buildtools_build linguisttools_build
#INSTALLS_ICONS= yes
CMAKE_ARGS= -DCMAKE_INCLUDE_PATH:PATH=include/glib-2.0 \
diff --git a/net-mgmt/seafile-gui/distinfo b/net-mgmt/seafile-gui/distinfo
index ac488a5f80ed..69faf4abec1a 100644
--- a/net-mgmt/seafile-gui/distinfo
+++ b/net-mgmt/seafile-gui/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1524155528
+TIMESTAMP = 1535713431
SHA256 (haiwen-seafile-client-v6.1.7_GH0.tar.gz) = 25dfcce4a1f1ad5bc72d551b9209c1d40bec6b92459d1d530e0829ce1b08a14d
SIZE (haiwen-seafile-client-v6.1.7_GH0.tar.gz) = 2260217
+SHA256 (03c883561d40.patch) = b4ddec43a37e1eabfa9016670be6de91fd8245e051613cfb9189d2fa27082996
+SIZE (03c883561d40.patch) = 1553
diff --git a/net-mgmt/seafile-gui/files/patch-CMakeLists.txt b/net-mgmt/seafile-gui/files/patch-CMakeLists.txt
index e6c5b8e007f3..9797df3ffdb9 100644
--- a/net-mgmt/seafile-gui/files/patch-CMakeLists.txt
+++ b/net-mgmt/seafile-gui/files/patch-CMakeLists.txt
@@ -1,4 +1,4 @@
---- CMakeLists.txt.orig 2017-05-09 08:39:31 UTC
+--- CMakeLists.txt.orig 2018-08-31 11:31:59 UTC
+++ CMakeLists.txt
@@ -107,7 +107,7 @@ IF (WIN32)
SET(SPARKLE_LIBS ${CMAKE_SOURCE_DIR}/WinSparkle.lib)
@@ -9,7 +9,16 @@
INCLUDE_DIRECTORIES(${QT_QTDBUS_INCLUDE_DIR})
LINK_DIRECTORIES(${QT_QTDBUS_LIBRARIES})
SET(EXTRA_LIBS ${EXTRA_LIBS} ${QT_QTDBUS_LIBRARIES})
-@@ -360,7 +360,7 @@ PKG_CHECK_MODULES(LIBCCNET REQUIRED libccnet>=1.3)
+@@ -183,7 +183,7 @@ IF (BUILD_SHIBBOLETH_SUPPORT)
+ ADD_DEFINITIONS(-DHAVE_SHIBBOLETH_SUPPORT)
+ ENDIF()
+
+-IF (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
++IF (${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES "BSD|DragonFly")
+ SET(USE_QT_LIBRARIES ${USE_QT_LIBRARIES} "DBus")
+ ENDIF()
+
+@@ -367,7 +367,7 @@ PKG_CHECK_MODULES(LIBCCNET REQUIRED libccnet>=1.3)
PKG_CHECK_MODULES(LIBSEARPC REQUIRED libsearpc>=1.0)
@@ -18,7 +27,7 @@
PKG_CHECK_MODULES(LIBSEAFILE REQUIRED libseafile>=1.7)
-@@ -561,7 +561,7 @@ IF (WIN32)
+@@ -574,7 +574,7 @@ IF (WIN32)
src/utils/registry.cpp
src/utils/utils-win.cpp
)
@@ -27,12 +36,12 @@
LIST(APPEND utils_sources
src/utils/process-linux.cpp
)
-@@ -761,7 +761,7 @@ QT5_USE_MODULES(seafile-applet ${WEBKIT_NAME} ${WEBKIT
+@@ -775,7 +775,7 @@ target_link_libraries(seafile-applet Qt5::WebEngine Qt
ENDIF()
## QtBus
-IF (${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES "BSD")
+IF (${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES "BSD|DragonFly")
- TARGET_LINK_LIBRARIES(seafile-applet
- ${QT_QTDBUS_LIBRARIES}
- )
+ target_link_libraries(seafile-applet Qt5::DBus)
+ ENDIF()
+