pkgname: libreoffice pkgver: '26.2.5.2' pkgrel: '1' pkgdesc: Office suite. It is largely compatible with Microsoft Office (fork from OpenOffice.org). url: 'https://www.libreoffice.org' arch: x86_64 depends: - shared-mime-info - xdg-utils - desktop-file-utils - gtk-update-icon-cache - hicolor-icon-theme makedepends: - tar - python - perl-archive-zip - unzip - zip - gtk3 - cups - poppler-glib - libtiff - xorg-fontconfig - libxslt - kerberos - xorgproto - dbus-glib - mesa - libwebp - postgresql - wget - apache-ant - apr - boost - clucene - libepoxy - libjpeg-turbo - xorg-glu - gstreamer-plugins-base - icu - libatomic-ops - lcms2 - librsvg - libxml2 - neon - nss - redland - serf - unixodbc - doxygen - gdb - gnutls - nasm - telepathy-glib - gpgme - gpgmepp - libabw - cppunit - hunspell - hyphen - mariadb - libodfgen source: - Remove-check-if-root-due-to-issue-with-fakeroot.patch - 'https://dev-www.libreoffice.org/src/afdko-4.0.3.tar.gz' - 'https://dev-www.libreoffice.org/src/pdfium-7471.tar.bz2' - 'https://dev-www.libreoffice.org/src/CoinMP-1.8.4.tgz' - 'https://dev-www.libreoffice.org/src/glm-1.0.3.zip' - 'https://dev-www.libreoffice.org/src/dragonbox-1.1.3.tar.gz' - 'https://dev-www.libreoffice.org/src/antlr4-cpp-runtime-4.13.2-source.zip' - 'https://download.documentfoundation.org/libreoffice/src/26.2.5/${pkgname}-${pkgver}.tar.xz' - 'https://download.documentfoundation.org/libreoffice/src/26.2.5/${pkgname}-dictionaries-${pkgver}.tar.xz' - 'https://download.documentfoundation.org/libreoffice/src/26.2.5/${pkgname}-help-${pkgver}.tar.xz' - 'https://download.documentfoundation.org/libreoffice/src/26.2.5/${pkgname}-translations-${pkgver}.tar.xz' - libreoffice-26.2.4.2-poppler_26.06-1.patch sha256sums: - SKIP - 5feed7c2468e25b25fce0479c04af07f4ed2680bc9251bb4c4aef9ec2fba5720 - 7144b0fa78fd408997e7b84ffd3c257db602e392a1bb1584828d80e60b6b27c5 - 3459fb0ccbdd39342744684338984ac4cc153fb0434f4cae8cf74bd67490a38d - 3aa4347b8f13cba882df1c7b61a6ca910c75a875c56ec3d75d7dc9ae8eac34df - 09d63b05e9c594ec423778ab59b7a5aa1d76fdd71d25c7048b0258c4ec9c3384 - 0ed13668906e86dbc0dcddf30fdee68c10203dea4e83852b4edb810821bee3c4 - SKIP - SKIP - SKIP - SKIP - SKIP build: | unset ACLOCAL cd ${pkgname}-${pkgver} patch -Np1 -i ../Remove-check-if-root-due-to-issue-with-fakeroot.patch # patch -Np1 -i ../libreoffice-26.2.4.2-poppler_26.06-1.patch sed -e '/, const GooString/ s/GooString *\*/std::string \&/' \ -i sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx \ sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx sed -i '/icuuc \\/a zlib\\' writerperfect/Library_wpftdraw.mk sed -i "/distro-install-file-lists/d" Makefile.in sed -e "/gzip -f/d" \ -e "s|.1.gz|.1|g" \ -i bin/distro-install-desktop-integration install -dm755 external/tarballs/ ln -sv ../../../${pkgname}-dictionaries-${pkgver}.tar.xz external/tarballs/ ln -sv ../../../${pkgname}-help-${pkgver}.tar.xz external/tarballs/ ln -sv ../../../${pkgname}-translations-${pkgver}.tar.xz external/tarballs/ ln -sv ../../../afdko-4.0.3.tar.gz external/tarballs/ ln -sv ../../../pdfium-7471.tar.bz2 external/tarballs/ ln -sv ../../../CoinMP-1.8.4.tgz external/tarballs/ ln -sv ../../../dragonbox-1.1.3.tar.gz external/tarballs/ ln -sv ../../../antlr4-cpp-runtime-4.13.2-source.zip external/tarballs/ ln -sv src/libreoffice-help-${pkgver}/helpcontent2/ ln -sv src/libreoffice-dictionaries-${pkgver}/dictionaries/ ln -sv src/libreoffice-translations-${pkgver}/translations/ ./autogen.sh --prefix=/usr \ --sysconfdir=/etc \ --with-vendor="NuTyX" \ --with-extra-buildid="version-${pkgrel}" \ --with-lang="af ar as be bg bs ca cs cy da de \ el es fi fr ga gl he hi hr hu id is it ja ka kk km \ kn ko lt lv mk ml mr my nl nn oc or pa-IN pl pt ro ru \ rw si sq sk sl sr sv ta th tr uk uz vi xh zh-CN" \ --with-help \ --with-myspell-dicts \ --without-junit \ --without-fonts \ --without-system-dicts \ --disable-dconf \ --disable-odk \ --without-system-firebird \ --disable-firebird-sdbc \ --without-java \ --enable-release-build=yes \ --enable-python=system \ --with-system-boost \ --with-system-clucene \ --with-system-cppunit \ --with-system-curl \ --with-system-epoxy \ --with-system-expat \ --with-system-gpgmepp \ --with-system-hunspell \ --with-system-icu \ --with-system-jpeg \ --with-system-lcms2 \ --with-system-libabw \ --with-system-libatomic_ops \ --with-system-libtiff \ --with-system-libodfgen \ --with-system-libpng \ --with-system-libxml \ --with-system-libwebp \ --with-system-mariadb \ --with-system-nss \ --with-system-odbc \ --with-system-openldap \ --with-system-openssl \ --with-system-poppler \ --with-system-postgresql \ --with-system-redland \ --with-system-zlib \ --with-system-zstd \ --with-parallelism=$(getconf _NPROCESSORS_ONLN) make -j15 build make DESTDIR=${PKGDIR} distro-pack-install # Nettoyage rm -rf ${PKGDIR}/gid_Module_* package: | true