From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/libstaroffice/
Date: Fri, 10 Apr 2020 13:48:52 +0000 (UTC) [thread overview]
Message-ID: <1586526519.8a7a9b39736d6e0b2630a8708e8f3d393f6a9a6a.asturm@gentoo> (raw)
commit: 8a7a9b39736d6e0b2630a8708e8f3d393f6a9a6a
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 10 13:44:46 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Apr 10 13:48:39 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a7a9b39
app-text/libstaroffice: EAPI-7 bump, add release switch
Package-Manager: Portage-2.3.98, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
app-text/libstaroffice/libstaroffice-9999.ebuild | 41 +++++++++++++-----------
1 file changed, 22 insertions(+), 19 deletions(-)
diff --git a/app-text/libstaroffice/libstaroffice-9999.ebuild b/app-text/libstaroffice/libstaroffice-9999.ebuild
index 7578276aed4..22578cbcb77 100644
--- a/app-text/libstaroffice/libstaroffice-9999.ebuild
+++ b/app-text/libstaroffice/libstaroffice-9999.ebuild
@@ -1,45 +1,48 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-EGIT_REPO_URI="https://github.com/fosnola/libstaroffice.git"
-[[ ${PV} == 9999 ]] && inherit git-r3 autotools
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/fosnola/libstaroffice.git"
+ inherit git-r3 autotools
+else
+ SRC_URI="http://dev-www.libreoffice.org/src/${P}.tar.xz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+fi
DESCRIPTION="Import filter for old StarOffice documents"
HOMEPAGE="https://github.com/fosnola/libstaroffice"
-[[ ${PV} == 9999 ]] || SRC_URI="http://dev-www.libreoffice.org/src/${P}.tar.xz"
LICENSE="|| ( LGPL-2.1+ MPL-2.0 )"
SLOT="0"
-[[ ${PV} == 9999 ]] || \
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-
IUSE="debug doc tools +zlib"
-RDEPEND="
+BDEPEND="
+ doc? ( app-doc/doxygen )
+"
+DEPEND="
dev-libs/librevenge
zlib? ( sys-libs/zlib )
"
-DEPEND="${RDEPEND}
- doc? ( app-doc/doxygen )
-"
+RDEPEND="${DEPEND}"
src_prepare() {
default
- [[ ${PV} == 9999 ]] && eautoreconf
+ [[ ${PV} == *9999* ]] && eautoreconf
}
src_configure() {
- econf \
- --disable-werror \
- $(use_enable debug) \
- $(use_with doc docs) \
- $(use_enable tools) \
+ local myeconfargs=(
+ $(use_enable debug)
+ $(use_with doc docs)
+ $(use_enable tools)
$(use_enable zlib zip)
+ )
+ econf "${myeconfargs[@]}"
}
src_install() {
default
- find "${D}" -name '*.la' -delete || die
+ find "${D}" -name '*.la' -type f -delete || die
}
next reply other threads:[~2020-04-10 13:48 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-10 13:48 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-03-07 0:18 [gentoo-commits] repo/gentoo:master commit in: app-text/libstaroffice/ Yixun Lan
2020-05-31 21:09 Andreas Sturmlechner
2020-05-31 15:40 Mikle Kolyada
2020-05-20 13:35 Mikle Kolyada
2020-05-19 19:36 Mikle Kolyada
2020-04-10 13:48 Andreas Sturmlechner
2019-07-30 22:40 Aaron Bauman
2018-09-19 18:35 Matt Turner
2018-08-29 10:49 Andreas Sturmlechner
2018-08-24 4:38 Mikle Kolyada
2018-08-24 1:40 Thomas Deutschmann
2018-04-27 21:42 Andreas Sturmlechner
2017-12-29 23:06 Andreas Sturmlechner
2017-12-29 18:03 Mikle Kolyada
2017-12-26 0:59 Thomas Deutschmann
2017-11-16 1:36 Thomas Deutschmann
2017-11-15 19:40 Andreas Sturmlechner
2017-11-14 13:28 Agostino Sarubbo
2017-11-10 11:05 Andreas Sturmlechner
2017-11-08 22:46 Andreas Sturmlechner
2017-07-27 15:27 Andreas Sturmlechner
2017-05-26 19:18 Andreas Hüttel
2017-03-02 19:39 Andreas Sturmlechner
2017-02-26 18:37 Andreas Sturmlechner
2017-02-06 22:03 Andreas Sturmlechner
2016-11-05 21:00 Andreas Hüttel
2016-10-01 22:08 Andreas Hüttel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1586526519.8a7a9b39736d6e0b2630a8708e8f3d393f6a9a6a.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox