commit: b06f271ded4934e032bc0ae783dba831d3c0f696
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 14 05:37:44 2024 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Nov 14 18:42:01 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b06f271d
media-libs/libvisio: update EAPI 7 -> 8
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
media-libs/libvisio/libvisio-9999.ebuild | 23 +++++++++++------------
1 file changed, 11 insertions(+), 12 deletions(-)
diff --git a/media-libs/libvisio/libvisio-9999.ebuild
b/media-libs/libvisio/libvisio-9999.ebuild
index f9f22b09cf32..3b50dc5240e3 100644
--- a/media-libs/libvisio/libvisio-9999.ebuild
+++ b/media-libs/libvisio/libvisio-9999.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit flag-o-matic
-if [[ ${PV} == 9999 ]]; then
+if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://anongit.freedesktop.org/git/libreoffice/libvisio.git"
inherit autotools git-r3
else
@@ -18,14 +18,9 @@
HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libvisio"
LICENSE="|| ( GPL-2+ LGPL-2.1 MPL-1.1 )"
SLOT="0"
-IUSE="doc static-libs test tools"
+IUSE="doc test tools"
RESTRICT="!test? ( test )"
-BDEPEND="
- dev-lang/perl
- virtual/pkgconfig
- doc? ( app-text/doxygen )
-"
RDEPEND="
dev-libs/icu:=
dev-libs/librevenge
@@ -37,11 +32,16 @@ DEPEND="${RDEPEND}
dev-build/libtool
test? ( dev-util/cppunit )
"
+BDEPEND="
+ dev-lang/perl
+ virtual/pkgconfig
+ doc? ( app-text/doxygen )
+"
src_prepare() {
default
- [[ -d m4 ]] || mkdir "m4"
- [[ ${PV} == 9999 ]] && eautoreconf
+ [[ -d m4 ]] || mkdir "m4" || die
+ [[ ${PV} == *9999* ]] && eautoreconf
}
src_configure() {
@@ -50,7 +50,6 @@ src_configure() {
local myeconfargs=(
$(use_with doc docs)
- $(use_enable static-libs static)
$(use_enable test tests)
$(use_enable tools)
)
@@ -59,5 +58,5 @@ src_configure() {
src_install() {
default
- find "${D}" -name '*.la' -delete || die
+ find "${ED}" -name '*.la' -delete || die
}