diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-06-04 22:06:59 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-06-04 22:07:22 +0200 |
commit | b1a4cb71d3b40a398ebca2d76e521643ce31b5ee (patch) | |
tree | 82968b5a7106cbd83e41ee9862643deb563495d8 /media-libs | |
parent | media-libs/musicbrainz: Fix CMake error (diff) | |
download | gentoo-b1a4cb71d3b40a398ebca2d76e521643ce31b5ee.tar.gz gentoo-b1a4cb71d3b40a398ebca2d76e521643ce31b5ee.tar.bz2 gentoo-b1a4cb71d3b40a398ebca2d76e521643ce31b5ee.zip |
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>
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/musicbrainz/musicbrainz-5.1.0.ebuild | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/media-libs/musicbrainz/musicbrainz-5.1.0.ebuild b/media-libs/musicbrainz/musicbrainz-5.1.0.ebuild index 25b005bc1bdf..fb349000f076 100644 --- a/media-libs/musicbrainz/musicbrainz-5.1.0.ebuild +++ b/media-libs/musicbrainz/musicbrainz-5.1.0.ebuild @@ -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 |