Gentoo Archives: gentoo-commits

From: Craig Andrews <candrews@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/waylandpp/
Date: Tue, 17 Oct 2017 14:41:28
Message-Id: 1508251251.a9c0225c729f3bddd3a06986a2b0ed1ad5d0a91a.candrews@gentoo
1 commit: a9c0225c729f3bddd3a06986a2b0ed1ad5d0a91a
2 Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 17 14:40:29 2017 +0000
4 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 17 14:40:51 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9c0225c
7
8 dev-cpp/waylandpp: use cmake instead of scons
9
10 Package-Manager: Portage-2.3.11, Repoman-2.3.3
11
12 dev-cpp/waylandpp/waylandpp-9999.ebuild | 22 +++++++---------------
13 1 file changed, 7 insertions(+), 15 deletions(-)
14
15 diff --git a/dev-cpp/waylandpp/waylandpp-9999.ebuild b/dev-cpp/waylandpp/waylandpp-9999.ebuild
16 index 1dd04bc09c5..73572d42b7a 100644
17 --- a/dev-cpp/waylandpp/waylandpp-9999.ebuild
18 +++ b/dev-cpp/waylandpp/waylandpp-9999.ebuild
19 @@ -3,7 +3,7 @@
20
21 EAPI=6
22
23 -inherit scons-utils toolchain-funcs versionator
24 +inherit cmake-utils versionator
25
26 DESCRIPTION="Wayland C++ bindings"
27 HOMEPAGE="https://github.com/NilsBrause/waylandpp"
28 @@ -31,19 +31,11 @@ DEPEND="${RDEPEND}
29 )
30 "
31
32 -src_compile() {
33 - CC="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" ROOT="${D%/}/" PREFIX="/usr" LIBDIR="$(get_libdir)" escons
34 - if use doc; then
35 - doxygen || die "error making docs"
36 - fi
37 -}
38 +src_configure() {
39 + local mycmakeargs=(
40 + -DBUILD_DOCUMENTATION=$(usex doc)
41 + -DINSTALL_DOC_DIR="${EPREFIX}/usr/share/doc/${PF}"
42 + )
43
44 -src_install() {
45 - CC="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" ROOT="${D%/}/" PREFIX="/usr" LIBDIR="$(get_libdir)" escons install
46 - # fix multilib-strict QA failures
47 - if use doc; then
48 - doman doc/man/man3/*.3
49 - local HTML_DOCS=( doc/html )
50 - einstalldocs
51 - fi
52 + cmake-utils_src_configure
53 }