From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3DB9D138350 for ; Wed, 1 Apr 2020 14:38:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 56F82E0C14; Wed, 1 Apr 2020 14:38:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EBEB8E0C14 for ; Wed, 1 Apr 2020 14:38:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3996A34F89B for ; Wed, 1 Apr 2020 14:38:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8BA011BC for ; Wed, 1 Apr 2020 14:38:00 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1585751853.e8d672db8ff6df16fc571bb725fceb3d37ad69b0.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/luakit/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/luakit/luakit-9999.ebuild X-VCS-Directories: www-client/luakit/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: e8d672db8ff6df16fc571bb725fceb3d37ad69b0 X-VCS-Branch: master Date: Wed, 1 Apr 2020 14:38:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5b96ab26-9e5b-45c0-9535-051fde53154d X-Archives-Hash: 4241750ee958a0bb696553769a921f63 commit: e8d672db8ff6df16fc571bb725fceb3d37ad69b0 Author: Kristopher Keller gmail com> AuthorDate: Sat Mar 28 22:26:23 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Wed Apr 1 14:37:33 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8d672db www-client/luakit: update live ebuild Add prefix to emake so luakit can find modules and fix various repoman warnings. - Bump copyright - Bump to EAPI 7 - Inherit xdg-utils - Use https for repo uri - Add PREFIX to emake in compile phase - Edit Makefile to install uncompressed man page - Add xdg functions for desktop file Closes: https://bugs.gentoo.org/715184 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Kristopher Keller gmail.com> Closes: https://github.com/gentoo/gentoo/pull/15157 Signed-off-by: Joonas Niilola gentoo.org> www-client/luakit/luakit-9999.ebuild | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/www-client/luakit/luakit-9999.ebuild b/www-client/luakit/luakit-9999.ebuild index fb0f02b0108..3f617a46a60 100644 --- a/www-client/luakit/luakit-9999.ebuild +++ b/www-client/luakit/luakit-9999.ebuild @@ -1,16 +1,16 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit toolchain-funcs +inherit toolchain-funcs xdg-utils DESCRIPTION="A fast, light, simple to use micro-browser using WebKit and Lua" HOMEPAGE="https://luakit.github.io/luakit" if [[ ${PV} == 9999 ]]; then inherit git-r3 - EGIT_REPO_URI="git://github.com/luakit/luakit.git" + 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" @@ -43,6 +43,7 @@ src_compile() { CC=$(tc-getCC) \ LUA_PKG_NAME=$(usex luajit 'luajit' 'lua') \ LUA_BIN_NAME=$(usex luajit 'luajit' 'lua') \ + PREFIX="${EPREFIX}/usr" \ all use doc && emake doc @@ -55,6 +56,8 @@ src_test() { } src_install() { + sed -i 's/install -m644 luakit.1.gz/install -m644 luakit.1/g' Makefile || die + emake \ DESTDIR="${D}" \ PREFIX="${EPREFIX}/usr" \ @@ -66,3 +69,9 @@ src_install() { use doc && dodoc -r doc/html } + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update + xdg_mimeinfo_database_update +}