Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-misc/openmsx/
Date: Mon, 28 Jun 2021 22:13:39
Message-Id: 1624918374.4f7de43c113c865ceeb297964950bddfa2e3b34e.chewi@gentoo
1 commit: 4f7de43c113c865ceeb297964950bddfa2e3b34e
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Thu May 20 21:31:18 2021 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 28 22:12:54 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f7de43c
7
8 games-misc/openmsx: update to 0.4.0
9
10 Change installation path location from `/usr/share/games/openttd/data/`
11 to `/usr/share/openttd/baseset/`.
12
13 Package-Manager: Portage-3.0.18, Repoman-3.0.2
14 Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
15 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
16
17 games-misc/openmsx/Manifest | 1 +
18 games-misc/openmsx/metadata.xml | 3 +++
19 games-misc/openmsx/openmsx-0.3.1-r5.ebuild | 2 +-
20 .../{openmsx-0.3.1-r5.ebuild => openmsx-0.4.0.ebuild} | 14 ++++----------
21 4 files changed, 9 insertions(+), 11 deletions(-)
22
23 diff --git a/games-misc/openmsx/Manifest b/games-misc/openmsx/Manifest
24 index fc01f615ede..249ae178c07 100644
25 --- a/games-misc/openmsx/Manifest
26 +++ b/games-misc/openmsx/Manifest
27 @@ -1 +1,2 @@
28 DIST openmsx-0.3.1-source.tar.gz 152798 BLAKE2B 8c6d757b708bf5af9312318d13bf99b7326ed3cf82d158c4e639e04eab5c722d76976820a6a8913cef93246225578fcbd598afde11f09cdadc47d626d977d947 SHA512 e455f99f32d1daa77157def4f109dd1456169ae2b527290035b6a52f591c13fb7464fd221e00eb46bf03f51e8d0101de08a9e47cebe2430ad05a840ab235973e
29 +DIST openmsx-0.4.0-source.tar.xz 114608 BLAKE2B e693b206cf350ee46b1fc5b7bf4d2a666ae7bee0fea1e2df3a29cfcfd3dbddd58d7d20d8184d6d367d377869ee5e2f970a8721cc1a1ec39babf1352a600bc759 SHA512 9a34a2f7fd9529d8b2d03f47c307a6818ecd753e8f8205c18c966d7425bf8d4a4409cd365b9d1a04d4b00d994da9e73d4270e29af3a388f48f07d3d83486e225
30
31 diff --git a/games-misc/openmsx/metadata.xml b/games-misc/openmsx/metadata.xml
32 index 78274e0fa55..5fa1469d678 100644
33 --- a/games-misc/openmsx/metadata.xml
34 +++ b/games-misc/openmsx/metadata.xml
35 @@ -5,4 +5,7 @@
36 <email>games@g.o</email>
37 <name>Gentoo Games Project</name>
38 </maintainer>
39 +<upstream>
40 + <remote-id type="github">OpenTTD/OpenMSX</remote-id>
41 +</upstream>
42 </pkgmetadata>
43
44 diff --git a/games-misc/openmsx/openmsx-0.3.1-r5.ebuild b/games-misc/openmsx/openmsx-0.3.1-r5.ebuild
45 index 8e63fcc6ab4..f6dfaa4d358 100644
46 --- a/games-misc/openmsx/openmsx-0.3.1-r5.ebuild
47 +++ b/games-misc/openmsx/openmsx-0.3.1-r5.ebuild
48 @@ -29,7 +29,7 @@ src_compile() {
49 }
50
51 src_install() {
52 - insinto "/usr/share/games/openttd/gm/${P}"
53 + insinto "/usr/share/games/openttd/baseset/${P}"
54 doins ${P}/{*.mid,openmsx.obm}
55 dodoc ${P}/{changelog.txt,readme.txt}
56 }
57
58 diff --git a/games-misc/openmsx/openmsx-0.3.1-r5.ebuild b/games-misc/openmsx/openmsx-0.4.0.ebuild
59 similarity index 65%
60 copy from games-misc/openmsx/openmsx-0.3.1-r5.ebuild
61 copy to games-misc/openmsx/openmsx-0.4.0.ebuild
62 index 8e63fcc6ab4..64aca69dd87 100644
63 --- a/games-misc/openmsx/openmsx-0.3.1-r5.ebuild
64 +++ b/games-misc/openmsx/openmsx-0.4.0.ebuild
65 @@ -8,8 +8,8 @@ PYTHON_COMPAT=( python3_{7..9} )
66 inherit python-any-r1
67
68 DESCRIPTION="Open source music base set for OpenTTD"
69 -HOMEPAGE="https://wiki.openttd.org/OpenMSX https://github.com/OpenTTD/OpenMSX"
70 -SRC_URI="https://cdn.openttd.org/openmsx-releases/${PV}/${P}-source.tar.gz"
71 +HOMEPAGE="https://wiki.openttd.org/en/Basesets/OpenMSX https://github.com/OpenTTD/OpenMSX"
72 +SRC_URI="https://cdn.openttd.org/openmsx-releases/${PV}/${P}-source.tar.xz"
73 S="${WORKDIR}/${P}-source"
74
75 LICENSE="GPL-2"
76 @@ -18,18 +18,12 @@ KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
77
78 BDEPEND="${PYTHON_DEPS}"
79
80 -PATCHES=( "${FILESDIR}"/${P}-python3.patch )
81 -
82 pkg_setup() {
83 python-any-r1_pkg_setup
84 }
85
86 -src_compile() {
87 - emake _V= bundle
88 -}
89 -
90 src_install() {
91 - insinto "/usr/share/games/openttd/gm/${P}"
92 + insinto "/usr/share/openttd/baseset/${P}"
93 doins ${P}/{*.mid,openmsx.obm}
94 - dodoc ${P}/{changelog.txt,readme.txt}
95 + dodoc ${P}/{changelog,readme}.txt
96 }