summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2022-07-24 20:22:40 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2022-07-24 20:25:46 +0200
commit5174f756fd9cf3b50e296b56e32804a07667297e (patch)
tree808cc5786442cb4248eed1ba30c12f7c8f0919e5 /app-office
parentdev-python/pypy3: Backport .pyc magic fix as 7.3.9_p3 (diff)
downloadgentoo-5174f756fd9cf3b50e296b56e32804a07667297e.tar.gz
gentoo-5174f756fd9cf3b50e296b56e32804a07667297e.tar.bz2
gentoo-5174f756fd9cf3b50e296b56e32804a07667297e.zip
app-office/libreoffice-bin: Version bump
Bug: https://bugs.gentoo.org/856673 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'app-office')
-rw-r--r--app-office/libreoffice-bin/Manifest9
-rw-r--r--app-office/libreoffice-bin/libreoffice-bin-7.3.4.2.ebuild257
2 files changed, 266 insertions, 0 deletions
diff --git a/app-office/libreoffice-bin/Manifest b/app-office/libreoffice-bin/Manifest
index 9b91d7a06abe..532da3d2103a 100644
--- a/app-office/libreoffice-bin/Manifest
+++ b/app-office/libreoffice-bin/Manifest
@@ -1,9 +1,18 @@
DIST amd64-bin-libreoffice-7.3.3.2-r3.tar.xz 142385916 BLAKE2B a46f7f3efa4db9a3a341cd69d445a4a82806880e6e14eec5bcc621fd9396f7d3ca68c05be6651169099f553412192ffeb7e3d5f127cd926ac408e465bb82036e SHA512 400a7d08907f86d48d28c392377ad02790f79bbe4b1147de70b21622cb622118e9e62c90ccc8f750e63f7efdc67209c789f63df49d7a388066ff4b5a375d54b3
+DIST amd64-bin-libreoffice-7.3.4.2.tar.xz 142347312 BLAKE2B 0db00b707b7c7bd86ef4406eb36958fc7425a1ea1e2783a0e1d2ff0ace9da2633f2e2ea6f6fe1c363f2e31f11cdd1d897da941c5af8133598ad7fedf944d9ea6 SHA512 60559fbcadb97429b9e5b982317ed22bd2501462ad73ad9dd38e32beb197b590898d417fa224288cc8910a6e2701c2ab61ae37d44649612de0f74c9521c7a744
DIST amd64-bin-libreoffice-gnome-7.3.3.2-r3.xd3 1485486 BLAKE2B 617fd8ae2496353cee690336fc3cfb5f5fbaf497d35d50b1bc26cd6cbb29a9e2f5b461157e8da8e3cec15d9dba9519dd388acd90144f25d46590b052b10cd394 SHA512 81dcd57dae4a20b8d629825155bb4c024bb9796e5e1deb44caaf4bc7aed4447a19eb396c33c96a1b04ebd908d69e24820e0415de46d1999331f70d4cfe18935b
+DIST amd64-bin-libreoffice-gnome-7.3.4.2.xd3 1483443 BLAKE2B 400a147efa62b6caef172785ec83a6767ab0a1d0faacf86f063e2dbd5f7eaca1258d5f7467943cb89bb1678de9ddc04a0c49884938d554897ebd3eaa5ee1bb57 SHA512 7325a943ec884a4b4048788c5417f380ee4f3130f142a38084c07014dde338bc9fc352eb4a36cd744d3ddb1acdd0e3c59b73751413df6897e7e940a18f93e2c8
DIST amd64-bin-libreoffice-gnome-java-7.3.3.2-r3.xd3 30886601 BLAKE2B 469e1f72bb8bc8a5707edf33fd5e67cd717d4a540d48598c165376a67e039bde84e5756ba4eafe3246e1755777e82cb9c55012a8d57dd2ae28003a280f3bb9f7 SHA512 e2816bcfb63d0602f0f4a840c9ddecf23868aca277efa59e74e60aa478236e93332b743ea4185a9c27f8d5f43db3874051f1bbbfc183d1c245b004e24e6a993b
+DIST amd64-bin-libreoffice-gnome-java-7.3.4.2.xd3 30944697 BLAKE2B 60af115380b3a0edde5b9ae0efec431b02f4f63e869fc2542c4cf8732b504f6881c0c13cd9c5d9c1e9f4611b3756aba162a07ec3a95022917b587fdede12436f SHA512 937a08b3aa145c794514752082a09037303c3bf5be2e3c4d2da4f0cd6c5e45f627921e814701317f3f7b38dcf9c76e722512268be09ebcf2488563a3403cd95f
DIST amd64-bin-libreoffice-java-7.3.3.2-r3.xd3 30751415 BLAKE2B 325deb2c13dff85682f4927cfd04c9699ec9c79564e602646f68e89a3b6e72c76aad972a60dd70b36ba7f20455964f670ad0673a408fc95a59aee8961888d547 SHA512 f5d696c984c2eaf4f28b7e44eeab199bc294b323d5215d71b9dff73797726ec24d20d18fac146d79d2e306868d8e8bd6773956a43dd7f3c03cb5ffd82b938f9b
+DIST amd64-bin-libreoffice-java-7.3.4.2.xd3 30817504 BLAKE2B 5769439f397ee2917efc700d9d576d1a4429a3b60bc11470141b5e38e31f47b4c17ce3d867d76fccd5c16f3e789eb985e0b916a036f63609b477f0abcb8b01d7 SHA512 705738589b069e392551ae93509a1be7c97f0b0a8b13232a2fd60a1dc01b905b4db1eaada349a79b0529994b117dd1ffd402da14de28bdd32c959d5023a16c54
DIST amd64-bin-libreoffice-kde-7.3.3.2-r3.xd3 20923444 BLAKE2B 1f50b67b66f21a3e83012ba6a203cd75003ef13e33d820e921ff3e91ead6df72b2f8bc0adddd61401deba647748e5d2f8b490e673f9bb5bc8eb5d0f64a62c588 SHA512 bf55af25bf7ac82b126c1be243c4e64b23d9b836c173a65c986cc8d09431f270cf99cb377228bd96407be36d365aa19014a2d19a003c99bc20c043b00f2c0859
+DIST amd64-bin-libreoffice-kde-7.3.4.2.xd3 20934862 BLAKE2B 201b250685d2b936ab158db74d4a136aba4cd48c1432da8574b6be2d64d7bdab08605f3903fe9611ca604e4cbaf72b5a9639184dcf2e6de0f30b63619a9a4264 SHA512 90827fcba878a1f5168e7a0d97ad7825b9d8fa2d1b15c0eb050ff13f35f3a8539f9df511a7bb1006974893cad936f5470308314d522c4d8da3ebef9ec2b219e4
DIST amd64-bin-libreoffice-kde-java-7.3.3.2-r3.xd3 30867686 BLAKE2B 352c47ec2b1b4b528cc727fb24fc8ebaa5c94339d8a9d2fae97f103d6ed6485485b1e61fdac6a1ed6958c658ee9ee92e636caf33e65d9417c871cf85f653f968 SHA512 e397779754c2a0e95d7cc1d3575774810d968d0b1ce5906cb374b0e7e534127b342636666b83dc29bf52e0eb049c2fd93da80c312f0470b39befd6bd5e0812c9
+DIST amd64-bin-libreoffice-kde-java-7.3.4.2.xd3 30964144 BLAKE2B fb98d727cf9d8479e44f48148d06bd956eafcaec4f0f06ff62f50a8297d20adabb8a076979986326dbe9882ad2ec17eb97f7abadc47d523153c85ad8f874c215 SHA512 178b4583c63eff69a384f7a1805e029199a066c70aa8488fffde2e61242a45e1cec99f7c02c57087b66df029db7968e5f3c56ecc81282cd75faedbf6aac06a79
DIST x86-bin-libreoffice-7.3.3.2-r3.tar.xz 144159236 BLAKE2B 2987cfb61eaa37c7c0eec8f58efaf0c464c1e6311dc207cf9aaee85790930eacd12d38ca83684714392f20954fb07d427b3a994b61c2ecb50096f9ba22079e8d SHA512 3bbd3624d7381cc8e09035098901214dceb2c6ab985eedb219cd333b32faf80e9b12cf6bfe3e3cd148cb21d868cab276f400816f45d8b19c4fc539b42f47705a
+DIST x86-bin-libreoffice-7.3.4.2.tar.xz 144147140 BLAKE2B 8505f1e18bad0c63b16a1663947c27d336525b92d307279bc705f814d8ee93183153b487fb2373788d4147d73fdd6ef9995ff6a3046145bca1a0293b3376b4fe SHA512 34e446882e87fe049056e7bfc5e9ead8bfa3c07823dcdfebba61e2b589ffac0f1797d49bea7f19c462ccfd36bb654653b58cdcee2cb596a9ef3253b4ed08f3a7
DIST x86-bin-libreoffice-gnome-7.3.3.2-r3.xd3 1446875 BLAKE2B 4d2c700c42c81422ec9834d119d141c8a255578245bb74eecaf3a785e874b20ef0dec98544ac9fb9d28bd7e2bd35e3b822793f7e86c61e04c1953cf52cba327c SHA512 b33eefe0233f7f68ca1706eacc92631fa9f45e639615449d877ef7f3716db60bf3d3166525cb298881c5c80d387ced6f19a2b87b9e295bc48669bc5998855763
+DIST x86-bin-libreoffice-gnome-7.3.4.2.xd3 1448866 BLAKE2B da76f7fb0503e8cd8c074ef07a84a11b43363d4be75ff287a3a87e53d8185d31e4ca206c5161b989722f7f4e8e6c385380532ecf33a499fc5d38da9687bb9baa SHA512 a391be42e12afb2c78df70e20875433846f19183bc598674d099dc8d4d57f47b455d33f6911822bc4dd0028655d2dbbc8e592085144128ae7a4ee2d4bee10439
DIST x86-bin-libreoffice-kde-7.3.3.2-r3.xd3 18547991 BLAKE2B 09d3f38a7592ab487a241c2c4a427fa57405d95796f5ba5e1ca8036cb89630edcdab902308f89e616d1d3a0981200626c465d0465800b334c3d9f5886d09d3f6 SHA512 1fbfe49bd25f219d7ec9168aeaa9c0c8aef9303027fcc8491c5a69ce7d2ea582e02445b644a3db6f3cc3964aafda8ec6f08292617e7983680f448cd1dfffb336
+DIST x86-bin-libreoffice-kde-7.3.4.2.xd3 18531900 BLAKE2B e3ed162a68a6fef8b2be6adb0be68a015290ec7c8ec1ba3cdd1a2a33f88a69f3100d1beb89c7dc0b9e4bbc78097316d8a0f7d4edf8294154ebd98cf51836d2b3 SHA512 467e661741fa40643c7a53f7980b44872a6c9bdf654456fecc66d38828928f745922a8dcccc835aa722bd0814cdbd99e4e5e51f4d35c29263e44269574d6a49d
diff --git a/app-office/libreoffice-bin/libreoffice-bin-7.3.4.2.ebuild b/app-office/libreoffice-bin/libreoffice-bin-7.3.4.2.ebuild
new file mode 100644
index 000000000000..2224164fd945
--- /dev/null
+++ b/app-office/libreoffice-bin/libreoffice-bin-7.3.4.2.ebuild
@@ -0,0 +1,257 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+BASE_PACKAGENAME="bin"
+BASE_AMD64_URI="https://tamiko.43-1.org/distfiles/amd64-${BASE_PACKAGENAME}-"
+BASE_X86_URI="https://tamiko.43-1.org/distfiles/x86-${BASE_PACKAGENAME}-"
+
+PYTHON_COMPAT=( python3_10 )
+PYTHON_REQ_USE="xml(+)"
+
+inherit java-pkg-opt-2 python-single-r1 prefix toolchain-funcs xdg-utils
+
+DESCRIPTION="A full office productivity suite. Binary package"
+HOMEPAGE="https://www.libreoffice.org"
+SRC_URI_AMD64="
+ ${BASE_AMD64_URI}libreoffice-${PVR}.tar.xz
+ kde? (
+ !java? ( ${BASE_AMD64_URI}libreoffice-kde-${PVR}.xd3 )
+ java? ( ${BASE_AMD64_URI}libreoffice-kde-java-${PVR}.xd3 )
+ )
+ gnome? (
+ !java? ( ${BASE_AMD64_URI}libreoffice-gnome-${PVR}.xd3 )
+ java? ( ${BASE_AMD64_URI}libreoffice-gnome-java-${PVR}.xd3 )
+ )
+ !kde? ( !gnome? (
+ java? ( ${BASE_AMD64_URI}libreoffice-java-${PVR}.xd3 )
+ ) )
+"
+SRC_URI_X86="
+ ${BASE_X86_URI}libreoffice-${PVR}.tar.xz
+ kde? (
+ ${BASE_X86_URI}libreoffice-kde-${PVR}.xd3
+ )
+ gnome? (
+ ${BASE_X86_URI}libreoffice-gnome-${PVR}.xd3
+ )
+"
+
+SRC_URI="
+ amd64? ( ${SRC_URI_AMD64} )
+ x86? ( ${SRC_URI_X86} )
+"
+
+IUSE="gnome java kde"
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+
+BIN_COMMON_DEPEND="
+ app-text/hunspell:0/1.7
+ =app-text/libexttextcat-3.4*
+ =app-text/libmwaw-0.3*
+ dev-cpp/abseil-cpp:0/20211102
+ dev-libs/boost:0/1.79.0
+ dev-libs/icu:0/71.1
+ dev-libs/liborcus:0/0.17
+ >=media-gfx/graphite2-1.3.10
+ media-libs/harfbuzz:0/4.0.0[icu]
+ media-libs/libjpeg-turbo:0/0.2
+ media-libs/libpng:0/16
+ media-libs/openjpeg:2/7
+ media-libs/zxing-cpp:0/0
+ >=sys-devel/gcc-11.3.0
+ >=sys-libs/glibc-2.34
+"
+
+# PLEASE place any restrictions that are specific to the binary builds
+# into the BIN_COMMON_DEPEND block above.
+# All dependencies below this point should remain identical to those in
+# the source ebuilds.
+
+COMMON_DEPEND="
+ ${BIN_COMMON_DEPEND}
+ ${PYTHON_DEPS}
+ app-arch/unzip
+ app-arch/zip
+ app-crypt/gpgme[cxx]
+ app-text/hunspell:=
+ >=app-text/libabw-0.1.0
+ >=app-text/libebook-0.1
+ app-text/libepubgen
+ >=app-text/libetonyek-0.1
+ app-text/libexttextcat
+ app-text/liblangtag
+ >=app-text/libmspub-0.1.0
+ >=app-text/libmwaw-0.3.1
+ >=app-text/libnumbertext-1.0.6
+ >=app-text/libodfgen-0.1.0
+ app-text/libqxp
+ app-text/libstaroffice
+ app-text/libwpd:0.10[tools]
+ app-text/libwpg:0.3
+ >=app-text/libwps-0.4
+ app-text/mythes
+ dev-cpp/abseil-cpp:=
+ >=dev-cpp/clucene-2.3.3.4-r2
+ >=dev-cpp/libcmis-0.5.2
+ dev-db/unixODBC
+ >=games-engines/box2d-2.4.1:0
+ dev-lang/perl
+ >=dev-libs/boost-1.72.0:=[nls]
+ dev-libs/expat
+ dev-libs/hyphen
+ dev-libs/icu:=
+ dev-libs/libassuan
+ dev-libs/libgpg-error
+ >=dev-libs/liborcus-0.17.2:0/0.17
+ dev-libs/librevenge
+ dev-libs/libxml2
+ dev-libs/libxslt
+ dev-libs/nspr
+ dev-libs/nss
+ >=dev-libs/redland-1.0.16
+ >=dev-libs/xmlsec-1.2.28[nss]
+ media-gfx/fontforge
+ media-gfx/graphite2
+ media-libs/fontconfig
+ >=media-libs/freetype-2.11.0-r1:2
+ >=media-libs/harfbuzz-0.9.42:=[graphite,icu]
+ media-libs/lcms:2
+ >=media-libs/libcdr-0.1.0
+ >=media-libs/libepoxy-1.3.1[X]
+ >=media-libs/libfreehand-0.1.0
+ media-libs/libjpeg-turbo:=
+ media-libs/libpagemaker
+ >=media-libs/libpng-1.4:0=
+ >=media-libs/libvisio-0.1.0
+ media-libs/libzmf
+ media-libs/openjpeg:=
+ media-libs/zxing-cpp:=
+ >=net-libs/neon-0.31.1:=
+ net-misc/curl
+ sci-mathematics/lpsolve
+ sys-libs/zlib
+ virtual/glu
+ virtual/opengl
+ x11-libs/cairo[X]
+ x11-libs/libXinerama
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ net-print/cups
+ sys-apps/dbus[X]
+ gnome? (
+ dev-libs/glib:2
+ gnome-base/dconf
+ gnome-extra/evolution-data-server
+ )
+ media-libs/gstreamer:1.0
+ media-libs/gst-plugins-base:1.0
+ !kde? (
+ dev-libs/glib:2
+ dev-libs/gobject-introspection
+ gnome-base/dconf
+ media-libs/mesa[egl(+)]
+ x11-libs/gtk+:3[X]
+ x11-libs/pango
+ )
+ kde? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ kde-frameworks/kconfig:5
+ kde-frameworks/kcoreaddons:5
+ kde-frameworks/ki18n:5
+ kde-frameworks/kio:5
+ kde-frameworks/kwindowsystem:5
+ )
+ dev-db/mariadb-connector-c
+"
+
+RDEPEND="${COMMON_DEPEND}
+ acct-group/libreoffice
+ acct-user/libreoffice
+ !app-office/libreoffice
+ !app-office/openoffice
+ media-fonts/liberation-fonts
+ || ( x11-misc/xdg-utils kde-plasma/kde-cli-tools )
+ java? ( virtual/jre:11 )
+ kde? ( kde-frameworks/breeze-icons:* )
+"
+
+PDEPEND="
+ =app-office/libreoffice-l10n-$(ver_cut 1-4)*
+"
+
+DEPEND="dev-util/xdelta:3"
+
+# only one flavor at a time
+REQUIRED_USE="kde? ( !gnome ) gnome? ( !kde ) ${PYTHON_REQUIRED_USE}"
+
+RESTRICT="test strip"
+
+S="${WORKDIR}"
+
+PYTHON_UPDATER_IGNORE="1"
+
+QA_PREBUILT="/usr/*"
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+}
+
+src_unpack() {
+ einfo "Uncompressing distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz"
+ xz -cd "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz" > "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die
+
+ use x86 && use java && die "There is no build for x86 with Java support."
+
+ local patchname
+ use kde && patchname="-kde"
+ use gnome && patchname="-gnome"
+ use java && patchname="${patchname}-java"
+
+ if [[ -n "${patchname}" ]]; then
+ einfo "Patching distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar using ${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3"
+ xdelta3 -d -s "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3" "${WORKDIR}/tmpdist.tar" || die
+ mv "${WORKDIR}/tmpdist.tar" "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die
+ fi
+
+ einfo "Unpacking new ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar"
+ unpack "./${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar"
+}
+
+src_prepare() {
+ cp "${FILESDIR}"/50-${PN} "${T}"
+ eprefixify "${T}"/50-${PN}
+ default
+}
+
+src_configure() { :; }
+
+src_compile() { :; }
+
+src_install() {
+ dodir /usr
+ cp -aR "${S}"/usr/* "${ED}"/usr/
+
+ # prevent revdep-rebuild from attempting to rebuild all the time
+ insinto /etc/revdep-rebuild && doins "${T}/50-${PN}"
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+
+ ewarn 'If you plan to use the Base application you should use a source build and enable java and firebird.'
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}