commit:     42bb3d97ac2fb9c34ceba49e773471a93070374b
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Tue Oct 21 04:40:09 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 21 15:18:50 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42bb3d97

app-accessibility/edbrowse: Bump to 3.8.13

Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/44269
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-accessibility/edbrowse/Manifest               |  2 +
 app-accessibility/edbrowse/edbrowse-3.8.13.ebuild | 68 +++++++++++++++++++++++
 2 files changed, 70 insertions(+)

diff --git a/app-accessibility/edbrowse/Manifest 
b/app-accessibility/edbrowse/Manifest
index 4f7f7b900801..7dd7b61b89ed 100644
--- a/app-accessibility/edbrowse/Manifest
+++ b/app-accessibility/edbrowse/Manifest
@@ -1,4 +1,6 @@
 DIST edbrowse-3.8.12.tar.gz 1084438 BLAKE2B 
f8a2d7fa90b6339dcd820b0fa22ee9ba2c30af6dd58fcd6a6ee72061e190b6397e72cc03b239f123c834a868657652babc7d870600b52352ef817319a66ccf3b
 SHA512 
124dc0a5154837d4e017f6c8f9ce7882ead8e70f22f42a43cfb701133fdc598608dadf6a54434f68fa1e0c647b9f7351aa490a61b99819816bb66ecd832fbad0
+DIST edbrowse-3.8.13.tar.gz 1095751 BLAKE2B 
09e951a6daf37eeea9ac85181a75a408d6b5fb2db601b91a8c4609f3e0c3657b028563a82335ce61fa2d341d166c8debe3e8410740792db07640de7912d7f285
 SHA512 
5911838e9ff54745db0dd250d0a4b7c63aec0c4d986c36493e194fca6524477f3386ea829cb93ab2ef79775fd26b4eb62458e90030fbc7f0a00dfb853f3df66c
 DIST edbrowse-3.8.2.1.tar.gz 909574 BLAKE2B 
e5358861f6747dfe12498403b2d4761ab16dabc513fe94455d88c44e07793fb1128b0c1b7ebdf9ef922e371148182f8127f67f11eb123877e804858cb7e6378b
 SHA512 
b5774a836efe96aae77052b02f6fcc85920b5f86a6ab8436a6dc363d81531b30e7f9c7555aacb20af27e59565042bdd685eed2acd4dfde8b99e2ad0358f19927
 DIST quickjs-1fdc768fdc8571300755cdd3e4654ce99c0255ce.tar.gz 593055 BLAKE2B 
f06408d0f65be94222023a00a7693af9bc2acb38af1a61688f80630a647d7e2fe5725a4da9fd0aae40455d3085d2c13f372e7ac5ccb59198e529e4463a39a5d5
 SHA512 
bfe1fc3d7441726227182528f1cb8baf01be835e38d638e25fe499f3b33fe59d6e307f2fb60855583cc84184c73b4c37934221fa2668909293139ccb9c1282e8
 DIST quickjs-2788d71.tar.gz 599260 BLAKE2B 
67618f491c3efd1aa15a8906557983dd7123a3cfb2584f2f499f005667ccac4ded1c77934d2807cfce9e042572c6c41d63982b3df7afab5b2c67f4ce9f357879
 SHA512 
4493d11bc60855711955e0159e9f568d7e3db59c9843ef3aae00846f82c5e33f501372f7f5861b431353355f400f77720f3265963ea7bc0e38635ab5b89a27a0
+DIST quickjs-eb2c89087def1829ed99630cb14b549d7a98408c.tar.gz 608712 BLAKE2B 
0671de5f4886b378d37bbb067f5b1aab226d876090ef97b28422505d1aaf286738af317cf6946b19347ab6b4af46a231ae140e95467d4c4f79ac652c8b07bf7a
 SHA512 
0377ce8046afcf5a7733031b35ef870959dcf52923c887628d1a9afeff411c9b0e96788327344594d4f25c038ad3671f86930ad74af98f5a77f12f75ea6f4118

diff --git a/app-accessibility/edbrowse/edbrowse-3.8.13.ebuild 
b/app-accessibility/edbrowse/edbrowse-3.8.13.ebuild
new file mode 100644
index 000000000000..0f8683fa2e96
--- /dev/null
+++ b/app-accessibility/edbrowse/edbrowse-3.8.13.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit edo flag-o-matic toolchain-funcs
+
+# no release/tag but quickjs often evolves
+# check if there's an update and the compat with the new release of edbrowse
+# last update 18oct.2025
+QUICKJS_HASH=eb2c89087def1829ed99630cb14b549d7a98408c
+
+DESCRIPTION="Combination editor, browser, and mail client that is 100% text 
based"
+HOMEPAGE="https://edbrowse.org";
+SRC_URI="https://github.com/edbrowse/edbrowse/archive/v${PV}.tar.gz -> 
${P}.tar.gz
+       https://github.com/bellard/quickjs/archive/${QUICKJS_HASH}.tar.gz -> 
quickjs-${QUICKJS_HASH}.tar.gz"
+
+LICENSE="GPL-2+ curl MIT CC0-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+
+RDEPEND="
+       dev-db/unixODBC
+       dev-libs/libpcre2:=
+       dev-libs/openssl:=
+       net-misc/curl
+       sys-libs/readline:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       dev-lang/perl
+       virtual/pkgconfig
+"
+
+src_prepare() {
+       default
+       mv "${WORKDIR}"/quickjs-${QUICKJS_HASH} "${WORKDIR}"/quickjs || die
+       pushd "${WORKDIR}" || die
+       eapply "${FILESDIR}"/${PN}-3.8.12-userflags_quickjs.patch
+       popd || die
+}
+
+src_compile() {
+       tc-export CC AR PKG_CONFIG
+
+       # First build quickjs so we can link to its static library.
+       # Also, quickjs doesn't appear to tag releases.
+       emake -C "${WORKDIR}"/quickjs libquickjs.a
+
+       # set QUICKJS_LDFLAGS as upstream does except -ldl and -latomic (added 
only if available).
+       append-atomic-flags
+       emake -C src STRIP= QUICKJS_LDFLAGS="-L../../quickjs -lquickjs"
+}
+
+src_test() {
+       # create an empty config file
+       touch "${HOME}"/.ebrc || die
+       # basic test
+       echo -e "b ${S}/doc/usersguide.html\n1,3p\nqt" | edo ./src/edbrowse -d3 
-e
+}
+
+src_install() {
+       dobin src/edbrowse
+       newman doc/man-edbrowse-debian.1 edbrowse.1
+       local DOCS=( README doc/sample* )
+       local HTML_DOCS=( doc/*.html )
+       einstalldocs
+}

Reply via email to