From 77d1bb6f8d47023aa21aaee830bf3229837233d1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 5 Mar 2025 01:46:50 +0000 Subject: gentoo auto-resync : 05:03:2025 - 01:46:50 --- app-office/libreoffice-bin/Manifest | 4 +- .../libreoffice-bin-24.8.4-r1.ebuild | 128 -------------------- .../libreoffice-bin-24.8.4-r2.ebuild | 130 +++++++++++++++++++++ .../libreoffice-bin-25.2.0-r1.ebuild | 128 -------------------- .../libreoffice-bin-25.2.0-r2.ebuild | 130 +++++++++++++++++++++ 5 files changed, 262 insertions(+), 258 deletions(-) delete mode 100644 app-office/libreoffice-bin/libreoffice-bin-24.8.4-r1.ebuild create mode 100644 app-office/libreoffice-bin/libreoffice-bin-24.8.4-r2.ebuild delete mode 100644 app-office/libreoffice-bin/libreoffice-bin-25.2.0-r1.ebuild create mode 100644 app-office/libreoffice-bin/libreoffice-bin-25.2.0-r2.ebuild (limited to 'app-office/libreoffice-bin') diff --git a/app-office/libreoffice-bin/Manifest b/app-office/libreoffice-bin/Manifest index e6cb7bf029ce..f58256731953 100644 --- a/app-office/libreoffice-bin/Manifest +++ b/app-office/libreoffice-bin/Manifest @@ -8,6 +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-r1.ebuild 3263 BLAKE2B 8e8882314ee55889b2d98e980026292ea16ca0cf57bb306ae3a134cf563161a36bb27d2cf22930d3f4490904f0ef1865626aa83b53ac90a4ca3fc3a38e3d486b SHA512 197f283c195e4dc87cc459bfbe54cbf1e99d9b14468b1afc15bec89ed611f8b19c3949f76a91c8acf25ca87023db8911ea10dee706cdcc68c07ba98a99b1b3c9 -EBUILD libreoffice-bin-25.2.0-r1.ebuild 3264 BLAKE2B 9ebb3ebc3cfec03ed5ff4e028c8b6718b2f242c7d2b179b5e1dcfca0638912d55b01a4bc9d11565f510b4c74e8ec8030b42abb5cc926e2488f4005a1d11d3571 SHA512 7a6612d06a11f9b5991e022d4832f378d347104343eaf81dd80aa2d605243f85009b30c442cfd27418d367ba6cb976ffcf16506d090e4f08d941fb272e6ee95f +EBUILD libreoffice-bin-24.8.4-r2.ebuild 3410 BLAKE2B d069b6d1f5ea48dffe79321110189954105ce4fb5d4da853366fa87de98f314460f785bdf001b2034a4b32a367d42bfdd8bb81265cb7e19fbb3b24eb69e55a8c SHA512 f4ed751dad6ffd1b06b1e9d0f9943f4c13ff873fc6a3a73c4845d031db810ef6bd967d3c8ecc6918633e5b2aa01ed5b2230c482b59e7a20d03aacbdd4888b52c +EBUILD libreoffice-bin-25.2.0-r2.ebuild 3411 BLAKE2B b28938c6f1046a1e1a94a137682255a0d549d6d05c625f110e85fc2f21683610e66c432d57a273baf7faa87c3c25a887115aafc472b6b8709a59f466fe171c4d SHA512 c479958d78e75f906332ab59bd1706fdcfff29fa8fc82d8db0bdd432e4bf6d1442a67ebebfdeb9dc763a07b803c5b4e5744964d92996f4b6bcd0b96ed90cd08d MISC metadata.xml 529 BLAKE2B a789c063d4ee905fd36dd0192d0f2769e0eeff96e69b9f27a2e75ca47a7bcb0ec841e68cd0d5299152df2b9b626bcf301066aa251e1b4ca2b74290d57c448c8e SHA512 b98d77cf995e824efcc392c185e616219d35976f43c343a1cfb1737fb44556edbd47b13d47924e3195159d0ec06e40f4909d0e7cd9deed7a8fa10928bc47becf diff --git a/app-office/libreoffice-bin/libreoffice-bin-24.8.4-r1.ebuild b/app-office/libreoffice-bin/libreoffice-bin-24.8.4-r1.ebuild deleted file mode 100644 index 61903e5b025c..000000000000 --- a/app-office/libreoffice-bin/libreoffice-bin-24.8.4-r1.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# TODO: USE=java isn't really doing anything here right now. It also -# uses jre:11 which may be unnecessary. -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 gnome ; 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-24.8.4-r2.ebuild b/app-office/libreoffice-bin/libreoffice-bin-24.8.4-r2.ebuild new file mode 100644 index 000000000000..0aeeff6455c0 --- /dev/null +++ b/app-office/libreoffice-bin/libreoffice-bin-24.8.4-r2.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# TODO: USE=java isn't really doing anything here right now. It also +# uses jre:11 which may be unnecessary. +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 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 + || ( x11-misc/xdg-utils kde-plasma/kde-cli-tools ) + java? ( virtual/jre:11 ) +" +PDEPEND=" + =app-office/libreoffice-l10n-$(ver_cut 1-2)* +" +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 + + # The GNOME and KDE integration .debs are a mix of both: + # 1) VCLs (GUI backends), and + # 2) Actual DE integration (which needs KF5 and so on) + # + # For now, we always install the GTK one, and don't install the Qt + # one (as it's Qt5-based). + # + # KDE integration itself also requires KF5 as of 25.2.0, so we choose not to use it. + # Can revisit when it's KF6-based. + 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-r1.ebuild b/app-office/libreoffice-bin/libreoffice-bin-25.2.0-r1.ebuild deleted file mode 100644 index 9a415e0207c1..000000000000 --- a/app-office/libreoffice-bin/libreoffice-bin-25.2.0-r1.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# TODO: USE=java isn't really doing anything here right now. It also -# uses jre:11 which may be unnecessary. -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 gnome ; 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-r2.ebuild b/app-office/libreoffice-bin/libreoffice-bin-25.2.0-r2.ebuild new file mode 100644 index 000000000000..3c8e4713c727 --- /dev/null +++ b/app-office/libreoffice-bin/libreoffice-bin-25.2.0-r2.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# TODO: USE=java isn't really doing anything here right now. It also +# uses jre:11 which may be unnecessary. +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 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 + || ( x11-misc/xdg-utils kde-plasma/kde-cli-tools ) + java? ( virtual/jre:11 ) +" +PDEPEND=" + =app-office/libreoffice-l10n-$(ver_cut 1-2)* +" +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 + + # The GNOME and KDE integration .debs are a mix of both: + # 1) VCLs (GUI backends), and + # 2) Actual DE integration (which needs KF5 and so on) + # + # For now, we always install the GTK one, and don't install the Qt + # one (as it's Qt5-based). + # + # KDE integration itself also requires KF5 as of 25.2.0, so we choose not to use it. + # Can revisit when it's KF6-based. + 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}" +} -- cgit v1.2.3