From 4275b3b16f6aa6197db8d4057d957883587d2a0e Mon Sep 17 00:00:00 2001 From: Sven Eden Date: Sat, 22 Dec 2018 10:18:45 +0100 Subject: app-text/getRandomName: Depend on the next pwxLib version to fix crash This is just an emergency option, as the next pwxLib release will be there in the next couple of days. Signed-Off-By: Sven Eden --- .../getRandomName/getRandomName-0.9.1-r1.ebuild | 47 ++++++++++++++++++++++ app-text/getRandomName/getRandomName-0.9.1.ebuild | 46 --------------------- app-text/getRandomName/getRandomName-9999.ebuild | 3 +- 3 files changed, 49 insertions(+), 47 deletions(-) create mode 100644 app-text/getRandomName/getRandomName-0.9.1-r1.ebuild delete mode 100644 app-text/getRandomName/getRandomName-0.9.1.ebuild (limited to 'app-text') diff --git a/app-text/getRandomName/getRandomName-0.9.1-r1.ebuild b/app-text/getRandomName/getRandomName-0.9.1-r1.ebuild new file mode 100644 index 0000000..0918eb7 --- /dev/null +++ b/app-text/getRandomName/getRandomName-0.9.1-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils toolchain-funcs + +DESCRIPTION="Create random names using linguistic rules" +HOMEPAGE="https://prydeworx.com/getRandomNames" +SRC_URI="https://github.com/Yamakuzure/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="asan debug lsan tsan" + +REQUIRED_USE=" + ?? ( asan lsan tsan ) + asan? ( debug ) + lsan? ( debug ) + tsan? ( debug ) +" + +COMMON_DEPEND=" + >dev-cpp/pwxlib-0.8.9 +" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND}" + +DOCS=() + +src_compile() { + PREFIX="${EPREFIX}"usr CXXFLAGS="${CXXFLAGS}" \ + CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \ + CXX="$(tc-getCXX)" LD="$(tc-getCC)" \ + DEBUG="$(usex debug YES NO)" \ + SANITIZE_ADDRESS="$(usex asan YES NO)" \ + SANITIZE_LEAK="$(usex lsan YES NO)" \ + SANITIZE_THREAD="$(usex tsan YES NO)" \ + emake || die "emake failed" +} + +src_install() { + PREFIX="${EPREFIX}"usr DESTDIR="${D}" \ + DOCDIR="${EPREFIX}"usr/share/doc/${PF} \ + emake install || die "install failed" +} diff --git a/app-text/getRandomName/getRandomName-0.9.1.ebuild b/app-text/getRandomName/getRandomName-0.9.1.ebuild deleted file mode 100644 index a3d650f..0000000 --- a/app-text/getRandomName/getRandomName-0.9.1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils toolchain-funcs - -DESCRIPTION="Create random names using linguistic rules" -HOMEPAGE="https://prydeworx.com/getRandomNames" -SRC_URI="https://github.com/Yamakuzure/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="asan debug lsan tsan" - -REQUIRED_USE=" - asan? ( debug ) - lsan? ( debug ) - tsan? ( debug ) -" - -COMMON_DEPEND=" - dev-cpp/pwxlib -" -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND}" - -DOCS=() - -src_compile() { - PREFIX="${EPREFIX}"usr CXXFLAGS="${CXXFLAGS}" \ - CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \ - CXX="$(tc-getCXX)" LD="$(tc-getCC)" \ - DEBUG="$(usex debug YES NO)" \ - SANITIZE_ADDRESS="$(usex asan YES NO)" \ - SANITIZE_LEAK="$(usex lsan YES NO)" \ - SANITIZE_THREAD="$(usex tsan YES NO)" \ - emake || die "emake failed" -} - -src_install() { - PREFIX="${EPREFIX}"usr DESTDIR="${D}" \ - DOCDIR="${EPREFIX}"usr/share/doc/${PF} \ - emake install || die "install failed" -} diff --git a/app-text/getRandomName/getRandomName-9999.ebuild b/app-text/getRandomName/getRandomName-9999.ebuild index 0f6e09d..378e151 100644 --- a/app-text/getRandomName/getRandomName-9999.ebuild +++ b/app-text/getRandomName/getRandomName-9999.ebuild @@ -13,10 +13,11 @@ EGIT_SUBMODULES=() LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" +KEYWORDS="" IUSE="asan debug lsan tsan" REQUIRED_USE=" + ?? ( asan lsan tsan ) asan? ( debug ) lsan? ( debug ) tsan? ( debug ) -- cgit v1.2.3