freebsd-ports/net-mgmt/seafile-gui/Makefile
Baptiste Daroussin 2c672a4de9 INSTALLS_ICONS: retire the macro and rework the related dependencies
While here, make sure gtk-update-icon-cache is only on run dependency
where added as a dependency
Enforce gtk3 to depend on gtk-update-icon-cache (previously it was
inheriting the dependency)
2021-10-10 21:44:42 +02:00

41 lines
1.1 KiB
Makefile

PORTNAME= seafile-gui
DISTVERSIONPREFIX= v
DISTVERSION= 7.0.9
CATEGORIES= net-mgmt devel
MAINTAINER= ultima@FreeBSD.org
COMMENT= Open Source Cloud Storage (Client)
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libsearpc.so:devel/libsearpc \
libseafile.so:net-mgmt/seafile-client \
libsqlite3.so:databases/sqlite3 \
libjansson.so:devel/jansson \
libevent.so:devel/libevent \
libuuid.so:misc/e2fsprogs-libuuid
USES= compiler:c++11-lang cmake gnome pkgconfig qt:5 shebangfix ssl
SHEBANG_FILES= extensions/*.sh scripts/*.sh fsplugin/*.sh \
scripts/*.py
USE_GITHUB= yes
GH_ACCOUNT= haiwen
GH_PROJECT= seafile-client
USE_GNOME= glib20
USE_QT= core dbus gui network widgets \
qmake_build buildtools_build linguisttools_build
CMAKE_ARGS= -DCMAKE_INCLUDE_PATH:PATH=include/glib-2.0 \
-DOPENSSL_INCLUDE_DIRS=${OPENSSLINC} \
-DOPENSSL_LIBRARIES="-L${OPENSSLLIB} -lcrypto"
OPTIONS_DEFINE= DEBUG NLS
NLS_USES= gettext
# Note that per PR 197984, cairo must be built with X11 and XCB options
# otherwise configure fails with "cairo needs x11 enabled" message
.include <bsd.port.mk>