Gentoo Archives: gentoo-commits

From: Mathis Winterer <mrmagic223325@××××××.email>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-emulation/spice-html5/
Date: Sun, 01 Jan 2023 13:31:31
Message-Id: 1672579727.2b5cd5a154a043a47e9a67ec5eb96ce845501eee.mrmagic223325@gentoo
1 commit: 2b5cd5a154a043a47e9a67ec5eb96ce845501eee
2 Author: Mathis Winterer <mrmagic223325 <AT> fedora <DOT> email>
3 AuthorDate: Sun Jan 1 13:28:47 2023 +0000
4 Commit: Mathis Winterer <mrmagic223325 <AT> fedora <DOT> email>
5 CommitDate: Sun Jan 1 13:28:47 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2b5cd5a1
7
8 app-emulation/spice-html5: Update copyright, switch tar.gz to tar.bz2,
9 simplify ebuilds, add additional metadata
10
11 Signed-off-by: Mathis Winterer <mrmagic223325 <AT> fedora.email>
12
13 app-emulation/spice-html5/Manifest | 4 ++--
14 app-emulation/spice-html5/metadata.xml | 14 +++++++++-----
15 app-emulation/spice-html5/spice-html5-0.2.2.ebuild | 14 +++-----------
16 app-emulation/spice-html5/spice-html5-0.3.0-r1.ebuild | 8 ++++----
17 4 files changed, 18 insertions(+), 22 deletions(-)
18
19 diff --git a/app-emulation/spice-html5/Manifest b/app-emulation/spice-html5/Manifest
20 index 9f240490e..47dbd4e65 100644
21 --- a/app-emulation/spice-html5/Manifest
22 +++ b/app-emulation/spice-html5/Manifest
23 @@ -1,2 +1,2 @@
24 -DIST spice-html5-spice-html5-0.2.2.tar.gz 487210 BLAKE2B 125e5c2b36970c787897395eb56f71f90067ca5e6a80da4981f26ed3083b3cef4aaa40d2bb9767e775f9739eb15182c2cea874305e6a247c56be00e037bee6d6 SHA512 2a486552055762e44f54a7454d97e49d8f0d92a476b768f8724e6dfb6796851bd143a2c5b74fc2cff0bcec1f86b919428562f82e4b8de51ff95dadcc8b1a8133
25 -DIST spice-html5-spice-html5-0.3.0.tar.gz 488039 BLAKE2B 83a4a30e4bb5d86a37e831f8406563de03723b1d1bb6920f17aee72e8cfdce281bfac05e7f47d0540c95c6f2ffde245cb6789c4fd39df2b90c230e82e251af6b SHA512 fcf4f442072b35bd5655eaebf7032e9dbd72c555f5ab201a0829c8633a032803deb0ab254ef95c38c0c50047a540efeddf5184fdcc4775b2556813929a247cf2
26 +DIST spice-html5-spice-html5-0.2.2.tar.bz2 396396 BLAKE2B cde1dbec79c28a21fd8beef00b13ade0c937a7eb4cf2195160f724c1eac10074deb2732fa6145d1f8867e7a8c69492f9e8ab7ad52884c781e30ce5620f7e4a71 SHA512 f2e05d510a67726e832cc424eceef7f3188622e8aed4435d16a17c951b96cf315851838aa2b39cf582b5e899bd57587c4e308c9341fb4d18d6b901fbdf819609
27 +DIST spice-html5-spice-html5-0.3.0.tar.bz2 397775 BLAKE2B 8b03203e0a0377d6ae2b14cd4cad058f09c2073f00eda430330dfb9039bd6f0ff8cc817c9ef7728f3a876ece154ea1455dded8aaffa063ddec0c7df9e994aff0 SHA512 0a7c9584a6afad4097909c47d86bdedc6d9d5859cd421daa9834ece1ef11cc43cb1dce68985511e1d1d82d5055ca9025e6705b91ba3130b0e6a05edcf67fe7d0
28
29 diff --git a/app-emulation/spice-html5/metadata.xml b/app-emulation/spice-html5/metadata.xml
30 index d2b2c8ce9..3cc9b8a0f 100644
31 --- a/app-emulation/spice-html5/metadata.xml
32 +++ b/app-emulation/spice-html5/metadata.xml
33 @@ -1,9 +1,13 @@
34 <?xml version="1.0" encoding="UTF-8"?>
35 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
36 <pkgmetadata>
37 - <maintainer type="person">
38 - <description>co-maintainers welcome</description>
39 - <email>lssndrbarbieri@×××××.com</email>
40 - <name>Alessandro Barbieri</name>
41 - </maintainer>
42 + <maintainer type="person">
43 + <description>co-maintainers welcome</description>
44 + <email>lssndrbarbieri@×××××.com</email>
45 + <name>Alessandro Barbieri</name>
46 + </maintainer>
47 + <upstream>
48 + <bugs-to>https://gitlab.freedesktop.org/spice/spice-html5/-/issues</bugs-to>
49 + <remote-id type="freedesktop-gitlab">spice/spice-html5</remote-id>
50 + </upstream>
51 </pkgmetadata>
52
53 diff --git a/app-emulation/spice-html5/spice-html5-0.2.2.ebuild b/app-emulation/spice-html5/spice-html5-0.2.2.ebuild
54 index b14ee2cb6..ee0d182bf 100644
55 --- a/app-emulation/spice-html5/spice-html5-0.2.2.ebuild
56 +++ b/app-emulation/spice-html5/spice-html5-0.2.2.ebuild
57 @@ -1,26 +1,18 @@
58 -# Copyright 2019-2020 Gentoo Authors
59 +# Copyright 2019-2023 Gentoo Authors
60 # Distributed under the terms of the GNU General Public License v2
61
62 -EAPI=7
63 +EAPI=8
64
65 DESCRIPTION="Spice Javascript client"
66 HOMEPAGE="https://gitlab.freedesktop.org/spice/spice-html5"
67 -SRC_URI="https://gitlab.freedesktop.org/spice/${PN}/-/archive/${P}/${PN}-${P}.tar.gz"
68 +SRC_URI="https://gitlab.freedesktop.org/spice/${PN}/-/archive/${P}/${PN}-${P}.tar.bz2"
69 S="${WORKDIR}/${PN}-${P}"
70
71 LICENSE="LGPL-3"
72 SLOT="0"
73 KEYWORDS="~amd64 ~arm64 ~x86"
74 -IUSE=""
75
76 -DEPEND=""
77 RDEPEND="${DEPEND}"
78 -BDEPEND=""
79 -
80 -# no compiling
81 -src_compile() {
82 - true
83 -}
84
85 src_install() {
86 insinto /usr/share/spice-html5
87
88 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
89 index 940a6e22b..950922672 100644
90 --- a/app-emulation/spice-html5/spice-html5-0.3.0-r1.ebuild
91 +++ b/app-emulation/spice-html5/spice-html5-0.3.0-r1.ebuild
92 @@ -1,23 +1,23 @@
93 -# Copyright 2019-2022 Gentoo Authors
94 +# Copyright 2019-2023 Gentoo Authors
95 # Distributed under the terms of the GNU General Public License v2
96
97 EAPI=8
98
99 DESCRIPTION="Spice Javascript client"
100 HOMEPAGE="https://gitlab.freedesktop.org/spice/spice-html5"
101 -SRC_URI="https://gitlab.freedesktop.org/spice/${PN}/-/archive/${P}/${PN}-${P}.tar.gz"
102 +SRC_URI="https://gitlab.freedesktop.org/spice/${PN}/-/archive/${P}/${PN}-${P}.tar.bz2"
103 S="${WORKDIR}/${PN}-${P}"
104
105 LICENSE="LGPL-3 MIT"
106 SLOT="0"
107 KEYWORDS="~amd64"
108
109 -src_compile() {
110 +src_prepare() {
111 sed -e "s/VERSION/${PV}/" < package.json.in > package.json || die
112 }
113
114 src_install() {
115 dodoc README TODO apache.conf.sample
116 insinto /usr/share/spice-html5
117 - doins -r src *.html *.json *.css
118 + doins -r src ./*.html ./*.json ./*.css
119 }