commit:     f7e87e6b6461055962d8d5fbdc552ec6401d9ff4
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 24 17:10:57 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 24 17:11:13 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7e87e6b

dev-libs/unibilium: add 2.1.2

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

 dev-libs/unibilium/Manifest                        |  1 +
 .../files/unibilium-2.1.2-no-compress-man.patch    | 22 ++++++++++++++++
 dev-libs/unibilium/unibilium-2.1.2.ebuild          | 30 ++++++++++++++++++++++
 3 files changed, 53 insertions(+)

diff --git a/dev-libs/unibilium/Manifest b/dev-libs/unibilium/Manifest
index 765f7180a8a9..5aafd19bde25 100644
--- a/dev-libs/unibilium/Manifest
+++ b/dev-libs/unibilium/Manifest
@@ -1 +1,2 @@
 DIST unibilium-2.1.1.tar.gz 121998 BLAKE2B 
0bd032d0cc32011fa66604b39412116824b79aeb3cebb394efcad7591d5bd18031d465f7736ff1e65914f2fcf7beca1cbee4c7ad07426cdbf45e1c82e1894d94
 SHA512 
ebcdcddc6c3a540d086b113bb83470c1c17cf59056b28308a484b20dc3df71de0f5d6e5bf105f9e4a8347c78500c65ae46c2b53ec87692a898c321a047664ee2
+DIST unibilium-2.1.2.tar.gz 122525 BLAKE2B 
4f61b1259fed11c94280499ea1f965c7a53b70072c66adbf42cd0adafb99f03e56f204b46235677a75c09f923b141897ba2942eb273e5b053beec9e8eb5bc3a6
 SHA512 
8bc50b3662fcb1b52055fed028926d8c296169b6b1cfefef9bb37a435321ee6e005c4166c1e68c2959e5f6d4ffe8f44d8ea87d6dcc967176d473ae918ff3018f

diff --git a/dev-libs/unibilium/files/unibilium-2.1.2-no-compress-man.patch 
b/dev-libs/unibilium/files/unibilium-2.1.2-no-compress-man.patch
new file mode 100644
index 000000000000..a185c36c1059
--- /dev/null
+++ b/dev-libs/unibilium/files/unibilium-2.1.2-no-compress-man.patch
@@ -0,0 +1,22 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -56,7 +56,7 @@ OBJECTS=unibilium.lo uninames.lo uniutil.lo
+ LIBRARY=libunibilium.la
+
+ PODS=$(wildcard doc/*.pod)
+-MANPAGES=$(addprefix man/,$(notdir $(PODS:.pod=.3.gz)))
++MANPAGES=$(addprefix man/,$(notdir $(PODS:.pod=.3)))
+
+ TOOLS=$(wildcard tools/*.c)
+
+@@ -121,8 +121,8 @@ install-man: build-man
+ .PHONY: build-man
+ build-man: $(MANPAGES)
+
+-man/%.3.gz: doc/%.pod
+-      $(POD2MAN) $(POD2MAN_OPTS) $< | gzip > $@
++man/%.3: doc/%.pod
++      $(POD2MAN) $(POD2MAN_OPTS) $< > $@
+
+
+ # Regenerate static test files, based on existing terminfo entries.

diff --git a/dev-libs/unibilium/unibilium-2.1.2.ebuild 
b/dev-libs/unibilium/unibilium-2.1.2.ebuild
new file mode 100644
index 000000000000..193b0caf33dc
--- /dev/null
+++ b/dev-libs/unibilium/unibilium-2.1.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="A very basic terminfo library"
+HOMEPAGE="https://github.com/neovim/unibilium/";
+SRC_URI="https://github.com/neovim/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-3+ MIT"
+SLOT="0/4"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~x64-macos"
+
+BDEPEND="dev-lang/perl"
+
+PATCHES=(
+       "${FILESDIR}/${PN}-2.1.2-no-compress-man.patch"
+)
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
+src_install() {
+       default
+       find "${D}" -name '*.la' -type f -delete || die
+}

Reply via email to