app-text/libetonyek: bump MDDS_VER to 2.1

Bug: https://bugs.gentoo.org/831828
Closes: https://bugs.gentoo.org/866141
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2023-02-25 11:04:41 +01:00
parent 9b77c798eb
commit b845dcfde3

View File

@@ -1,15 +1,18 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
if [[ ${PV} == *9999 ]]; then
MDDS_VER="2.1"
if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://anongit.freedesktop.org/git/libreoffice/libetonyek.git"
inherit autotools git-r3
else
SRC_URI="https://dev-www.libreoffice.org/src/libetonyek/${P}.tar.xz"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
fi
DESCRIPTION="Library parsing Apple Keynote presentations"
HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libetonyek"
@@ -18,12 +21,6 @@ SLOT="0"
IUSE="doc static-libs test"
RESTRICT="!test? ( test )"
MDDS_VER="2.0"
BDEPEND="
virtual/pkgconfig
doc? ( app-doc/doxygen )
"
RDEPEND="
app-text/liblangtag
dev-libs/librevenge
@@ -37,11 +34,15 @@ DEPEND="${RDEPEND}
sys-devel/libtool
test? ( dev-util/cppunit )
"
BDEPEND="
virtual/pkgconfig
doc? ( app-doc/doxygen )
"
src_prepare() {
default
[[ -d m4 ]] || mkdir "m4"
[[ ${PV} == *9999 ]] && eautoreconf
[[ ${PV} == *9999* ]] && eautoreconf
}
src_configure() {