commit:     3961a215058b8c479555d58991e438cfc81a9541
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 27 22:19:21 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jan 28 23:18:59 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3961a215

app-office/libreoffice: Simplify src_unpack()

Package-Manager: Portage-2.3.20, Repoman-2.3.6

 app-office/libreoffice/libreoffice-9999.ebuild | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/app-office/libreoffice/libreoffice-9999.ebuild 
b/app-office/libreoffice/libreoffice-9999.ebuild
index 3b3a7ad4a07..4869257cf96 100644
--- a/app-office/libreoffice/libreoffice-9999.ebuild
+++ b/app-office/libreoffice/libreoffice-9999.ebuild
@@ -243,6 +243,8 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}
 "
 
 PATCHES=(
+       # "${WORKDIR}"/${PATCHSET/.tar.xz/}
+
        # not upstreamable stuff
        "${FILESDIR}/${PN}-5.4-system-pyuno.patch"
        "${FILESDIR}/${PN}-5.3.4.2-kioclient5.patch"
@@ -289,13 +291,9 @@ pkg_setup() {
 }
 
 src_unpack() {
-       [[ -n ${PATCHSET} ]] && unpack ${PATCHSET}
-       use branding && unpack "${BRANDING}"
+       default
 
-       if [[ ${PV} != *9999* ]]; then
-               unpack "${P}.tar.xz"
-               unpack "${PN}-help-${PV}.tar.xz"
-       else
+       if [[ ${PV} = *9999* ]]; then
                local base_uri branch mypv
                base_uri="https://anongit.freedesktop.org/git";
                branch="master"
@@ -310,7 +308,6 @@ src_unpack() {
 }
 
 src_prepare() {
-       [[ -n ${PATCHSET} ]] && eapply "${WORKDIR}/${PATCHSET/.tar.xz/}"
        default
 
        AT_M4DIR="m4" eautoreconf
@@ -425,8 +422,8 @@ src_configure() {
                $(use_enable bluetooth sdremote-bluetooth)
                $(use_enable coinmp)
                $(use_enable cups)
-               $(use_enable debug)
                $(use_enable dbus)
+               $(use_enable debug)
                $(use_enable eds evolution2)
                $(use_enable firebird firebird-sdbc)
                $(use_enable gstreamer gstreamer-1-0)

Reply via email to