public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/yascreen/
@ 2021-09-23  6:30 Arthur Zamarin
  0 siblings, 0 replies; 2+ messages in thread
From: Arthur Zamarin @ 2021-09-23  6:30 UTC (permalink / raw
  To: gentoo-commits

commit:     ab13a1ac55c2c3ddfe7344de97c0e2600ce6e313
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 23 06:30:09 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 23 06:30:09 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab13a1ac

dev-libs/yascreen: remove static lib

Closes: https://bugs.gentoo.org/814434
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-libs/yascreen/{yascreen-1.86.ebuild => yascreen-1.86-r1.ebuild} | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-libs/yascreen/yascreen-1.86.ebuild b/dev-libs/yascreen/yascreen-1.86-r1.ebuild
similarity index 91%
rename from dev-libs/yascreen/yascreen-1.86.ebuild
rename to dev-libs/yascreen/yascreen-1.86-r1.ebuild
index db5b07b4ca2..6ce556efe3a 100644
--- a/dev-libs/yascreen/yascreen-1.86.ebuild
+++ b/dev-libs/yascreen/yascreen-1.86-r1.ebuild
@@ -29,3 +29,8 @@ src_prepare() {
 src_compile() {
 	emake CC="$(tc-getCC)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" NO_FLTO=1
 }
+
+src_install() {
+	default
+	find "${D}" -name '*.a' -delete || die
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/yascreen/
@ 2023-01-21  6:41 Arthur Zamarin
  0 siblings, 0 replies; 2+ messages in thread
From: Arthur Zamarin @ 2023-01-21  6:41 UTC (permalink / raw
  To: gentoo-commits

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
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-21  6:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-23  6:30 [gentoo-commits] repo/gentoo:master commit in: dev-libs/yascreen/ Arthur Zamarin
  -- strict thread matches above, loose matches on Subject: below --
2023-01-21  6:41 Arthur Zamarin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox