summaryrefslogtreecommitdiff
path: root/dev-libs/unibilium
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-25 04:04:27 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-25 04:04:27 +0100
commitb11a5614cb96e70e116581c98abf286c2cf694ca (patch)
treeb602f03c26a8da259d67174441f0630d3fbbfa5d /dev-libs/unibilium
parente7daa1f959ba2c720f36a6984f588098e68b15cd (diff)
gentoo auto-resync : 25:10:2024 - 04:04:26
Diffstat (limited to 'dev-libs/unibilium')
-rw-r--r--dev-libs/unibilium/Manifest4
-rw-r--r--dev-libs/unibilium/files/unibilium-2.1.2-no-compress-man.patch22
-rw-r--r--dev-libs/unibilium/unibilium-2.1.1.ebuild34
-rw-r--r--dev-libs/unibilium/unibilium-2.1.2.ebuild30
4 files changed, 55 insertions, 35 deletions
diff --git a/dev-libs/unibilium/Manifest b/dev-libs/unibilium/Manifest
index 9669aef92adb..63d741be1a40 100644
--- a/dev-libs/unibilium/Manifest
+++ b/dev-libs/unibilium/Manifest
@@ -1,6 +1,8 @@
AUX unibilium-2.1.0-no-compress-man.patch 576 BLAKE2B a99123e8be6e229c0661b2ca9df0a56c5280e9f0a3f1e2fffae10537f5dfcd1e6ba5b35a78ceda8b52437b42442e30d1793c5a79ade78bbe2755e2d17c84d505 SHA512 501f93e537dcf8e2b5cd03e63d6c03b91c422bea52a4f615fbdd0acd64ba839d95dcf2f209ca28dcdeece902445a19d5777329a40af7b795529ea8cd9755ce53
AUX unibilium-2.1.1-libtool.patch 2273 BLAKE2B f6104f56510f2b876bf05f6985f1d8c8d0cf4282329999c3c2b911549f46bc4c4dc2a3b1e503dfa3146c8c1cb43f22f724a8dc4235a9a8d7a268c4ecbd8b18ab SHA512 8229eac14a6cf7859a08fd12eca00a2849a1872564d4313a751c4d618e1c784ff4ecb31f5a92c103c84a0ba9c96b98c7d73f30006ed51754170fdfd8cf23fa87
+AUX unibilium-2.1.2-no-compress-man.patch 576 BLAKE2B 9f18c3e10b6a5afb7440ab32fb63f3836dd7b2c84a6664a3412113579c8eec0993174ffa07cc44407efca7e0750a205a06ab504b0a8b4e9f917cb34cbd9335cf SHA512 6bfbd322f54ffe2daec7cefba167de55b2085923cebb531e7803a8753f57437acfab2bb77fd9c956cd3da3be41e6af2e66acd6281b81bbb23c6045e3863cc90c
DIST unibilium-2.1.1.tar.gz 121998 BLAKE2B 0bd032d0cc32011fa66604b39412116824b79aeb3cebb394efcad7591d5bd18031d465f7736ff1e65914f2fcf7beca1cbee4c7ad07426cdbf45e1c82e1894d94 SHA512 ebcdcddc6c3a540d086b113bb83470c1c17cf59056b28308a484b20dc3df71de0f5d6e5bf105f9e4a8347c78500c65ae46c2b53ec87692a898c321a047664ee2
+DIST unibilium-2.1.2.tar.gz 122525 BLAKE2B 4f61b1259fed11c94280499ea1f965c7a53b70072c66adbf42cd0adafb99f03e56f204b46235677a75c09f923b141897ba2942eb273e5b053beec9e8eb5bc3a6 SHA512 8bc50b3662fcb1b52055fed028926d8c296169b6b1cfefef9bb37a435321ee6e005c4166c1e68c2959e5f6d4ffe8f44d8ea87d6dcc967176d473ae918ff3018f
EBUILD unibilium-2.1.1-r1.ebuild 659 BLAKE2B 29ccab37977a1b701fd4ea550689cb54a350ed3eb6d04eb13a2f09b9eb2b03ceeec1bbe3c852ad45c96af0930a82215c47a8ae0c8ff0b87caf54fa64ebbfadad SHA512 9845a50c69b930d632d28ce7d7cde6bdb1109914eee5a0821df084888689e89b8bc2df46aea2110d340da308330fb86296247f5531e93ad1cc0b8f9cbc5ceb96
-EBUILD unibilium-2.1.1.ebuild 883 BLAKE2B 8260c9cfc499053b559ff10a223055b5bab531fc79e5a69051795a714429e063adf107b7428ea3a5fd0465e3d3bfd5af10d6b32f7f388a1348d3b1830acc6712 SHA512 f8e3987edfb1275fd3e0640e0f837d09b87d25f0a67115a07326eaaba1fe77b7dcbc78c060da297837b07e1aec86ac073a68d3a7413e42f49c6e16458cac8b76
+EBUILD unibilium-2.1.2.ebuild 607 BLAKE2B 1a554c966b21857229791d6ede06d5a55fcf19396593f0796d75c2642b3ede1d773137f73af51b56cd9641e8ebc219fe050e2fb514bd3447485c46f6742dbb31 SHA512 588e3e5a175c272c238f6bbd238050718a381a43e72410a50e44f53e8513053bd94ea8b310faf60202686e25664e0a4f19e598026fe06c801a68defe420d7eeb
MISC metadata.xml 340 BLAKE2B fbc2fee17ce03a1aafb74a76eee00909ec9d6ab01a62bb0fc0fbf7a9e0e30fab6390ab964d908b9d3b3c22400e5720856da6aac6a3c5ac77a0f3c8e1493f7316 SHA512 bb01973af5dc1a5240f268e62428a227fc4f575bb2d359c4b1f9d129d5c5693a17054aca080a72dcb938b325c493d9690bcfc5e15feab675f02c50bc855f8dc9
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.1.ebuild b/dev-libs/unibilium/unibilium-2.1.1.ebuild
deleted file mode 100644
index fd74ec579ab0..000000000000
--- a/dev-libs/unibilium/unibilium-2.1.1.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic toolchain-funcs
-
-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 ~riscv x86 ~x64-macos"
-IUSE="static-libs"
-
-BDEPEND="dev-lang/perl
- dev-build/libtool"
-
-PATCHES=(
- "${FILESDIR}/${PN}-2.1.0-no-compress-man.patch"
-)
-
-src_compile() {
- append-flags -fPIC
- tc-export CC
- emake PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" all
-}
-
-src_install() {
- emake PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" DESTDIR="${D}" install
- use static-libs || rm "${ED}"/usr/$(get_libdir)/lib${PN}.a || die
- rm "${ED}"/usr/$(get_libdir)/lib${PN}.la || die
-}
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
+}