Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/luakit/
Date: Fri, 17 Mar 2023 00:07:23
Message-Id: 1679011599.f1ae7180cb6f538c590784805f4e833d5a4dd239.sam@gentoo
1 commit: f1ae7180cb6f538c590784805f4e833d5a4dd239
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 17 00:06:34 2023 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 17 00:06:39 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1ae7180
7
8 www-client/luakit: drop 9999
9
10 Out of sync and very outdated.
11
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 www-client/luakit/luakit-9999.ebuild | 92 ------------------------------------
15 1 file changed, 92 deletions(-)
16
17 diff --git a/www-client/luakit/luakit-9999.ebuild b/www-client/luakit/luakit-9999.ebuild
18 deleted file mode 100644
19 index 81da040c1b33..000000000000
20 --- a/www-client/luakit/luakit-9999.ebuild
21 +++ /dev/null
22 @@ -1,92 +0,0 @@
23 -# Copyright 1999-2021 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=7
27 -
28 -LUA_COMPAT=( lua5-1 luajit )
29 -
30 -inherit lua-single toolchain-funcs xdg
31 -
32 -DESCRIPTION="A fast, extensible, and customizable web browser"
33 -HOMEPAGE="https://luakit.github.io/luakit"
34 -
35 -if [[ ${PV} == 9999 ]]; then
36 - inherit git-r3
37 - EGIT_REPO_URI="https://github.com/luakit/luakit.git"
38 -else
39 - SRC_URI="https://github.com/luakit/luakit/archive/${PV}.tar.gz -> ${P}.tar.gz"
40 - KEYWORDS="~amd64"
41 -fi
42 -
43 -LICENSE="GPL-3+"
44 -SLOT="0"
45 -IUSE="doc test"
46 -
47 -REQUIRED_USE="${LUA_REQUIRED_USE}"
48 -RESTRICT="!test? ( test )"
49 -
50 -RDEPEND="
51 - dev-db/sqlite:3
52 - dev-libs/glib:2
53 - net-libs/webkit-gtk:4=
54 - x11-libs/gtk+:3
55 - ${LUA_DEPS}
56 - $(lua_gen_cond_dep '
57 - dev-lua/luafilesystem[${LUA_USEDEP}]
58 - ')
59 -"
60 -DEPEND="${RDEPEND}"
61 -BDEPEND="
62 - virtual/pkgconfig
63 - doc? ( app-doc/doxygen )
64 - test? (
65 - $(lua_gen_cond_dep '
66 - dev-lua/luassert[${LUA_USEDEP}]
67 - dev-lua/luacheck[${LUA_USEDEP}]
68 - ')
69 - x11-base/xorg-server[xvfb]
70 - )
71 -"
72 -PATCHES=(
73 - "${FILESDIR}"/${PN}-9999-make.patch
74 -)
75 -
76 -src_configure() {
77 - export LUA_BIN_NAME=${ELUA}
78 - export LUA_PKG_NAME=${ELUA}
79 - tc-export CC PKG_CONFIG
80 -}
81 -
82 -src_compile() {
83 - emake \
84 - PREFIX="${EPREFIX}/usr" \
85 - USE_LUAJIT=$(usex lua_single_target_luajit 1 0) \
86 - ${PN} ${PN}.so
87 -
88 - use doc && emake doc
89 -}
90 -
91 -src_test() {
92 - local failing_test
93 - for failing_test in test_clib_luakit test_image_css; do
94 - mv tests/async/${failing_test}.lua{,.disabled} || die
95 - done
96 -
97 - emake \
98 - USE_LUAJIT=$(usex lua_single_target_luajit 1 0) \
99 - run-tests
100 -}
101 -
102 -src_install() {
103 - emake \
104 - DESTDIR="${ED}" \
105 - DOCDIR="${EPREFIX}/usr/share/doc/${PF}" \
106 - PREFIX="${EPREFIX}/usr" \
107 - USE_LUAJIT=$(usex lua_single_target_luajit 1 0) \
108 - XDGPREFIX="${EPREFIX}/etc/xdg" \
109 - install
110 -
111 - rm "${ED}/usr/share/doc/${PF}/COPYING.GPLv3" || die
112 -
113 - use doc && dodoc -r doc/html
114 -}