www-client/elinks: fix tests, add mujs support

Closes: https://bugs.gentoo.org/797427
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2022-12-31 21:08:57 +00:00
parent 3a2f8ddaec
commit 032ff4acf3
2 changed files with 6 additions and 6 deletions
-4
View File
@@ -11,10 +11,6 @@
# fragility to Portage which relies on pax-utils' scanelf heavily. bug #815877.
app-misc/pax-utils seccomp
# Sam James <sam@gentoo.org> (2022-12-29)
# Needs yet-unpackaged libxmlpp-5.0, bug #888898
www-client/elinks javascript
# Ionen Wolkens <ionen@gentoo.org> (2022-12-29)
# Blocks eventual cleanup of <dev-util/glslang-1.3.231, and the same
# functionality can be got through USE=shaderc without direct usage.
+6 -2
View File
@@ -24,8 +24,7 @@ LICENSE="GPL-2"
SLOT="0"
IUSE="bittorrent brotli bzip2 debug finger ftp gopher gpm gnutls guile idn"
IUSE+=" javascript lua lzma +mouse nls nntp perl samba ssl test tre unicode X xml zlib zstd"
# tests restricted for https://github.com/rkd77/elinks/issues/203
RESTRICT="!test? ( test ) test"
RESTRICT="!test? ( test )"
REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
RDEPEND="
@@ -65,6 +64,11 @@ BDEPEND="
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}"/${P}-fix-tests.patch
"${FILESDIR}"/${PN}-0.16.0-fix-build-mujs.patch
)
pkg_setup() {
use lua && lua-single_pkg_setup