aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-04-07 16:38:14 +0200
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-04-15 22:34:17 +0200
commit836551fdec0f31fcfec627d1e4441d8979e0c1b0 (patch)
tree257426c2d653aebbf50731104584d1491a23b1b0 /app-emulation
parentapp-admin/glance: delete hacking test (diff)
downloadguru-836551fdec0f31fcfec627d1e4441d8979e0c1b0.tar.gz
guru-836551fdec0f31fcfec627d1e4441d8979e0c1b0.tar.bz2
guru-836551fdec0f31fcfec627d1e4441d8979e0c1b0.zip
app-emulation/spice-html5: add missing license, install files like the rpm
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/spice-html5/spice-html5-0.3.0-r1.ebuild (renamed from app-emulation/spice-html5/spice-html5-0.3.0.ebuild)11
1 files changed, 5 insertions, 6 deletions
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
index 6c2789a52..815680a94 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
}