dev-libs/editline: bump to 1.17.1_p20240527

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2024-06-16 13:28:54 +02:00
parent c8ccac579e
commit 763bb059da
3 changed files with 62 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST editline-1.17.1.tar.xz 252196 BLAKE2B ae25ebc8efcc5ddf7d68553b6a5d93738e4fbf67c556b4089ace7386cb70058f36137d99df2385e324b36a285aa319b49e1c2eb82059d99d511c43c70f55ce11 SHA512 9b3f5f4a833e9e38c4f99d2e7f8d2716d4db74b6a2d3362e6c513505ff17a79044496405458835d508efd79cbe9046f3c1db602aaad210926312c22057145d35
DIST editline-1.17.1_p20240527.tar.gz 45801 BLAKE2B d9a529f72a6b0f5e70b12f96902405c0600c187a21a6af328763e9bfc7b47fcde862e523380ccc3fb3472f131a8f6c51adbd41c54ef4c2d681cf7f46a809f8c1 SHA512 e12221864432f2da75715737a2fe687eb5af17fb96f689c69e17a728802140ff908355017627a0e5ff9fcc2e78376a3f9bd1fdb335394140016c6e2939c5a77b

View File

@@ -0,0 +1,50 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="line editing library for UNIX call compatible with the FSF readline"
HOMEPAGE="https://troglobit.com/projects/editline/
https://github.com/troglobit/editline/"
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/troglobit/${PN}.git"
else
[[ "${PV}" == *p20240527 ]] && COMMIT="caf4b3c0ce3b0785791198b11de6f3134e9f05d8"
SRC_URI="https://github.com/troglobit/${PN}/archive/${COMMIT}.tar.gz
-> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="Apache-2.0"
SLOT="0/1.0.2"
PATCHES=(
"${FILESDIR}/${PN}-1.17.1_p20240527-rename-man.patch"
)
src_prepare() {
default
eautoreconf
# To avoid collision with dev-libs/libedit
# we rename man/editline.3 to man/libeditline.3
mv man/editline.3 man/libeditline.3 || die
}
src_configure() {
econf --disable-static
}
src_install() {
default
find "${D}" -type f -name "*.la" -delete || die
}

View File

@@ -0,0 +1,11 @@
To avoid collision with dev-libs/libedit
we rename man/editline.3 to man/libeditline.3
This patch also needs a rename from outside the patch:
$ mv man/editline.3 man/libeditline.3
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -3,1 +3,1 @@
-dist_man_MANS = editline.3
+dist_man_MANS = libeditline.3