diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-libs/editline | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-libs/editline')
| -rw-r--r-- | dev-libs/editline/Manifest | 2 | ||||
| -rw-r--r-- | dev-libs/editline/editline-1.17.1-r1.ebuild | 43 | ||||
| -rw-r--r-- | dev-libs/editline/editline-1.17.1_p20240527.ebuild | 50 | ||||
| -rw-r--r-- | dev-libs/editline/files/editline-1.16.0-rename-man.patch | 16 | ||||
| -rw-r--r-- | dev-libs/editline/files/editline-1.17.1_p20240527-rename-man.patch | 11 | ||||
| -rw-r--r-- | dev-libs/editline/metadata.xml | 20 |
6 files changed, 142 insertions, 0 deletions
diff --git a/dev-libs/editline/Manifest b/dev-libs/editline/Manifest new file mode 100644 index 000000000000..b6d493b3ce9b --- /dev/null +++ b/dev-libs/editline/Manifest @@ -0,0 +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 diff --git a/dev-libs/editline/editline-1.17.1-r1.ebuild b/dev-libs/editline/editline-1.17.1-r1.ebuild new file mode 100644 index 000000000000..72f6f005b20b --- /dev/null +++ b/dev-libs/editline/editline-1.17.1-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 + SRC_URI="https://github.com/troglobit/${PN}/releases/download/${PV}/${P}.tar.xz" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="Apache-2.0" +SLOT="0/1.0.2" + +PATCHES=( + "${FILESDIR}/${PN}-1.16.0-rename-man.patch" +) + +src_prepare() { + default + + # 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 +} diff --git a/dev-libs/editline/editline-1.17.1_p20240527.ebuild b/dev-libs/editline/editline-1.17.1_p20240527.ebuild new file mode 100644 index 000000000000..cbb4da7ad41d --- /dev/null +++ b/dev-libs/editline/editline-1.17.1_p20240527.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2025 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 ~arm64 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 +} diff --git a/dev-libs/editline/files/editline-1.16.0-rename-man.patch b/dev-libs/editline/files/editline-1.16.0-rename-man.patch new file mode 100644 index 000000000000..0f339eeaa136 --- /dev/null +++ b/dev-libs/editline/files/editline-1.16.0-rename-man.patch @@ -0,0 +1,16 @@ +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 +--- a/man/Makefile.in ++++ b/man/Makefile.in +@@ -273,1 +273,1 @@ top_build_prefix = @top_build_prefix@ +-dist_man_MANS = editline.3 ++dist_man_MANS = libeditline.3 diff --git a/dev-libs/editline/files/editline-1.17.1_p20240527-rename-man.patch b/dev-libs/editline/files/editline-1.17.1_p20240527-rename-man.patch new file mode 100644 index 000000000000..d7b6aec5e55c --- /dev/null +++ b/dev-libs/editline/files/editline-1.17.1_p20240527-rename-man.patch @@ -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 diff --git a/dev-libs/editline/metadata.xml b/dev-libs/editline/metadata.xml new file mode 100644 index 000000000000..2e522c2638d2 --- /dev/null +++ b/dev-libs/editline/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>xgqt@gentoo.org</email> + <name>Maciej Barć</name> + </maintainer> + <longdescription> + Editline is a line editing library for UNIX. It can be linked into + almost any program to provide command line editing and history. It is + call compatible with the FSF readline library, but is a fraction of the + size (and offers fewer features). The small size, lack of dependencies + and the free license should make this library interesting to many + embedded developers seeking a replacement for the GNU readline library. + </longdescription> + <upstream> + <bugs-to>https://github.com/troglobit/editline/issues/</bugs-to> + </upstream> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
