commit:     97da906eb79c74472a85aab1b9fb39af652aac69
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 21 06:41:08 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 21 06:41:08 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97da906e

dev-libs/yascreen: add 1.92

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-libs/yascreen/Manifest             |  1 +
 dev-libs/yascreen/yascreen-1.92.ebuild | 30 ++++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)

diff --git a/dev-libs/yascreen/Manifest b/dev-libs/yascreen/Manifest
index 4b013b565da6..1c4276397e24 100644
--- a/dev-libs/yascreen/Manifest
+++ b/dev-libs/yascreen/Manifest
@@ -1 +1,2 @@
 DIST yascreen-1.86.tar.xz 26104 BLAKE2B 
4716c1eb2a41468fbb0ecbcda7c34a031d97f5292632501ce4c9740de071f8c39e1c7d9f0f8f6c5fbdccaef5908e3751b25ebc7e0c6dab3dff63b2a99f12eefa
 SHA512 
dce785c477395b0c78c5054682dd8ccfbe3243ede966300c3e95e25fac6320f820aa1f0a3b2ce37544b3b45adb94eccccaf32187b145cd2bba43367e166b9e7c
+DIST yascreen-1.92.tar.xz 27624 BLAKE2B 
8450d2f3d7f35b0bfa994869d71343f7c4e7c78ad5e73bbfb5c2a9a7ef1ba67deed469720b3aed8af5f841b65ea8c17456866bb9c98d6750957a74800e245e34
 SHA512 
f884e6ad9a0cd3410323bd0bf544f006e719a021a6a04063d6f0712d73893579098f7d00c91b8d85dadff8f9136389e0f7b5831a2b52595ef6a7f1dbb30d5244

diff --git a/dev-libs/yascreen/yascreen-1.92.ebuild 
b/dev-libs/yascreen/yascreen-1.92.ebuild
new file mode 100644
index 000000000000..8435b7154827
--- /dev/null
+++ b/dev-libs/yascreen/yascreen-1.92.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Yet Another Screen Library - curses replacement"
+HOMEPAGE="https://github.com/bbonev/yascreen";
+SRC_URI="https://github.com/bbonev/yascreen/releases/download/v${PV}/${P}.tar.xz";
+
+LICENSE="LGPL-3+"
+SLOT="0/1"
+KEYWORDS="~amd64 ~x86"
+
+src_prepare() {
+       default
+       sed -e '/INSTALL/s/-Ds/-D/' \
+               -e '/INSTALL.*libyascreen.a/d' -e 's/libyascreen.a//' -i 
Makefile.main || die
+       grep -q -F "SOVERM:=1" Makefile.main || die "subslot changed"
+}
+
+src_compile() {
+       emake CC="$(tc-getCC)" PREFIX="${EPREFIX}/usr" LIBDIR="/$(get_libdir)/" 
NO_FLTO=1
+}
+
+src_install() {
+       emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" LIBDIR="/$(get_libdir)/" 
install
+       einstalldocs
+}

Reply via email to