app-accessibility/edbrowse - 3.8.17 (gentoo)

Search

Install

Install this version:

emerge -a =app-accessibility/edbrowse-3.8.17

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-accessibility/edbrowse-3.8.17

Or alternatively:

emerge --autounmask-write -a =app-accessibility/edbrowse-3.8.17

Package Information

Description:
Combination editor, browser, and mail client that is 100% text based
Homepage:
https://edbrowse.org
License:
GPL-2+ curl MIT CC0-1.0

Ebuild Details

Version EAPI Keywords Slot
3.8.17 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit edo toolchain-funcs

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"

LICENSE="GPL-2+ curl MIT CC0-1.0"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	dev-db/unixODBC
	dev-libs/libpcre2:=
	dev-libs/openssl:=
	dev-libs/quickjs-ng
	net-misc/curl
	sys-libs/readline:=
"
DEPEND="${RDEPEND}"
BDEPEND="
	dev-lang/perl
	virtual/pkgconfig
"

PATCHES=(
	# adapt makefile for shared quickjs-ng
	"${FILESDIR}"/${PN}-3.8.17-quickjs-ng.patch
)

src_compile() {
	tc-export CC PKG_CONFIG
	emake STRIP=
}

src_test() {
	# create an empty config file
	CONFIG_FILE="${HOME}/.ebrc"
	touch "${CONFIG_FILE}" || die
	# basic test
	echo -e "b ${S}/doc/usersguide.html\n1,3p\nqt" | edo ./src/edbrowse -c "${CONFIG_FILE}" -d3 -e
}

src_install() {
	local myemakeargs=(
		DESTDIR="${D}"
		PREFIX="${EPREFIX}"/usr
		DOCDIR="${ED}/usr/share/doc/${PF}/html"
		FILESDIR="${ED}"/usr/share/edbrowse
	)
	emake "${myemakeargs[@]}" install

	local DOCS=( CHANGES README.md lang/ebrc-* )
	einstalldocs

	newman doc/man-edbrowse-debian.1 edbrowse.1
}

pkg_postinst() {
	einfo "Various plugins for ${PN} are also installed to handle many formats."
	einfo "They may require additional dependencies to function properly."
}

Inherited Eclasses

edo

Dependencies

DEPEND

	dev-db/unixODBC
	dev-libs/libpcre2:=
	dev-libs/openssl:=
	dev-libs/quickjs-ng
	net-misc/curl
	sys-libs/readline:=

RDEPEND

	dev-db/unixODBC
	dev-libs/libpcre2:=
	dev-libs/openssl:=
	dev-libs/quickjs-ng
	net-misc/curl
	sys-libs/readline:=

BDEPEND

	dev-lang/perl
	virtual/pkgconfig

Manifest for 3.8.17

Type File Size Source URLs
DIST edbrowse-3.8.17.tar.gz 1371379 bytes https://github.com/edbrowse/edbrowse/archive/v3.8.17.tar.gz