diff --git a/srcpkgs/libreoffice/template b/srcpkgs/libreoffice/template index bd0d2331910..27b72eb2dbe 100644 --- a/srcpkgs/libreoffice/template +++ b/srcpkgs/libreoffice/template @@ -6,7 +6,7 @@ build_style=meta make_build_target="build" nocross="Several dependencies are nocross=yes" -hostmakedepends="automake flex git gperf hyphen icu libtool openldap which gettext xz +hostmakedepends="automake flex gperf hyphen icu libtool openldap which gettext xz perl-Archive-Zip pkg-config qt5-qmake sane ucpp unzip zip python3-setuptools fontforge python3-lxml qt6-base-devel gtk4-devel gobject-introspection gnupg" makedepends="CoinMP-devel apr-devel avahi-libs-devel clucene-devel @@ -378,7 +378,7 @@ _add_lang zh-CN "Simplified Chinese (Peoples Republic of China)" zh_CN _add_lang zh-TW "Traditional Chinese (Taiwan)" zh_TW _add_lang zu "Zulu" -post_fetch() { +post_extract() { local srcdistdir=${XBPS_SRCDISTDIR}/${pkgname}-${version} pkg mkdir -p ${wrksrc}/external/tarballs for pkg in ${skip_extraction} libreoffice-{dictionaries,help,translations}-${version}.tar.xz ; do @@ -416,6 +416,7 @@ do_configure() { # the build system tries to call curl or wget, we can catch any invocations here and add them to distfiles ln -sf /bin/true ${XBPS_WRAPPERDIR}/curl ln -sf /bin/true ${XBPS_WRAPPERDIR}/wget + ln -sf /bin/false ${XBPS_WRAPPERDIR}/git export QT6DIR=/usr/lib/qt6