summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-misc/opensfx/Manifest1
-rw-r--r--games-misc/opensfx/metadata.xml3
-rw-r--r--games-misc/opensfx/opensfx-1.0.1.ebuild21
3 files changed, 25 insertions, 0 deletions
diff --git a/games-misc/opensfx/Manifest b/games-misc/opensfx/Manifest
index eca4ab39f72c..fd84b33b6301 100644
--- a/games-misc/opensfx/Manifest
+++ b/games-misc/opensfx/Manifest
@@ -1 +1,2 @@
DIST opensfx-0.2.3-source.tar.gz 11364270 BLAKE2B 34c0bca941c0c20d96ed6d0f27633195ab03ac41973ea020c53b79836ca2dc65223b9f8239673077754f1dcccd138c5c0cb629212b4ea676475bb1ac8800ad47 SHA512 7575c8febcbcabe8f9042a1a197ba76b9020e335663bf70b0aaebafe4b0758f82ff7acc624b1dfdc12d38e346f139454b78ea29e18a8bb8bd2afd3d6a209669c
+DIST opensfx-1.0.1-source.tar.xz 9872728 BLAKE2B 34880f4713b37d8f720e5b68e5c3f821c52a4dd44f6171fe31df3e3b63e5e333ce415074c1ee204555261cded4d0180618e6d478e95f842a361f43572f379e87 SHA512 1c908b932db7a47b607882e51d34bff090b712182a2b2955e6c82b6b7e657a7cb7bda93d1dac19b057c38d671d185687a0b1a26ddb93b5670329b3806aaef654
diff --git a/games-misc/opensfx/metadata.xml b/games-misc/opensfx/metadata.xml
index 78274e0fa550..68bbaed2cb6e 100644
--- a/games-misc/opensfx/metadata.xml
+++ b/games-misc/opensfx/metadata.xml
@@ -5,4 +5,7 @@
<email>games@gentoo.org</email>
<name>Gentoo Games Project</name>
</maintainer>
+<upstream>
+ <remote-id type="github">OpenTTD/OpenSFX</remote-id>
+</upstream>
</pkgmetadata>
diff --git a/games-misc/opensfx/opensfx-1.0.1.ebuild b/games-misc/opensfx/opensfx-1.0.1.ebuild
new file mode 100644
index 000000000000..c2cc3545b416
--- /dev/null
+++ b/games-misc/opensfx/opensfx-1.0.1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="OpenSFX data files for OpenTTD"
+HOMEPAGE="https://wiki.openttd.org/en/Basesets/OpenSFX https://github.com/OpenTTD/OpenSFX"
+SRC_URI="https://cdn.openttd.org/opensfx-releases/${PV}/${P}-source.tar.xz"
+
+LICENSE="CC-BY-SA-3.0 CDDL-1.1 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+
+DEPEND="games-util/catcodec"
+
+S=${WORKDIR}/${P}-source
+
+src_install() {
+ emake INSTALL_DIR="${ED}/usr/share/openttd/baseset/" install
+ dodoc docs/{changelog.txt,readme.ptxt}
+}