media-libs/musicbrainz: EAPI-7 bump, switch to cmake.eclass

Drop obsolete c++14 flag

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2020-06-04 22:07:22 +02:00
parent 2e3353efaa
commit b1a4cb71d3
@@ -1,9 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=7
inherit cmake-utils flag-o-matic
inherit cmake
DESCRIPTION="Client Library for accessing the latest XML based MusicBrainz web service"
HOMEPAGE="https://musicbrainz.org/doc/libmusicbrainz"
@@ -13,6 +13,7 @@ LICENSE="LGPL-2.1"
SLOT="5/1" # soname of libmusicbrainz5.so
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
IUSE="examples test"
RESTRICT="!test? ( test )"
RDEPEND="
@@ -29,18 +30,11 @@ PATCHES=( "${FILESDIR}/${P}-no-wildcards.patch" )
src_prepare() {
use test || cmake_comment_add_subdirectory tests
cmake-utils_src_prepare
}
src_configure() {
# bug 619668
append-cxxflags -std=c++14
cmake-utils_src_configure
cmake_src_prepare
}
src_install() {
cmake-utils_src_install
cmake_src_install
if use examples; then
docinto examples