From 836551fdec0f31fcfec627d1e4441d8979e0c1b0 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Thu, 7 Apr 2022 16:38:14 +0200 Subject: [PATCH] app-emulation/spice-html5: add missing license, install files like the rpm Signed-off-by: Alessandro Barbieri --- ...html5-0.3.0.ebuild => spice-html5-0.3.0-r1.ebuild} | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) rename app-emulation/spice-html5/{spice-html5-0.3.0.ebuild => spice-html5-0.3.0-r1.ebuild} (66%) diff --git a/app-emulation/spice-html5/spice-html5-0.3.0.ebuild b/app-emulation/spice-html5/spice-html5-0.3.0-r1.ebuild similarity index 66% rename from app-emulation/spice-html5/spice-html5-0.3.0.ebuild rename to app-emulation/spice-html5/spice-html5-0.3.0-r1.ebuild index 6c2789a520..815680a942 100644 --- a/app-emulation/spice-html5/spice-html5-0.3.0.ebuild +++ b/app-emulation/spice-html5/spice-html5-0.3.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019-2021 Gentoo Authors +# Copyright 2019-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -8,17 +8,16 @@ HOMEPAGE="https://gitlab.freedesktop.org/spice/spice-html5" SRC_URI="https://gitlab.freedesktop.org/spice/${PN}/-/archive/${P}/${PN}-${P}.tar.gz" S="${WORKDIR}/${PN}-${P}" -LICENSE="LGPL-3" # maybe other licenses +LICENSE="LGPL-3 MIT" SLOT="0" KEYWORDS="~amd64" -# no compiling src_compile() { - true + sed -e "s/VERSION/$(PV)/" < package.json.in > package.json || die } src_install() { - dodoc README + dodoc README TODO apache.conf.sample insinto /usr/share/spice-html5 - doins -r src apache.conf.sample spice.css spice.html spice_auto.html + doins -r src *.html *.json *.css }