Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/libetonyek/
Date: Thu, 04 Oct 2018 08:49:41
Message-Id: 1538642940.74e5380a54f78794b33197c51d4d9ca7f9c12b09.asturm@gentoo
1 commit: 74e5380a54f78794b33197c51d4d9ca7f9c12b09
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 4 08:38:29 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 4 08:49:00 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74e5380a
7
8 app-text/libetonyek: Relax dev-util/mdds version requirement
9
10 Make the sddm slot op work by querying x.y info from best_version.
11
12 Bug: https://bugs.gentoo.org/667690
13 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
14 Package-Manager: Portage-2.3.50, Repoman-2.3.11
15
16 app-text/libetonyek/libetonyek-9999.ebuild | 15 +++++++++------
17 1 file changed, 9 insertions(+), 6 deletions(-)
18
19 diff --git a/app-text/libetonyek/libetonyek-9999.ebuild b/app-text/libetonyek/libetonyek-9999.ebuild
20 index 39b6f10a69f..682cf934b09 100644
21 --- a/app-text/libetonyek/libetonyek-9999.ebuild
22 +++ b/app-text/libetonyek/libetonyek-9999.ebuild
23 @@ -1,7 +1,7 @@
24 -# Copyright 1999-2018 Gentoo Foundation
25 +# Copyright 1999-2018 Gentoo Authors
26 # Distributed under the terms of the GNU General Public License v2
27
28 -EAPI=6
29 +EAPI=7
30
31 EGIT_REPO_URI="https://anongit.freedesktop.org/git/libreoffice/libetonyek.git"
32 [[ ${PV} == 9999 ]] && inherit autotools git-r3
33 @@ -13,7 +13,7 @@ HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libetonyek"
34 LICENSE="|| ( GPL-2+ LGPL-2.1 MPL-1.1 )"
35 SLOT="0"
36 [[ ${PV} == 9999 ]] || \
37 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
38 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
39 IUSE="doc static-libs test"
40
41 RDEPEND="
42 @@ -24,7 +24,7 @@ RDEPEND="
43 "
44 DEPEND="${RDEPEND}
45 dev-libs/boost
46 - >=dev-util/mdds-1.2.2:1
47 + >=dev-util/mdds-1.4.2:1=
48 media-libs/glm
49 sys-devel/libtool
50 virtual/pkgconfig
51 @@ -39,12 +39,15 @@ src_prepare() {
52 }
53
54 src_configure() {
55 + # mdds installs versioned pkgconfig files
56 + local p=$(best_version dev-util/mdds)
57 + local pv=$(echo ${p/%-r[0-9]*/} | rev | cut -d - -f 1 | rev)
58 econf \
59 --disable-werror \
60 + --with-mdds=$(ver_cut 1-2 ${pv}) \
61 $(use_with doc docs) \
62 $(use_enable static-libs static) \
63 - $(use_enable test tests) \
64 - --with-mdds=1.2
65 + $(use_enable test tests)
66 }
67
68 src_install() {