diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-21 23:40:13 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-21 23:40:13 +0000 |
commit | 51012ef0261a9da2e4487144906632d06607d3b9 (patch) | |
tree | 4bdd7443f88209d056985f2e4748277714e35829 /www-client | |
parent | f2d1966a40070fb5ba3279db49b8435c7c143802 (diff) |
gentoo auto-resync : 21:02:2024 - 23:40:13
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/Manifest.gz | bin | 6043 -> 6052 bytes | |||
-rw-r--r-- | www-client/luakit/Manifest | 3 | ||||
-rw-r--r-- | www-client/luakit/files/luakit-mangz.patch | 35 | ||||
-rw-r--r-- | www-client/luakit/luakit-2.3.6.ebuild | 92 |
4 files changed, 130 insertions, 0 deletions
diff --git a/www-client/Manifest.gz b/www-client/Manifest.gz Binary files differindex 39b585048275..df5fe1baa2fa 100644 --- a/www-client/Manifest.gz +++ b/www-client/Manifest.gz diff --git a/www-client/luakit/Manifest b/www-client/luakit/Manifest index 6193757c255b..a012e95574e5 100644 --- a/www-client/luakit/Manifest +++ b/www-client/luakit/Manifest @@ -1,3 +1,6 @@ +AUX luakit-mangz.patch 1495 BLAKE2B 46ff27a594d4395a2f6864274f5f9f85766cb0e0793bbbcdfda9e2c6c0d4315a2cb413715a081895fac57ffe650b3310e77200083acf8266ef34377e748ffc11 SHA512 3ebd31426aa1c82f491537e081a17456016e3ce19a11ac6dfbdfbd84b9dbcbe3727cc5ef25eec2aa037e47ff849e689c0129f19ca69c9921951babe43725796b DIST luakit-2.3.3.tar.gz 507343 BLAKE2B 4b9c3b3e4d5ff50f1c7409cf8f77ca7c81032f13051c3cca2aef4f794ee159fd12c5bfe0706e74414056899ef64330e888fe141256e52bc6d89eb572cca975e0 SHA512 ae5088541118c693db4a90f7e727d1f4094b56d4ea4cd51d2019351ff6b44672a1d7b9f80b351a37767556564b68633d815649ceaa4d8bd3b966a20a155ba2b2 +DIST luakit-2.3.6.tar.gz 508466 BLAKE2B 2f5d727349a72c3f9ec9e10030f9e916e7f0ba50e66f94c96973215595ebb6105d198f9b5efcaae93a90dc1f0b898753253bd5cb1c071a06413e84e31120ce1c SHA512 0f6fe8f4805fe5ee7de5534534e3ad3d2c459aad152d3b5598e7c25d9c06cfee177098cbcd305bbcd351733dea7e03370139a7ecbd1b022b8cee8da6ca242e1c EBUILD luakit-2.3.3-r1.ebuild 1713 BLAKE2B 93bc505fee748d0053dba20f18c7af2835533df81161e9bb49395aa2daa5298e5fdf9747fb5fc5f2afeb3095ea5e834483ed417e5a0c63e8de4729024adcc109 SHA512 d742b6e6a92a98d118eec750ad1ea2a131f93700b98bee89b91dd33c81858953c08dd00a47a1b1528d241cb8b7e63899841105914f778ec54d8c53cf933e3f6e +EBUILD luakit-2.3.6.ebuild 1762 BLAKE2B 5a883ada4b98f9642f4acac07854313ac52a566434e7bdff6a68986f120b7c39872e30c8dc58f484272808ff365331f4eddc00dbaedd19ccec90a4586ec0c3f1 SHA512 dc4416b616b14689f26543fca08705ce10f949a124b04e2fe8cdb344630c3f5b008ebd889d2f35644918ace5f84ca3763886877e623b89019de445f92f1c0cfd MISC metadata.xml 872 BLAKE2B 21d416f72fdd369d9e7151601d0e70022530e20282ad794d449a4da5974fd09d7e2c15f0b2e6d3590ac42f9504b73e93209a6e8b9f436494629b48d799323d83 SHA512 86fa89d5e2729a43097343951652139d64c65c310e62e3f36f0e89b864e3d228222a31338d5f4eb10f27656496f94d4083b329bc4acfde2f2bd7e99e6d959bbb diff --git a/www-client/luakit/files/luakit-mangz.patch b/www-client/luakit/files/luakit-mangz.patch new file mode 100644 index 000000000000..76d2dd7fab82 --- /dev/null +++ b/www-client/luakit/files/luakit-mangz.patch @@ -0,0 +1,35 @@ +Patch for QA notice: + + * QA Notice: One or more compressed files were found in docompress-ed + * directories. Please fix the ebuild not to install compressed files + * (manpages, documentation) when automatic compression is used: + * + * /usr/share/man/man1/luakit.1.gz + +--- a/Makefile ++++ b/Makefile +@@ -17,7 +17,7 @@ + # Must be kept in sync with doc/docgen.ld + DOC_SRCS = $(filter-out lib/markdown.lua lib/lousy/init.lua,$(shell for d in doc/luadoc lib common/clib; do find $$d -type f; done)) tests/lib.lua + +-all: options newline luakit luakit.1.gz luakit.so apidoc ++all: options newline luakit luakit.1 luakit.so apidoc + + options: + @echo luakit build options: +@@ -118,13 +118,13 @@ + install -d $(DESTDIR)$(APPDIR) + install -m644 extras/luakit.desktop $(DESTDIR)$(APPDIR) + install -d $(DESTDIR)$(MANPREFIX)/man1/ +- install -m644 luakit.1.gz $(DESTDIR)$(MANPREFIX)/man1/ ++ install -m644 luakit.1 $(DESTDIR)$(MANPREFIX)/man1/ + install -d $(DESTDIR)$(PREFIX)/share/luakit/resources/icons + for i in resources/icons/*; do install -m644 "$$i" "$(DESTDIR)$(PREFIX)/share/luakit/resources/icons"; done + + uninstall: + rm -rf $(DESTDIR)$(PREFIX)/bin/luakit $(DESTDIR)$(PREFIX)/share/luakit $(DESTDIR)$(PREFIX)/lib/luakit +- rm -rf $(DESTDIR)$(MANPREFIX)/man1/luakit.1.gz $(DESTDIR)$(XDGPREFIX)/luakit ++ rm -rf $(DESTDIR)$(MANPREFIX)/man1/luakit.1 $(DESTDIR)$(XDGPREFIX)/luakit + rm -rf $(DESTDIR)$(APPDIR)/luakit.desktop $(DESTDIR)$(PIXMAPDIR)/luakit.png + + tests/util.so: tests/util.c Makefile diff --git a/www-client/luakit/luakit-2.3.6.ebuild b/www-client/luakit/luakit-2.3.6.ebuild new file mode 100644 index 000000000000..9178da7a0d2c --- /dev/null +++ b/www-client/luakit/luakit-2.3.6.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-1 luajit ) + +inherit lua-single toolchain-funcs xdg + +DESCRIPTION="A fast, extensible, and customizable web browser" +HOMEPAGE="https://luakit.github.io/luakit" + +SRC_URI="https://github.com/luakit/luakit/archive/${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64 ~arm64" + +LICENSE="GPL-3+" +SLOT="0" +IUSE="doc test" + +REQUIRED_USE="${LUA_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-db/sqlite:3 + dev-libs/glib:2 + net-libs/webkit-gtk:4.1= + x11-libs/gtk+:3 + ${LUA_DEPS} + $(lua_gen_cond_dep ' + dev-lua/luafilesystem[${LUA_USEDEP}] + ') +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + doc? ( + dev-lua/luafilesystem + app-text/doxygen + media-gfx/graphviz + ) + test? ( + $(lua_gen_cond_dep ' + dev-lua/luassert[${LUA_USEDEP}] + dev-lua/luacheck[${LUA_USEDEP}] + ') + x11-base/xorg-server[xvfb] + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-mangz.patch" +) + +src_configure() { + export LUA_BIN_NAME=${ELUA} + export LUA_PKG_NAME=${ELUA} + tc-export CC PKG_CONFIG +} + +src_compile() { + emake \ + PREFIX="${EPREFIX}/usr" \ + USE_LUAJIT=$(usex lua_single_target_luajit 1 0) \ + ${PN} ${PN}.so + + use doc && emake doc +} + +src_test() { + local failing_test + for failing_test in test_clib_luakit test_image_css; do + mv tests/async/${failing_test}.lua{,.disabled} || die + done + + emake \ + USE_LUAJIT=$(usex lua_single_target_luajit 1 0) \ + run-tests +} + +src_install() { + emake \ + DESTDIR="${ED}" \ + DOCDIR="${EPREFIX}/usr/share/doc/${PF}" \ + PREFIX="${EPREFIX}/usr" \ + USE_LUAJIT=$(usex lua_single_target_luajit 1 0) \ + XDGPREFIX="${EPREFIX}/etc/xdg" \ + install + + rm "${ED}/usr/share/doc/${PF}/COPYING.GPLv3" || die + + use doc && dodoc -r doc/html +} |