Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/luakit/
Date: Wed, 01 Apr 2020 14:38:09
Message-Id: 1585751853.e8d672db8ff6df16fc571bb725fceb3d37ad69b0.juippis@gentoo
1 commit: e8d672db8ff6df16fc571bb725fceb3d37ad69b0
2 Author: Kristopher Keller <kristopher004 <AT> gmail <DOT> com>
3 AuthorDate: Sat Mar 28 22:26:23 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 1 14:37:33 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8d672db
7
8 www-client/luakit: update live ebuild
9
10 Add prefix to emake so luakit can find modules and fix various repoman
11 warnings.
12
13 - Bump copyright
14 - Bump to EAPI 7
15 - Inherit xdg-utils
16 - Use https for repo uri
17 - Add PREFIX to emake in compile phase
18 - Edit Makefile to install uncompressed man page
19 - Add xdg functions for desktop file
20
21 Closes: https://bugs.gentoo.org/715184
22 Package-Manager: Portage-2.3.96, Repoman-2.3.22
23 Signed-off-by: Kristopher Keller <kristopher004 <AT> gmail.com>
24 Closes: https://github.com/gentoo/gentoo/pull/15157
25 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
26
27 www-client/luakit/luakit-9999.ebuild | 17 +++++++++++++----
28 1 file changed, 13 insertions(+), 4 deletions(-)
29
30 diff --git a/www-client/luakit/luakit-9999.ebuild b/www-client/luakit/luakit-9999.ebuild
31 index fb0f02b0108..3f617a46a60 100644
32 --- a/www-client/luakit/luakit-9999.ebuild
33 +++ b/www-client/luakit/luakit-9999.ebuild
34 @@ -1,16 +1,16 @@
35 -# Copyright 1999-2019 Gentoo Authors
36 +# Copyright 1999-2020 Gentoo Authors
37 # Distributed under the terms of the GNU General Public License v2
38
39 -EAPI=6
40 +EAPI=7
41
42 -inherit toolchain-funcs
43 +inherit toolchain-funcs xdg-utils
44
45 DESCRIPTION="A fast, light, simple to use micro-browser using WebKit and Lua"
46 HOMEPAGE="https://luakit.github.io/luakit"
47
48 if [[ ${PV} == 9999 ]]; then
49 inherit git-r3
50 - EGIT_REPO_URI="git://github.com/luakit/luakit.git"
51 + EGIT_REPO_URI="https://github.com/luakit/luakit.git"
52 else
53 SRC_URI="https://github.com/luakit/luakit/archive/${PV}.tar.gz -> ${P}.tar.gz"
54 KEYWORDS="~amd64"
55 @@ -43,6 +43,7 @@ src_compile() {
56 CC=$(tc-getCC) \
57 LUA_PKG_NAME=$(usex luajit 'luajit' 'lua') \
58 LUA_BIN_NAME=$(usex luajit 'luajit' 'lua') \
59 + PREFIX="${EPREFIX}/usr" \
60 all
61
62 use doc && emake doc
63 @@ -55,6 +56,8 @@ src_test() {
64 }
65
66 src_install() {
67 + sed -i 's/install -m644 luakit.1.gz/install -m644 luakit.1/g' Makefile || die
68 +
69 emake \
70 DESTDIR="${D}" \
71 PREFIX="${EPREFIX}/usr" \
72 @@ -66,3 +69,9 @@ src_install() {
73
74 use doc && dodoc -r doc/html
75 }
76 +
77 +pkg_postrm() {
78 + xdg_desktop_database_update
79 + xdg_icon_cache_update
80 + xdg_mimeinfo_database_update
81 +}