commit:     3bf33fd9cd1466eabf6f68dc8e7d17ee8fcefed9
Author:     Oz N Tiram <oz.tiram <AT> gmail <DOT> com>
AuthorDate: Tue May 18 19:57:29 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Jun  8 13:24:04 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bf33fd9

www-client/luakit: bump version to 2.3

Also, added myself as a proxy maintainer

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Oz Tiram <oz.tiram <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/20876
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 www-client/luakit/Manifest          |  1 +
 www-client/luakit/luakit-2.3.ebuild | 92 +++++++++++++++++++++++++++++++++++++
 www-client/luakit/metadata.xml      | 22 ++++++++-
 3 files changed, 113 insertions(+), 2 deletions(-)

diff --git a/www-client/luakit/Manifest b/www-client/luakit/Manifest
index 4f492cd6ef6..636495d9404 100644
--- a/www-client/luakit/Manifest
+++ b/www-client/luakit/Manifest
@@ -1 +1,2 @@
 DIST luakit-2.2.1.tar.gz 488845 BLAKE2B 
2bed592f7d56fc4b5bad4fee3563805954c6211222e25344d01430ef9f2921c240e9cb3c735564fae66d0739d50da41a90309c7dba3ba9f4631d880b9a47e4b1
 SHA512 
9a055c1541f31027805d3da2604d98c0193a9c2874099fc3ab3ef08c645a8e91b8504d1162e86cbd29a5e5e0a3c54b3154299708f864d135d8640bcc3866674b
+DIST luakit-2.3.tar.gz 497470 BLAKE2B 
980eabba255a83a26acf565df170907805df5eb6ea7bfc978c5a180c27575d7ebadec7c97ba7af1a60cdc08654f4c4ca1967b25272dd4788a553815f91cc1502
 SHA512 
98a473bcafbd082093689fd58b8c9828e3d79b8ae367ea4d030bb2b1671bf4f61a4f07fe57b99e6c69c40e26ad8b96b88b67e48ce085187923a1a1d976bdcee3

diff --git a/www-client/luakit/luakit-2.3.ebuild 
b/www-client/luakit/luakit-2.3.ebuild
new file mode 100644
index 00000000000..8e075591c9a
--- /dev/null
+++ b/www-client/luakit/luakit-2.3.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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";
+
+if [[ ${PV} == 9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/luakit/luakit.git";
+else
+       SRC_URI="https://github.com/luakit/luakit/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+       KEYWORDS="~amd64"
+fi
+
+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=
+       x11-libs/gtk+:3
+       ${LUA_DEPS}
+       $(lua_gen_cond_dep '
+               dev-lua/luafilesystem[${LUA_USEDEP}]
+       ')
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       virtual/pkgconfig
+       doc? ( app-doc/doxygen )
+       test? (
+               $(lua_gen_cond_dep '
+                       dev-lua/luassert[${LUA_USEDEP}]
+                       dev-lua/luacheck[${LUA_USEDEP}]
+               ')
+               x11-base/xorg-server[xvfb]
+       )
+"
+PATCHES=(
+       "${FILESDIR}"/${PN}-2.2.1-make.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
+}

diff --git a/www-client/luakit/metadata.xml b/www-client/luakit/metadata.xml
index 91b52104f17..3e615d255d8 100644
--- a/www-client/luakit/metadata.xml
+++ b/www-client/luakit/metadata.xml
@@ -1,5 +1,23 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-  <!-- maintainer-needed -->
-  </pkgmetadata>
+       <maintainer type="person" proxied="yes">
+               <name>Oz Tiram</name>
+               <email>[email protected]</email>
+       </maintainer>
+       <maintainer type="project" proxied="proxy">
+               <email>[email protected]</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+       <longdescription lang="en">
+               Luakit is a highly configurable browser framework based on the 
WebKit
+               web content engine and the GTK+ toolkit. It is very fast, 
extensible
+               with Lua, and licensed under the GNU GPLv3 license.
+               It is primarily targeted at power users, developers and anyone 
who wants
+               to have fine-grained control over their web browser's behaviour 
and
+               interface.
+       </longdescription>
+       <upstream>
+               <remote-id type="github">luakit/luakit</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to