commit: a9c0225c729f3bddd3a06986a2b0ed1ad5d0a91a Author: Craig Andrews <candrews <AT> gentoo <DOT> org> AuthorDate: Tue Oct 17 14:40:29 2017 +0000 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> CommitDate: Tue Oct 17 14:40:51 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9c0225c
dev-cpp/waylandpp: use cmake instead of scons Package-Manager: Portage-2.3.11, Repoman-2.3.3 dev-cpp/waylandpp/waylandpp-9999.ebuild | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/dev-cpp/waylandpp/waylandpp-9999.ebuild b/dev-cpp/waylandpp/waylandpp-9999.ebuild index 1dd04bc09c5..73572d42b7a 100644 --- a/dev-cpp/waylandpp/waylandpp-9999.ebuild +++ b/dev-cpp/waylandpp/waylandpp-9999.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit scons-utils toolchain-funcs versionator +inherit cmake-utils versionator DESCRIPTION="Wayland C++ bindings" HOMEPAGE="https://github.com/NilsBrause/waylandpp" @@ -31,19 +31,11 @@ DEPEND="${RDEPEND} ) " -src_compile() { - CC="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" ROOT="${D%/}/" PREFIX="/usr" LIBDIR="$(get_libdir)" escons - if use doc; then - doxygen || die "error making docs" - fi -} +src_configure() { + local mycmakeargs=( + -DBUILD_DOCUMENTATION=$(usex doc) + -DINSTALL_DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" + ) -src_install() { - CC="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" ROOT="${D%/}/" PREFIX="/usr" LIBDIR="$(get_libdir)" escons install - # fix multilib-strict QA failures - if use doc; then - doman doc/man/man3/*.3 - local HTML_DOCS=( doc/html ) - einstalldocs - fi + cmake-utils_src_configure }