commit: 74e5380a54f78794b33197c51d4d9ca7f9c12b09 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Thu Oct 4 08:38:29 2018 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Thu Oct 4 08:49:00 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74e5380a
app-text/libetonyek: Relax dev-util/mdds version requirement Make the sddm slot op work by querying x.y info from best_version. Bug: https://bugs.gentoo.org/667690 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> Package-Manager: Portage-2.3.50, Repoman-2.3.11 app-text/libetonyek/libetonyek-9999.ebuild | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/app-text/libetonyek/libetonyek-9999.ebuild b/app-text/libetonyek/libetonyek-9999.ebuild index 39b6f10a69f..682cf934b09 100644 --- a/app-text/libetonyek/libetonyek-9999.ebuild +++ b/app-text/libetonyek/libetonyek-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 EGIT_REPO_URI="https://anongit.freedesktop.org/git/libreoffice/libetonyek.git" [[ ${PV} == 9999 ]] && inherit autotools git-r3 @@ -13,7 +13,7 @@ HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libetonyek" LICENSE="|| ( GPL-2+ LGPL-2.1 MPL-1.1 )" SLOT="0" [[ ${PV} == 9999 ]] || \ -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" IUSE="doc static-libs test" RDEPEND=" @@ -24,7 +24,7 @@ RDEPEND=" " DEPEND="${RDEPEND} dev-libs/boost - >=dev-util/mdds-1.2.2:1 + >=dev-util/mdds-1.4.2:1= media-libs/glm sys-devel/libtool virtual/pkgconfig @@ -39,12 +39,15 @@ src_prepare() { } src_configure() { + # mdds installs versioned pkgconfig files + local p=$(best_version dev-util/mdds) + local pv=$(echo ${p/%-r[0-9]*/} | rev | cut -d - -f 1 | rev) econf \ --disable-werror \ + --with-mdds=$(ver_cut 1-2 ${pv}) \ $(use_with doc docs) \ $(use_enable static-libs static) \ - $(use_enable test tests) \ - --with-mdds=1.2 + $(use_enable test tests) } src_install() {