summaryrefslogtreecommitdiff
path: root/app-office/libreoffice-bin
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/libreoffice-bin')
-rw-r--r--app-office/libreoffice-bin/Manifest4
-rw-r--r--app-office/libreoffice-bin/libreoffice-bin-24.8.4.ebuild126
-rw-r--r--app-office/libreoffice-bin/libreoffice-bin-25.2.0.ebuild126
3 files changed, 256 insertions, 0 deletions
diff --git a/app-office/libreoffice-bin/Manifest b/app-office/libreoffice-bin/Manifest
index 44b11f153f91..952feb02f568 100644
--- a/app-office/libreoffice-bin/Manifest
+++ b/app-office/libreoffice-bin/Manifest
@@ -1,4 +1,6 @@
AUX 50-libreoffice-bin 158 BLAKE2B 2091698f80fbe097785c60b20f636150a2ee65bf52639fa1bb4a92341d050146040ad8912c5f5e3ca22e48ac3d819053c9948e256fb1d0e0901f7645934bfb89 SHA512 2d1158f48ac80f9212578d020e5659e777ff494adc3abc94438cec6890b88741f92ea2ed3bb4585ffdabe531d55c6938ca9408e9ece5a438e67d480eb406ed50
+DIST LibreOffice_24.8.4_Linux_x86-64_deb.tar.gz 209561263 BLAKE2B 7862e55d367c1ae4f10f638d6e36fcd21358e8b0079d1281d0cf4d44878c9148762b4aaec5cbf98195a7448aefc98d91489991cffcff70f11cd321dddf142fe0 SHA512 30c3f79495c8f63ef8287feb3a2e0e471673b6e6f06136cc3346d41bae2b53270f035dbde0ae5a2d111d224c52d9b4c0ba4fac682b205f31c4a9619ad6a8b944
+DIST LibreOffice_25.2.0_Linux_x86-64_deb.tar.gz 207070838 BLAKE2B 066ea5f4144bd82c5af32ace7663ecba2821832a168a107d585e1107a08f8c09699e3a18dbcce3e9f2834cde586b13ef7351b54c232f59e2f623c3488750e52c SHA512 ab5f6b977abb7517500f64d9a534ac6afe2e66b1fcb12fdbbf2e2c8eb854225d5cb2520e4214ef6665ab1d0475d439dfa04b175f4c032740ebb5d894ae4ac5a6
DIST amd64-bin-libreoffice-24.2.7.2.tar.xz 155436428 BLAKE2B adfa8c683d00ecf028f5e9aa2d128cbb0e2010cbdc2a99b4c4a05317955869177d6411335529997ac66ea55db3ec19a8b7bf1b2d09d6f2720d92f26514a1fa4a SHA512 ae912280a7529aa4df95e95340b4c9a6ce655d0e24d0eac76dbfdf0d81acadff621555ee76aa8fd83f577d9ce1b81cf8486c4f48468d401166db9939fb611d89
DIST amd64-bin-libreoffice-gnome-24.2.7.2.xd3 2398948 BLAKE2B 104421683a356c40a79253b91d777f217ec9608c5e0fa69f6ef4d6f418298863a87ee2785b2dbf6a8207f6b3f024c71c6e798e396b2d2993af2fecf7dc87ef2c SHA512 aa13197c75c859256472f786fb938d7c3da68989e53da10d9b7d9ee211b894c9d5ce768038b266feb8e5f50da490252e1addfbcc1e4f8b7f8be87a2b33992d7d
DIST amd64-bin-libreoffice-gnome-java-24.2.7.2.xd3 32292082 BLAKE2B 1ce76e1c893d6e5b27cf0c01ad7c5d66a8fa6cec54d142f3f5f03e3c64a4bfbbf7471c3393d1b1f0410b89da6ccbd0f44d515e07379d6a95d84c4404cbcbc921 SHA512 fe1d5774856fb8f698b568ffb795776d3c959c0c4c589a7784672e42a7286a008a1679e6bbbda12e7135d21f01995bfb5c9965fef4049b1246fe7eda50a25683
@@ -6,4 +8,6 @@ DIST amd64-bin-libreoffice-java-24.2.7.2.xd3 32326596 BLAKE2B 03c48f8a592fdbfd0c
DIST amd64-bin-libreoffice-kde-24.2.7.2.xd3 21800357 BLAKE2B 99880a908e653ea6e97e0d43ca6d1cf2e249358aac733278ed63a870efbe852a299e27318c6dcf83d7415980f79df64f0d6f8a9fbc60f0956c640c2627555eb5 SHA512 6b5bd27e753d097f7c6e362c381400e6ac5175f9466e6cb0c732f67a0abe045324dd3f72649398892375641da1b5638442c246ebd56930c8c7901415ab604352
DIST amd64-bin-libreoffice-kde-java-24.2.7.2.xd3 33602855 BLAKE2B d71000157c30d7f94152e26d46ce6c67a595dcaa92092890aa3ae52206860ec1911fceae15e02045344ff9fc4cb28aaad088a877d7699b341bcc25ef948b519f SHA512 2f28ffb4f2c60875be0fe451a4ac177bb413cdff0806a709b8adb5f24e4f4bff4d22a9818d27a297bf8f9674313dbc984b0d8ade364351ca4dc06121baa01b84
EBUILD libreoffice-bin-24.2.7.2.ebuild 6019 BLAKE2B ec729faa920ceaf8023fc8aff6f720b993b3abd169a1cb78898d70306eb170dbad9203171c353924ccb0e6d19f48508f9b3e65fb65b718b39590711b9a3474c4 SHA512 b5be229047a96121ec6f67716eee58ce07a98e5be5bfb567b845b5eb4bbe286141e760a0d3d8cd5d72bba943a1c76eb535c5a29e62055cf2c7c0f1840cac1d5a
+EBUILD libreoffice-bin-24.8.4.ebuild 3154 BLAKE2B 57a67a8fbcc71b6ed8c286060d92000bbd493bd4d1bda78ce39af81d062e14bb767dd0c91915d1ec8ed27ca6aa95c50979cfdfcec57455673cd257c4b625ac21 SHA512 08e237767726d7dff9ce68bf0b0f9ae8bec176cab62dc54c684a181686d19db0766804a29e535148ef632c788165a6009b7bf3104af124424df6cdc950b0b672
+EBUILD libreoffice-bin-25.2.0.ebuild 3154 BLAKE2B 57a67a8fbcc71b6ed8c286060d92000bbd493bd4d1bda78ce39af81d062e14bb767dd0c91915d1ec8ed27ca6aa95c50979cfdfcec57455673cd257c4b625ac21 SHA512 08e237767726d7dff9ce68bf0b0f9ae8bec176cab62dc54c684a181686d19db0766804a29e535148ef632c788165a6009b7bf3104af124424df6cdc950b0b672
MISC metadata.xml 529 BLAKE2B a789c063d4ee905fd36dd0192d0f2769e0eeff96e69b9f27a2e75ca47a7bcb0ec841e68cd0d5299152df2b9b626bcf301066aa251e1b4ca2b74290d57c448c8e SHA512 b98d77cf995e824efcc392c185e616219d35976f43c343a1cfb1737fb44556edbd47b13d47924e3195159d0ec06e40f4909d0e7cd9deed7a8fa10928bc47becf
diff --git a/app-office/libreoffice-bin/libreoffice-bin-24.8.4.ebuild b/app-office/libreoffice-bin/libreoffice-bin-24.8.4.ebuild
new file mode 100644
index 000000000000..2062dcebf6ff
--- /dev/null
+++ b/app-office/libreoffice-bin/libreoffice-bin-24.8.4.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit java-pkg-opt-2 prefix unpacker xdg
+
+DESCRIPTION="A full office productivity suite. Binary package"
+HOMEPAGE="https://www.libreoffice.org"
+SRC_URI_AMD64="
+ https://download.documentfoundation.org/libreoffice/stable/${PV}/deb/x86_64/LibreOffice_${PV}_Linux_x86-64_deb.tar.gz
+"
+SRC_URI="
+ amd64? ( ${SRC_URI_AMD64} )
+"
+S="${WORKDIR}"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+IUSE="java gnome python"
+
+RDEPEND="
+ acct-group/libreoffice
+ acct-user/libreoffice
+ app-accessibility/at-spi2-core:2
+ app-arch/unzip
+ app-arch/zip
+ app-crypt/mit-krb5
+ dev-libs/glib:2
+ dev-libs/gobject-introspection
+ dev-libs/libxml2
+ dev-libs/libxslt
+ dev-libs/nspr
+ dev-libs/nss
+ gnome-base/dconf
+ media-fonts/liberation-fonts
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/gst-plugins-base:1.0
+ media-libs/gstreamer:1.0
+ media-libs/mesa[egl(+)]
+ net-dns/avahi
+ net-print/cups
+ sys-apps/dbus
+ sys-devel/gcc:*
+ sys-fs/e2fsprogs
+ sys-libs/glibc
+ sys-libs/zlib
+ virtual/libcrypt
+ virtual/opengl
+ x11-libs/cairo[X]
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:3[X]
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXinerama
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/pango
+ gnome? (
+ dev-libs/glib:2
+ >=gnome-base/dconf-0.40.0
+ gnome-extra/evolution-data-server
+ )
+ || ( x11-misc/xdg-utils kde-plasma/kde-cli-tools )
+ java? ( virtual/jre:11 )
+"
+RESTRICT="test strip"
+
+QA_PREBUILT="opt/* usr/*"
+
+src_unpack() {
+ default
+
+ BINPKG_BASE=$(find "${WORKDIR}" -mindepth 1 -maxdepth 1 -name 'LibreOffice_*' -type d -print || die)
+ BINPKG_BASE="${BINPKG_BASE##${WORKDIR}}"
+ [[ -z ${BINPKG_BASE} ]] && die "Failed to detect binary package directory!"
+
+ # We don't package Firebird anymore
+ rm "${WORKDIR}"/${BINPKG_BASE}/DEBS/libobasis${PV%*.*}-firebird*_amd64.deb || die
+
+ if ! use java ; then
+ rm "${WORKDIR}"/${BINPKG_BASE}/DEBS/libobasis${PV%*.*}-gnome-integration*_amd64.deb || die
+ fi
+
+ # Requires KF5 as of 25.2.0, so we choose not to use it.
+ rm "${WORKDIR}"/${BINPKG_BASE}/DEBS/libobasis${PV%*.*}-kde-integration*_amd64.deb || die
+
+ # Bundled Python is used (3.10 as of 25.2.0), so no need for system dependency.
+ if ! use python ; then
+ rm "${WORKDIR}"/${BINPKG_BASE}/DEBS/libobasis${PV%*.*}-python-script-provider*_amd64.deb || die
+ fi
+
+ # The downloaded .deb has a DEBS/ directory with e.g. libreoffice25.2_25.2.0.3-3_amd64.deb
+ # and many other .debs for each component.
+ readarray -t -d '' debs < <(find "${WORKDIR}" -name '*.deb' -type f -print0 || die)
+
+ local deb
+ for deb in "${debs[@]}" ; do
+ unpack_deb "${deb}"
+ done
+}
+
+src_prepare() {
+ default
+
+ cat <<-EOF > "${T}"/50-${PN} || die
+ SEARCH_DIRS_MASK="@GENTOO_PORTAGE_EPREFIX@/opt/libreoffice${PV%*.*}"
+ EOF
+ eprefixify "${T}"/50-${PN}
+}
+
+src_install() {
+ dodir /usr /opt
+ mv "${S}"/usr/local/* "${S}"/usr || die
+ cp -aR "${S}"/opt/* "${ED}"/opt/ || die
+ cp -aR "${S}"/usr/* "${ED}"/usr/ || die
+ rmdir "${ED}"/usr/local || die
+
+ # prevent revdep-rebuild from attempting to rebuild all the time
+ insinto /etc/revdep-rebuild
+ doins "${T}/50-${PN}"
+}
diff --git a/app-office/libreoffice-bin/libreoffice-bin-25.2.0.ebuild b/app-office/libreoffice-bin/libreoffice-bin-25.2.0.ebuild
new file mode 100644
index 000000000000..2062dcebf6ff
--- /dev/null
+++ b/app-office/libreoffice-bin/libreoffice-bin-25.2.0.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit java-pkg-opt-2 prefix unpacker xdg
+
+DESCRIPTION="A full office productivity suite. Binary package"
+HOMEPAGE="https://www.libreoffice.org"
+SRC_URI_AMD64="
+ https://download.documentfoundation.org/libreoffice/stable/${PV}/deb/x86_64/LibreOffice_${PV}_Linux_x86-64_deb.tar.gz
+"
+SRC_URI="
+ amd64? ( ${SRC_URI_AMD64} )
+"
+S="${WORKDIR}"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+IUSE="java gnome python"
+
+RDEPEND="
+ acct-group/libreoffice
+ acct-user/libreoffice
+ app-accessibility/at-spi2-core:2
+ app-arch/unzip
+ app-arch/zip
+ app-crypt/mit-krb5
+ dev-libs/glib:2
+ dev-libs/gobject-introspection
+ dev-libs/libxml2
+ dev-libs/libxslt
+ dev-libs/nspr
+ dev-libs/nss
+ gnome-base/dconf
+ media-fonts/liberation-fonts
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/gst-plugins-base:1.0
+ media-libs/gstreamer:1.0
+ media-libs/mesa[egl(+)]
+ net-dns/avahi
+ net-print/cups
+ sys-apps/dbus
+ sys-devel/gcc:*
+ sys-fs/e2fsprogs
+ sys-libs/glibc
+ sys-libs/zlib
+ virtual/libcrypt
+ virtual/opengl
+ x11-libs/cairo[X]
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:3[X]
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXinerama
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/pango
+ gnome? (
+ dev-libs/glib:2
+ >=gnome-base/dconf-0.40.0
+ gnome-extra/evolution-data-server
+ )
+ || ( x11-misc/xdg-utils kde-plasma/kde-cli-tools )
+ java? ( virtual/jre:11 )
+"
+RESTRICT="test strip"
+
+QA_PREBUILT="opt/* usr/*"
+
+src_unpack() {
+ default
+
+ BINPKG_BASE=$(find "${WORKDIR}" -mindepth 1 -maxdepth 1 -name 'LibreOffice_*' -type d -print || die)
+ BINPKG_BASE="${BINPKG_BASE##${WORKDIR}}"
+ [[ -z ${BINPKG_BASE} ]] && die "Failed to detect binary package directory!"
+
+ # We don't package Firebird anymore
+ rm "${WORKDIR}"/${BINPKG_BASE}/DEBS/libobasis${PV%*.*}-firebird*_amd64.deb || die
+
+ if ! use java ; then
+ rm "${WORKDIR}"/${BINPKG_BASE}/DEBS/libobasis${PV%*.*}-gnome-integration*_amd64.deb || die
+ fi
+
+ # Requires KF5 as of 25.2.0, so we choose not to use it.
+ rm "${WORKDIR}"/${BINPKG_BASE}/DEBS/libobasis${PV%*.*}-kde-integration*_amd64.deb || die
+
+ # Bundled Python is used (3.10 as of 25.2.0), so no need for system dependency.
+ if ! use python ; then
+ rm "${WORKDIR}"/${BINPKG_BASE}/DEBS/libobasis${PV%*.*}-python-script-provider*_amd64.deb || die
+ fi
+
+ # The downloaded .deb has a DEBS/ directory with e.g. libreoffice25.2_25.2.0.3-3_amd64.deb
+ # and many other .debs for each component.
+ readarray -t -d '' debs < <(find "${WORKDIR}" -name '*.deb' -type f -print0 || die)
+
+ local deb
+ for deb in "${debs[@]}" ; do
+ unpack_deb "${deb}"
+ done
+}
+
+src_prepare() {
+ default
+
+ cat <<-EOF > "${T}"/50-${PN} || die
+ SEARCH_DIRS_MASK="@GENTOO_PORTAGE_EPREFIX@/opt/libreoffice${PV%*.*}"
+ EOF
+ eprefixify "${T}"/50-${PN}
+}
+
+src_install() {
+ dodir /usr /opt
+ mv "${S}"/usr/local/* "${S}"/usr || die
+ cp -aR "${S}"/opt/* "${ED}"/opt/ || die
+ cp -aR "${S}"/usr/* "${ED}"/usr/ || die
+ rmdir "${ED}"/usr/local || die
+
+ # prevent revdep-rebuild from attempting to rebuild all the time
+ insinto /etc/revdep-rebuild
+ doins "${T}/50-${PN}"
+}