public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Craig Andrews" <candrews@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/waylandpp/
Date: Wed, 23 Aug 2017 16:28:27 +0000 (UTC)	[thread overview]
Message-ID: <1503505698.ee14e170f16813fd85379f7d5617db3b6c5b3b8d.candrews@gentoo> (raw)

commit:     ee14e170f16813fd85379f7d5617db3b6c5b3b8d
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 23 16:27:31 2017 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Wed Aug 23 16:28:18 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee14e170

dev-cpp/waylandpp: ebuild cleanup

Note that none of these changes modify the installed image or the ebuild metadata so no revbump is required.

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-cpp/waylandpp/waylandpp-0.1.0.ebuild | 15 +++++++--------
 dev-cpp/waylandpp/waylandpp-9999.ebuild  | 15 +++++++--------
 2 files changed, 14 insertions(+), 16 deletions(-)

diff --git a/dev-cpp/waylandpp/waylandpp-0.1.0.ebuild b/dev-cpp/waylandpp/waylandpp-0.1.0.ebuild
index a85f301bf9f..846643b6113 100644
--- a/dev-cpp/waylandpp/waylandpp-0.1.0.ebuild
+++ b/dev-cpp/waylandpp/waylandpp-0.1.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit multilib scons-utils toolchain-funcs versionator
+inherit scons-utils toolchain-funcs versionator
 
 DESCRIPTION="Wayland C++ bindings"
 HOMEPAGE="https://github.com/NilsBrause/waylandpp"
@@ -18,34 +18,33 @@ if [[ ${PV} == *9999 ]] ; then
 else
 	SRC_URI="https://github.com/NilsBrause/waylandpp/archive/${PV}.tar.gz -> ${P}.tar.gz"
 	KEYWORDS="~amd64 ~x86"
-	S="${WORKDIR}/waylandpp-${PV}"
 fi
 
-COMMON_DEPEND="
+RDEPEND="
 	>=dev-libs/wayland-1.11.0
 	media-libs/mesa[wayland]
 "
-DEPEND="${COMMON_DEPEND}
+DEPEND="${RDEPEND}
 	doc? (
 		app-doc/doxygen
 		media-gfx/graphviz
 	)
 	"
-RDEPEND="${COMMON_DEPEND}"
 
 src_compile() {
-	CC="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" escons
+	CC="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" PREFIX="${D%/}/usr" escons
 	if use doc; then
 		doxygen || die "error making docs"
 	fi
 }
 
 src_install() {
-	PREFIX="${D%/}/usr" scons install
+	CC="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" PREFIX="${D%/}/usr" escons install
 	# fix multilib-strict QA failures
 	mv "${ED%/}"/usr/{lib,$(get_libdir)} || die
 	if use doc; then
 		doman doc/man/man3/*.3
-		HTML_DOCS="doc/html" einstalldocs
+		local HTML_DOCS=( doc/html )
+		einstalldocs
 	fi
 }

diff --git a/dev-cpp/waylandpp/waylandpp-9999.ebuild b/dev-cpp/waylandpp/waylandpp-9999.ebuild
index a85f301bf9f..846643b6113 100644
--- a/dev-cpp/waylandpp/waylandpp-9999.ebuild
+++ b/dev-cpp/waylandpp/waylandpp-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit multilib scons-utils toolchain-funcs versionator
+inherit scons-utils toolchain-funcs versionator
 
 DESCRIPTION="Wayland C++ bindings"
 HOMEPAGE="https://github.com/NilsBrause/waylandpp"
@@ -18,34 +18,33 @@ if [[ ${PV} == *9999 ]] ; then
 else
 	SRC_URI="https://github.com/NilsBrause/waylandpp/archive/${PV}.tar.gz -> ${P}.tar.gz"
 	KEYWORDS="~amd64 ~x86"
-	S="${WORKDIR}/waylandpp-${PV}"
 fi
 
-COMMON_DEPEND="
+RDEPEND="
 	>=dev-libs/wayland-1.11.0
 	media-libs/mesa[wayland]
 "
-DEPEND="${COMMON_DEPEND}
+DEPEND="${RDEPEND}
 	doc? (
 		app-doc/doxygen
 		media-gfx/graphviz
 	)
 	"
-RDEPEND="${COMMON_DEPEND}"
 
 src_compile() {
-	CC="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" escons
+	CC="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" PREFIX="${D%/}/usr" escons
 	if use doc; then
 		doxygen || die "error making docs"
 	fi
 }
 
 src_install() {
-	PREFIX="${D%/}/usr" scons install
+	CC="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" PREFIX="${D%/}/usr" escons install
 	# fix multilib-strict QA failures
 	mv "${ED%/}"/usr/{lib,$(get_libdir)} || die
 	if use doc; then
 		doman doc/man/man3/*.3
-		HTML_DOCS="doc/html" einstalldocs
+		local HTML_DOCS=( doc/html )
+		einstalldocs
 	fi
 }


             reply	other threads:[~2017-08-23 16:28 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-23 16:28 Craig Andrews [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-24 20:56 [gentoo-commits] repo/gentoo:master commit in: dev-cpp/waylandpp/ Craig Andrews
2023-10-23  3:21 Sam James
2023-10-23  1:44 Sam James
2023-10-23  1:44 Sam James
2022-12-26 19:19 Andreas Sturmlechner
2022-12-26  3:54 Sam James
2022-12-26  3:28 Sam James
2022-12-26  3:20 Sam James
2022-08-27 11:45 Yixun Lan
2022-04-25 17:08 Craig Andrews
2022-04-14 13:23 Craig Andrews
2022-01-30 22:12 Craig Andrews
2021-03-29 14:50 Sam James
2021-03-01 23:42 Sam James
2021-03-01 17:18 Thomas Deutschmann
2020-07-23 20:41 Sam James
2020-07-14 22:39 Sam James
2020-06-29 20:01 Craig Andrews
2019-10-14 18:24 Craig Andrews
2019-10-03 20:08 Craig Andrews
2019-02-24 20:53 Craig Andrews
2019-02-24 20:53 Craig Andrews
2019-01-08 21:29 Craig Andrews
2018-12-13 15:29 Mikle Kolyada
2018-11-27 21:55 Thomas Deutschmann
2018-04-23 13:36 Craig Andrews
2018-01-31 17:42 Craig Andrews
2017-12-04 15:24 Craig Andrews
2017-11-27 15:51 Craig Andrews
2017-11-06 16:10 Craig Andrews
2017-10-17 14:41 Craig Andrews
2017-09-07 13:44 Craig Andrews
2017-09-07 13:11 Craig Andrews
2017-08-28  3:14 Craig Andrews
2017-08-28  2:52 Craig Andrews
2017-08-22 20:15 Craig Andrews

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1503505698.ee14e170f16813fd85379f7d5617db3b6c5b3b8d.candrews@gentoo \
    --to=candrews@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox