1 |
commit: b1a4cb71d3b40a398ebca2d76e521643ce31b5ee |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 4 20:06:59 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 4 20:07:22 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1a4cb71 |
7 |
|
8 |
media-libs/musicbrainz: EAPI-7 bump, switch to cmake.eclass |
9 |
|
10 |
Drop obsolete c++14 flag |
11 |
|
12 |
Package-Manager: Portage-2.3.100, Repoman-2.3.22 |
13 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
14 |
|
15 |
media-libs/musicbrainz/musicbrainz-5.1.0.ebuild | 16 +++++----------- |
16 |
1 file changed, 5 insertions(+), 11 deletions(-) |
17 |
|
18 |
diff --git a/media-libs/musicbrainz/musicbrainz-5.1.0.ebuild b/media-libs/musicbrainz/musicbrainz-5.1.0.ebuild |
19 |
index 25b005bc1bd..fb349000f07 100644 |
20 |
--- a/media-libs/musicbrainz/musicbrainz-5.1.0.ebuild |
21 |
+++ b/media-libs/musicbrainz/musicbrainz-5.1.0.ebuild |
22 |
@@ -1,9 +1,9 @@ |
23 |
# Copyright 1999-2020 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
-EAPI=6 |
27 |
+EAPI=7 |
28 |
|
29 |
-inherit cmake-utils flag-o-matic |
30 |
+inherit cmake |
31 |
|
32 |
DESCRIPTION="Client Library for accessing the latest XML based MusicBrainz web service" |
33 |
HOMEPAGE="https://musicbrainz.org/doc/libmusicbrainz" |
34 |
@@ -13,6 +13,7 @@ LICENSE="LGPL-2.1" |
35 |
SLOT="5/1" # soname of libmusicbrainz5.so |
36 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" |
37 |
IUSE="examples test" |
38 |
+ |
39 |
RESTRICT="!test? ( test )" |
40 |
|
41 |
RDEPEND=" |
42 |
@@ -29,18 +30,11 @@ PATCHES=( "${FILESDIR}/${P}-no-wildcards.patch" ) |
43 |
|
44 |
src_prepare() { |
45 |
use test || cmake_comment_add_subdirectory tests |
46 |
- cmake-utils_src_prepare |
47 |
-} |
48 |
- |
49 |
-src_configure() { |
50 |
- # bug 619668 |
51 |
- append-cxxflags -std=c++14 |
52 |
- |
53 |
- cmake-utils_src_configure |
54 |
+ cmake_src_prepare |
55 |
} |
56 |
|
57 |
src_install() { |
58 |
- cmake-utils_src_install |
59 |
+ cmake_src_install |
60 |
|
61 |
if use examples; then |
62 |
docinto examples |