diff options
Diffstat (limited to 'editors/libreoffice/Makefile')
-rw-r--r-- | editors/libreoffice/Makefile | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/editors/libreoffice/Makefile b/editors/libreoffice/Makefile index f8afa008afaf..07f8c3c63e42 100644 --- a/editors/libreoffice/Makefile +++ b/editors/libreoffice/Makefile @@ -1,4 +1,4 @@ -PORTREVISION= 2 +PORTREVISION= 0 .include "${.CURDIR}/Makefile.common" @@ -109,7 +109,7 @@ SHEBANG_GLOB= *.py GNU_CONFIGURE= yes USES= autoreconf:build bison compiler:c++17-lang cpe desktop-file-utils \ - gettext-runtime gl gmake gnome jpeg perl5 pkgconfig python:3.6+ \ + gettext-runtime gl gmake gnome jpeg perl5 pkgconfig python:3.8-3.9 \ shebangfix shared-mime-info ssl tar:xz xorg USE_GL= gl glew glu USE_GNOME= cairo glib20 libxml2 libxslt @@ -117,7 +117,7 @@ USE_OPENLDAP= yes USE_PERL5= build USE_XORG= ice sm x11 xaw xcb xext xinerama xrandr xrender -OPTIONS_DEFINE= COINMP CUPS DOCS GNOME GTK3 JAVA KF5 LTO MMEDIA PGSQL MARIADB QT5 SDK TEST WEBDAV +OPTIONS_DEFINE= COINMP CUPS DOCS GNOME GTK3 GTK4 JAVA KF5 LTO MMEDIA PGSQL MARIADB QT5 SDK TEST WEBDAV OPTIONS_DEFAULT= CUPS JAVA MMEDIA QT5 .if !defined(DEFAULT_VERSIONS) || ! ${DEFAULT_VERSIONS:Mssl=*} @@ -126,7 +126,8 @@ OPTIONS_EXCLUDE_FreeBSD_11+= QT5 .endif COINMP_DESC= Enable CoinMP (deprecated) math solver -GTK3_DESC= GTK+ 3 GUI toolkit support (incomplete visual style) +GTK3_DESC= GTK+ 3 GUI toolkit support +GTK4_DESC= GTK+ 4 GUI toolkit support JAVA_DESC= Add Java support (XML filters, macros, DB connections) KF5_DESC= KF5/Qt5 GUI toolkit support (implies QT5) MMEDIA_DESC= Enable multimedia backend for Impress @@ -156,6 +157,10 @@ GTK3_CONFIGURE_ENABLE= gtk3 GTK3_USE= GNOME=gtk30,gtk-update-icon-cache GTK3_VARS= POST_PLIST=add-plist-gnome +GTK4_CONFIGURE_ENABLE= gtk4 +GTK4_USE= GNOME=gtk40,gtk-update-icon-cache +GTK4_VARS= POST_PLIST=add-plist-gnome + JAVA_BUILD_DEPENDS= ant:devel/apache-ant \ ${JAVAJARDIR}/commons-codec.jar:java/apache-commons-codec \ ${JAVAJARDIR}/commons-httpclient.jar:java/apache-commons-httpclient \ @@ -194,7 +199,7 @@ JAVA_DISTFILES= 17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip:src \ eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip:src \ f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip:src JAVA_USE= JAVA=yes -JAVA_VARS= JAVA_BUILD=yes JAVA_VERSION=11+ +JAVA_VARS= JAVA_BUILD=yes JAVA_RUN=yes JAVA_VERSION=11+ KF5_CONFIGURE_ENABLE= kf5 KF5_USE= kde=config,coreaddons,i18n,kio,windowsystem @@ -297,6 +302,10 @@ EXTRA_PATCHES+= ${FILESDIR}/powerpc64 CONFIGURE_ARGS+= --disable-skia .endif +.if ${PORT_OPTIONS:MGTK3} && ${PORT_OPTIONS:MKF5} +CONFIGURE_ARGS+= --enable-gtk3-kde5 +.endif + .if ${PORT_OPTIONS:MLTO} && ${CHOSEN_COMPILER_TYPE} == clang CPP= ${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} CC= ${LOCALBASE}/bin/clang${LLVM_DEFAULT} |