From 9b06e9c5daf648c0e02964a967e59cb4e3a93df4 Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Thu, 7 Sep 2017 09:10:25 -0400 Subject: dev-cpp/waylandpp: 0.1.2 version bump Package-Manager: Portage-2.3.8, Repoman-2.3.3 --- dev-cpp/waylandpp/Manifest | 1 + dev-cpp/waylandpp/waylandpp-0.1.2.ebuild | 54 ++++++++++++++++++++++++++++++++ dev-cpp/waylandpp/waylandpp-9999.ebuild | 6 ++-- 3 files changed, 58 insertions(+), 3 deletions(-) create mode 100644 dev-cpp/waylandpp/waylandpp-0.1.2.ebuild (limited to 'dev-cpp/waylandpp') diff --git a/dev-cpp/waylandpp/Manifest b/dev-cpp/waylandpp/Manifest index 49e18e0bbbb9..721254e78e76 100644 --- a/dev-cpp/waylandpp/Manifest +++ b/dev-cpp/waylandpp/Manifest @@ -1 +1,2 @@ DIST waylandpp-0.1.0.tar.gz 166427 SHA256 117df357cbd1f272737b6379e05925b38bad41bafda02761017530053fa950e7 SHA512 e0521ea99eeb7ae196ed9c8759e10d28406c5b99534b52ac51845cdd9c384ff820e4cc1fec65c537a0d071046746884793da122c72f6e75e7df4bca089d19eca WHIRLPOOL 1d589fbe1884dbd38547a0957b07533e3029cca7453618375227d87afa90fa36eded62283bf302139920860c90b250aeaca9b48e0f8098b0f9f8bbaffa889067 +DIST waylandpp-0.1.2.tar.gz 166624 SHA256 fabf0b512285abea77678d9e079009569e9eb3fd98c6b851d50bc5b6c781c7d8 SHA512 2304390be26134561fb69e208a6bafd0e9789e6b212ff2f46384c6ed50ae1c9eca3f06a3b4958c8e710cc1a0be61ed84c7ff292ec7011dbb0396cd2d83363f7f WHIRLPOOL 2633f41c0038c5f353ce7d9771c09d7a60ade11e9e7d0209180fb9f450437b37c3feebc955568335ce3371aae9b5083ab3425a8256157c5e7f94e0bd009ea3df diff --git a/dev-cpp/waylandpp/waylandpp-0.1.2.ebuild b/dev-cpp/waylandpp/waylandpp-0.1.2.ebuild new file mode 100644 index 000000000000..4b36e9aea8e8 --- /dev/null +++ b/dev-cpp/waylandpp/waylandpp-0.1.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit scons-utils toolchain-funcs versionator + +DESCRIPTION="Wayland C++ bindings" +HOMEPAGE="https://github.com/NilsBrause/waylandpp" + +LICENSE="MIT" +IUSE="doc" +SLOT="0/$(get_major_version)" + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/NilsBrause/waylandpp.git" + inherit git-r3 +else + SRC_URI="https://github.com/NilsBrause/waylandpp/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +RDEPEND=" + >=dev-libs/wayland-1.11.0 + media-libs/mesa[wayland] +" +DEPEND="${RDEPEND} + doc? ( + app-doc/doxygen + media-gfx/graphviz + ) + " + +src_prepare() { + default + sed -i -e "s:\$\${prefix}/lib:$\${prefix}/$(get_libdir):" -e "s:os.path.join(root, prefix, \"lib\":os.path.join(root, prefix, \"$(get_libdir)\":g" SConstruct || die +} + +src_compile() { + CC="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" ROOT="${D%/}/" PREFIX="/usr" escons + if use doc; then + doxygen || die "error making docs" + fi +} + +src_install() { + CC="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" ROOT="${D%/}/" PREFIX="/usr" escons install + # fix multilib-strict QA failures + if use doc; then + doman doc/man/man3/*.3 + local HTML_DOCS=( doc/html ) + einstalldocs + fi +} diff --git a/dev-cpp/waylandpp/waylandpp-9999.ebuild b/dev-cpp/waylandpp/waylandpp-9999.ebuild index 112c1a2776d8..4b36e9aea8e8 100644 --- a/dev-cpp/waylandpp/waylandpp-9999.ebuild +++ b/dev-cpp/waylandpp/waylandpp-9999.ebuild @@ -33,18 +33,18 @@ DEPEND="${RDEPEND} src_prepare() { default - sed -i -e "s:\$\${prefix}/lib:$\${prefix}/$(get_libdir):" -e "s:os.path.join(prefix, \"lib\":os.path.join(prefix, \"$(get_libdir)\":g" SConstruct || die + sed -i -e "s:\$\${prefix}/lib:$\${prefix}/$(get_libdir):" -e "s:os.path.join(root, prefix, \"lib\":os.path.join(root, prefix, \"$(get_libdir)\":g" SConstruct || die } src_compile() { - CC="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" PREFIX="${D%/}/usr" escons + CC="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" ROOT="${D%/}/" PREFIX="/usr" escons if use doc; then doxygen || die "error making docs" fi } src_install() { - CC="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" PREFIX="${D%/}/usr" escons install + CC="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" ROOT="${D%/}/" PREFIX="/usr" escons install # fix multilib-strict QA failures if use doc; then doman doc/man/man3/*.3 -- cgit v1.2.3-65-gdbad