commit:     2b5cd5a154a043a47e9a67ec5eb96ce845501eee
Author:     Mathis Winterer <mrmagic223325 <AT> fedora <DOT> email>
AuthorDate: Sun Jan  1 13:28:47 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun Jan  1 13:28:47 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2b5cd5a1

app-emulation/spice-html5: Update copyright, switch tar.gz to tar.bz2,
simplify ebuilds, add additional metadata

Signed-off-by: Mathis Winterer <mrmagic223325 <AT> fedora.email>

 app-emulation/spice-html5/Manifest                    |  4 ++--
 app-emulation/spice-html5/metadata.xml                | 14 +++++++++-----
 app-emulation/spice-html5/spice-html5-0.2.2.ebuild    | 14 +++-----------
 app-emulation/spice-html5/spice-html5-0.3.0-r1.ebuild |  8 ++++----
 4 files changed, 18 insertions(+), 22 deletions(-)

diff --git a/app-emulation/spice-html5/Manifest 
b/app-emulation/spice-html5/Manifest
index 9f240490e..47dbd4e65 100644
--- a/app-emulation/spice-html5/Manifest
+++ b/app-emulation/spice-html5/Manifest
@@ -1,2 +1,2 @@
-DIST spice-html5-spice-html5-0.2.2.tar.gz 487210 BLAKE2B 
125e5c2b36970c787897395eb56f71f90067ca5e6a80da4981f26ed3083b3cef4aaa40d2bb9767e775f9739eb15182c2cea874305e6a247c56be00e037bee6d6
 SHA512 
2a486552055762e44f54a7454d97e49d8f0d92a476b768f8724e6dfb6796851bd143a2c5b74fc2cff0bcec1f86b919428562f82e4b8de51ff95dadcc8b1a8133
-DIST spice-html5-spice-html5-0.3.0.tar.gz 488039 BLAKE2B 
83a4a30e4bb5d86a37e831f8406563de03723b1d1bb6920f17aee72e8cfdce281bfac05e7f47d0540c95c6f2ffde245cb6789c4fd39df2b90c230e82e251af6b
 SHA512 
fcf4f442072b35bd5655eaebf7032e9dbd72c555f5ab201a0829c8633a032803deb0ab254ef95c38c0c50047a540efeddf5184fdcc4775b2556813929a247cf2
+DIST spice-html5-spice-html5-0.2.2.tar.bz2 396396 BLAKE2B 
cde1dbec79c28a21fd8beef00b13ade0c937a7eb4cf2195160f724c1eac10074deb2732fa6145d1f8867e7a8c69492f9e8ab7ad52884c781e30ce5620f7e4a71
 SHA512 
f2e05d510a67726e832cc424eceef7f3188622e8aed4435d16a17c951b96cf315851838aa2b39cf582b5e899bd57587c4e308c9341fb4d18d6b901fbdf819609
+DIST spice-html5-spice-html5-0.3.0.tar.bz2 397775 BLAKE2B 
8b03203e0a0377d6ae2b14cd4cad058f09c2073f00eda430330dfb9039bd6f0ff8cc817c9ef7728f3a876ece154ea1455dded8aaffa063ddec0c7df9e994aff0
 SHA512 
0a7c9584a6afad4097909c47d86bdedc6d9d5859cd421daa9834ece1ef11cc43cb1dce68985511e1d1d82d5055ca9025e6705b91ba3130b0e6a05edcf67fe7d0

diff --git a/app-emulation/spice-html5/metadata.xml 
b/app-emulation/spice-html5/metadata.xml
index d2b2c8ce9..3cc9b8a0f 100644
--- a/app-emulation/spice-html5/metadata.xml
+++ b/app-emulation/spice-html5/metadata.xml
@@ -1,9 +1,13 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-       <maintainer type="person">
-               <description>co-maintainers welcome</description>
-               <email>lssndrbarbi...@gmail.com</email>
-               <name>Alessandro Barbieri</name>
-       </maintainer>
+  <maintainer type="person">
+    <description>co-maintainers welcome</description>
+    <email>lssndrbarbi...@gmail.com</email>
+    <name>Alessandro Barbieri</name>
+  </maintainer>
+  <upstream>
+    
<bugs-to>https://gitlab.freedesktop.org/spice/spice-html5/-/issues</bugs-to>
+    <remote-id type="freedesktop-gitlab">spice/spice-html5</remote-id>
+  </upstream>
 </pkgmetadata>

diff --git a/app-emulation/spice-html5/spice-html5-0.2.2.ebuild 
b/app-emulation/spice-html5/spice-html5-0.2.2.ebuild
index b14ee2cb6..ee0d182bf 100644
--- a/app-emulation/spice-html5/spice-html5-0.2.2.ebuild
+++ b/app-emulation/spice-html5/spice-html5-0.2.2.ebuild
@@ -1,26 +1,18 @@
-# Copyright 2019-2020 Gentoo Authors
+# Copyright 2019-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 DESCRIPTION="Spice Javascript client"
 HOMEPAGE="https://gitlab.freedesktop.org/spice/spice-html5";
-SRC_URI="https://gitlab.freedesktop.org/spice/${PN}/-/archive/${P}/${PN}-${P}.tar.gz";
+SRC_URI="https://gitlab.freedesktop.org/spice/${PN}/-/archive/${P}/${PN}-${P}.tar.bz2";
 S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE=""
 
-DEPEND=""
 RDEPEND="${DEPEND}"
-BDEPEND=""
-
-# no compiling
-src_compile() {
-       true
-}
 
 src_install() {
        insinto /usr/share/spice-html5

diff --git a/app-emulation/spice-html5/spice-html5-0.3.0-r1.ebuild 
b/app-emulation/spice-html5/spice-html5-0.3.0-r1.ebuild
index 940a6e22b..950922672 100644
--- a/app-emulation/spice-html5/spice-html5-0.3.0-r1.ebuild
+++ b/app-emulation/spice-html5/spice-html5-0.3.0-r1.ebuild
@@ -1,23 +1,23 @@
-# Copyright 2019-2022 Gentoo Authors
+# Copyright 2019-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DESCRIPTION="Spice Javascript client"
 HOMEPAGE="https://gitlab.freedesktop.org/spice/spice-html5";
-SRC_URI="https://gitlab.freedesktop.org/spice/${PN}/-/archive/${P}/${PN}-${P}.tar.gz";
+SRC_URI="https://gitlab.freedesktop.org/spice/${PN}/-/archive/${P}/${PN}-${P}.tar.bz2";
 S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="LGPL-3 MIT"
 SLOT="0"
 KEYWORDS="~amd64"
 
-src_compile() {
+src_prepare() {
        sed -e "s/VERSION/${PV}/" < package.json.in > package.json || die
 }
 
 src_install() {
        dodoc README TODO apache.conf.sample
        insinto /usr/share/spice-html5
-       doins -r src *.html *.json *.css
+       doins -r src ./*.html ./*.json ./*.css
 }

Reply via email to