summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-10-04 10:38:29 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-10-04 10:49:00 +0200
commit74e5380a54f78794b33197c51d4d9ca7f9c12b09 (patch)
tree869f6d3da6f41d0ce11c87ab4e763fc3eca81ac3 /app-text/libetonyek
parentapp-vim/gentoo-syntax: arm stable wrt bug #666122 (diff)
downloadgentoo-74e5380a54f78794b33197c51d4d9ca7f9c12b09.tar.gz
gentoo-74e5380a54f78794b33197c51d4d9ca7f9c12b09.tar.bz2
gentoo-74e5380a54f78794b33197c51d4d9ca7f9c12b09.zip
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@gentoo.org> Package-Manager: Portage-2.3.50, Repoman-2.3.11
Diffstat (limited to 'app-text/libetonyek')
-rw-r--r--app-text/libetonyek/libetonyek-9999.ebuild15
1 files changed, 9 insertions, 6 deletions
diff --git a/app-text/libetonyek/libetonyek-9999.ebuild b/app-text/libetonyek/libetonyek-9999.ebuild
index 39b6f10a69f8..682cf934b09f 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() {