mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Add new port net-mgmt/seafile-gui
PR: 193312 Submitted by: Jingfeng Yan Seafile is a next-generation open source cloud storage system with advanced support for file syncing, privacy protection and teamwork. Collections of files are called libraries, and each library can be synced separately. A library can be encrypted with a user chosen password. This password is not stored on the server, so even the server admin cannot view a file's contents. Seafile allows users to create groups with file syncing, wiki, and discussion to enable easy collaboration around documents within a team. This is the desktop client for Seafile.
This commit is contained in:
parent
c605de2081
commit
9558833259
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372230
@ -282,6 +282,7 @@
|
||||
SUBDIR += scli
|
||||
SUBDIR += sdig
|
||||
SUBDIR += seafile
|
||||
SUBDIR += seafile-gui
|
||||
SUBDIR += send
|
||||
SUBDIR += sendip
|
||||
SUBDIR += sipcalc
|
||||
|
37
net-mgmt/seafile-gui/Makefile
Normal file
37
net-mgmt/seafile-gui/Makefile
Normal file
@ -0,0 +1,37 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= seafile-gui
|
||||
PORTVERSION= 3.1.5
|
||||
CATEGORIES= net-mgmt
|
||||
|
||||
MAINTAINER= yan_jingfeng@yahoo.com
|
||||
COMMENT= Seafile desktop client
|
||||
|
||||
LICENSE= APACHE20
|
||||
|
||||
LIB_DEPENDS+= libglib-2.0.so:${PORTSDIR}/devel/glib20 \
|
||||
libsearpc.so:${PORTSDIR}/devel/libsearpc \
|
||||
libseafile.so:${PORTSDIR}/net-mgmt/seafile \
|
||||
libsqlite3.so:${PORTSDIR}/databases/sqlite3 \
|
||||
libccnet.so:${PORTSDIR}/net-mgmt/ccnet \
|
||||
libjansson.so:${PORTSDIR}/devel/jansson
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= haiwen
|
||||
GH_PROJECT= seafile-client
|
||||
GH_TAGNAME= v3.1.5
|
||||
GH_COMMIT= ce808db
|
||||
|
||||
USES= cmake pkgconfig
|
||||
USE_QT4= corelib dbus gui network \
|
||||
qmake_build moc_build rcc_build uic_build \
|
||||
linguist_build
|
||||
USE_OPENSSL= yes
|
||||
INSTALLS_ICONS= yes
|
||||
LRELEASE= ${PREFIX}/bin/lrelease-qt4
|
||||
CMAKE_ARGS+= -DCMAKE_INCLUDE_PATH:PATH=include/glib-2.0
|
||||
|
||||
WITH_OPENSSL_PORT= yes
|
||||
CMAKE_BUILD_TYPE= Release
|
||||
|
||||
.include <bsd.port.mk>
|
2
net-mgmt/seafile-gui/distinfo
Normal file
2
net-mgmt/seafile-gui/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (seafile-gui-3.1.5.tar.gz) = 81102eb267b8e3e507ddf78d5b019fd527f521e9cff1e2dd3dfcd41eec69e6ff
|
||||
SIZE (seafile-gui-3.1.5.tar.gz) = 763089
|
29
net-mgmt/seafile-gui/files/patch-CMakeLists.txt
Normal file
29
net-mgmt/seafile-gui/files/patch-CMakeLists.txt
Normal file
@ -0,0 +1,29 @@
|
||||
--- CMakeLists.txt.orig 2014-09-03 23:17:55.314282575 -0400
|
||||
+++ CMakeLists.txt 2014-09-03 23:19:48.914240566 -0400
|
||||
@@ -21,7 +21,7 @@
|
||||
IF (${CMAKE_BUILD_TYPE} MATCHES Release)
|
||||
SET(GUI_TYPE WIN32)
|
||||
ENDIF()
|
||||
-ELSEIF (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||
+ELSEIF (${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|DragonFly|NetBSD|OpenBSD")
|
||||
INCLUDE_DIRECTORIES(${QT_QTDBUS_INCLUDE_DIR})
|
||||
LINK_DIRECTORIES(${QT_QTDBUS_LIBRARIES})
|
||||
SET(EXTRA_LIBS ${EXTRA_LIBS} ${QT_QTDBUS_LIBRARIES})
|
||||
@@ -42,7 +42,7 @@
|
||||
####################
|
||||
###### BEGIN: QT configuration
|
||||
####################
|
||||
-IF (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||
+IF (${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|DragonFly|NetBSD|OpenBSD")
|
||||
SET(QtDBus "QtDBus")
|
||||
ENDIF()
|
||||
|
||||
@@ -380,7 +380,7 @@
|
||||
${EXTRA_LIBS}
|
||||
)
|
||||
|
||||
-IF (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||
+IF (${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|DragonFly|NetBSD|OpenBSD")
|
||||
TARGET_LINK_LIBRARIES(seafile-applet
|
||||
${QT_QTDBUS_LIBRARIES}
|
||||
)
|
12
net-mgmt/seafile-gui/pkg-descr
Normal file
12
net-mgmt/seafile-gui/pkg-descr
Normal file
@ -0,0 +1,12 @@
|
||||
Seafile is a next-generation open source cloud storage system with
|
||||
advanced support for file syncing, privacy protection and teamwork.
|
||||
Collections of files are called libraries, and each library can be synced
|
||||
separately. A library can be encrypted with a user chosen password. This
|
||||
password is not stored on the server, so even the server admin cannot
|
||||
view a file's contents.
|
||||
|
||||
Seafile allows users to create groups with file syncing, wiki, and
|
||||
discussion to enable easy collaboration around documents within a team.
|
||||
This is the desktop client for Seafile.
|
||||
|
||||
WWW: https://github.com/haiwen/seafile
|
10
net-mgmt/seafile-gui/pkg-plist
Normal file
10
net-mgmt/seafile-gui/pkg-plist
Normal file
@ -0,0 +1,10 @@
|
||||
%%QT_BINDIR%%/seafile-applet
|
||||
share/applications/seafile.desktop
|
||||
share/icons/hicolor/128x128/apps/seafile.png
|
||||
share/icons/hicolor/16x16/apps/seafile.png
|
||||
share/icons/hicolor/22x22/apps/seafile.png
|
||||
share/icons/hicolor/24x24/apps/seafile.png
|
||||
share/icons/hicolor/32x32/apps/seafile.png
|
||||
share/icons/hicolor/48x48/apps/seafile.png
|
||||
share/icons/hicolor/scalable/apps/seafile.svg
|
||||
share/pixmaps/seafile.png
|
Loading…
Reference in New Issue
Block a user