summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>2021-05-21 00:31:18 +0300
committerJames Le Cuirot <chewi@gentoo.org>2021-06-28 23:12:54 +0100
commit4f7de43c113c865ceeb297964950bddfa2e3b34e (patch)
tree6bf77b0663acc5c6b0c526bb493b3a3b403a2282 /games-misc
parentgames-misc/opengfx: remove old version (diff)
downloadgentoo-4f7de43c113c865ceeb297964950bddfa2e3b34e.tar.gz
gentoo-4f7de43c113c865ceeb297964950bddfa2e3b34e.tar.bz2
gentoo-4f7de43c113c865ceeb297964950bddfa2e3b34e.zip
games-misc/openmsx: update to 0.4.0
Change installation path location from `/usr/share/games/openttd/data/` to `/usr/share/openttd/baseset/`. Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com> Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-misc')
-rw-r--r--games-misc/openmsx/Manifest1
-rw-r--r--games-misc/openmsx/metadata.xml3
-rw-r--r--games-misc/openmsx/openmsx-0.3.1-r5.ebuild2
-rw-r--r--games-misc/openmsx/openmsx-0.4.0.ebuild29
4 files changed, 34 insertions, 1 deletions
diff --git a/games-misc/openmsx/Manifest b/games-misc/openmsx/Manifest
index fc01f615ede5..249ae178c071 100644
--- a/games-misc/openmsx/Manifest
+++ b/games-misc/openmsx/Manifest
@@ -1 +1,2 @@
DIST openmsx-0.3.1-source.tar.gz 152798 BLAKE2B 8c6d757b708bf5af9312318d13bf99b7326ed3cf82d158c4e639e04eab5c722d76976820a6a8913cef93246225578fcbd598afde11f09cdadc47d626d977d947 SHA512 e455f99f32d1daa77157def4f109dd1456169ae2b527290035b6a52f591c13fb7464fd221e00eb46bf03f51e8d0101de08a9e47cebe2430ad05a840ab235973e
+DIST openmsx-0.4.0-source.tar.xz 114608 BLAKE2B e693b206cf350ee46b1fc5b7bf4d2a666ae7bee0fea1e2df3a29cfcfd3dbddd58d7d20d8184d6d367d377869ee5e2f970a8721cc1a1ec39babf1352a600bc759 SHA512 9a34a2f7fd9529d8b2d03f47c307a6818ecd753e8f8205c18c966d7425bf8d4a4409cd365b9d1a04d4b00d994da9e73d4270e29af3a388f48f07d3d83486e225
diff --git a/games-misc/openmsx/metadata.xml b/games-misc/openmsx/metadata.xml
index 78274e0fa550..5fa1469d6783 100644
--- a/games-misc/openmsx/metadata.xml
+++ b/games-misc/openmsx/metadata.xml
@@ -5,4 +5,7 @@
<email>games@gentoo.org</email>
<name>Gentoo Games Project</name>
</maintainer>
+<upstream>
+ <remote-id type="github">OpenTTD/OpenMSX</remote-id>
+</upstream>
</pkgmetadata>
diff --git a/games-misc/openmsx/openmsx-0.3.1-r5.ebuild b/games-misc/openmsx/openmsx-0.3.1-r5.ebuild
index 8e63fcc6ab4c..f6dfaa4d3587 100644
--- a/games-misc/openmsx/openmsx-0.3.1-r5.ebuild
+++ b/games-misc/openmsx/openmsx-0.3.1-r5.ebuild
@@ -29,7 +29,7 @@ src_compile() {
}
src_install() {
- insinto "/usr/share/games/openttd/gm/${P}"
+ insinto "/usr/share/games/openttd/baseset/${P}"
doins ${P}/{*.mid,openmsx.obm}
dodoc ${P}/{changelog.txt,readme.txt}
}
diff --git a/games-misc/openmsx/openmsx-0.4.0.ebuild b/games-misc/openmsx/openmsx-0.4.0.ebuild
new file mode 100644
index 000000000000..64aca69dd87e
--- /dev/null
+++ b/games-misc/openmsx/openmsx-0.4.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit python-any-r1
+
+DESCRIPTION="Open source music base set for OpenTTD"
+HOMEPAGE="https://wiki.openttd.org/en/Basesets/OpenMSX https://github.com/OpenTTD/OpenMSX"
+SRC_URI="https://cdn.openttd.org/openmsx-releases/${PV}/${P}-source.tar.xz"
+S="${WORKDIR}/${P}-source"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+
+BDEPEND="${PYTHON_DEPS}"
+
+pkg_setup() {
+ python-any-r1_pkg_setup
+}
+
+src_install() {
+ insinto "/usr/share/openttd/baseset/${P}"
+ doins ${P}/{*.mid,openmsx.obm}
+ dodoc ${P}/{changelog,readme}.txt
+}