summaryrefslogtreecommitdiff
path: root/games-arcade/open-supaplex
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
commit3cf7c3ef441822c889356fd1812ebf2944a59851 (patch)
treec513fe68548b40365c1c2ebfe35c58ad431cdd77 /games-arcade/open-supaplex
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'games-arcade/open-supaplex')
-rw-r--r--games-arcade/open-supaplex/Manifest4
-rw-r--r--games-arcade/open-supaplex/files/open-supaplex.svg29
-rw-r--r--games-arcade/open-supaplex/metadata.xml19
-rw-r--r--games-arcade/open-supaplex/open-supaplex-7.1.2.ebuild50
4 files changed, 102 insertions, 0 deletions
diff --git a/games-arcade/open-supaplex/Manifest b/games-arcade/open-supaplex/Manifest
new file mode 100644
index 000000000000..6c7303c50599
--- /dev/null
+++ b/games-arcade/open-supaplex/Manifest
@@ -0,0 +1,4 @@
+AUX open-supaplex.svg 1613 BLAKE2B 8f5a6061239d9e573792890d2c2dcff6ba34e113832fc033d53c99af1ab9ffa8139465dc3b37b7dae0861db33d15cffa5da01d7a4ac69e7c66bf9d8b461fc553 SHA512 3a9a1f7fc9b0dd493e995d0dd3786067e53160a7ba0f3506282475cd2eaf6a6dd392bcfe925308845f331c7cdc4f1df872dcb1be7727e89d01ac6942100e8eeb
+DIST open-supaplex-7.1.2.tar.gz 50157943 BLAKE2B 74811edf2dbf65b21fc502703ecadaa293ac5219e0c17b6876a6c6d81c46456d3d06717b56124ce5a675dbfa2c228235479ab8e5baf33fc3618576936dc9b62c SHA512 960c916d9af142511c755babeed24e4cde71bf9b61a5d77b988c45dc9fb9065ca6c65f07b72a2c413a1a7a5158da597f72e9d4d907de9585c4a6cc410e6134f6
+EBUILD open-supaplex-7.1.2.ebuild 1249 BLAKE2B c797ce6eb943a131a8f919ed3ec24a198178c1fc4d25947295b52fda1ea69a996d3759189263275a2c91446b30b421958ea1a1fd971d40d99e92958931f804a7 SHA512 754b0186a1bf6584e3535a5c1434ebc34f2019083a3e88d4c2f2f9e9ef0d2729027f3e5ab2549e2494cfb666778ae9b645951bed57156840bdeca871b29cf844
+MISC metadata.xml 575 BLAKE2B dab25c54577e9b6bf3dcc8cce583ad18fa691b72feaa39e4326b9d9d4e6aecfdfc0663f512b96bbae9de9ba988777305ad20067d3c18e1752c6c10c890571064 SHA512 adb54e7ed6b9d17fb2d5ac4442e8ab2a7fa697632fe5a25519f96c6bd527a60f70a4c2460edf8046edfcf3046f31223c463f27d582ecf8b508d6a1dbc4de79a3
diff --git a/games-arcade/open-supaplex/files/open-supaplex.svg b/games-arcade/open-supaplex/files/open-supaplex.svg
new file mode 100644
index 000000000000..7b91141b63fb
--- /dev/null
+++ b/games-arcade/open-supaplex/files/open-supaplex.svg
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="128" height="128" version="1.0" viewBox="0 0 1280 1280" xmlns="http://www.w3.org/2000/svg">
+<g transform="translate(-640,-110)">
+<g>
+<path d="m1040 1350v-40h-160v-80h-80v-80h-80v-80h-80v-640h80v-80h80v-80h80v-80h80v-80h640v80h160v80h80v160h80v640h-80v80h-80v80h-80v80h-160v80h-480z"/>
+</g>
+<g fill="#303030">
+<path d="m1040 1350v-40h-160v-80h-80v-80h-80v-80h-80v-640h80v-80h80v-80h80v-80h80v-80h640v80h160v80h80v160h80v640h-80v80h-80v80h-80v80h-160v80h-480zm0-800v-40h-80v80h80zm640 0v-40h-80v80h80z"/>
+</g>
+<g fill="#b00000">
+<path d="m1040 1350v-40h-160v-80h-80v-80h-80v-80h-80v-640h80v-80h80v-80h80v-80h80v-80h640v80h160v80h80v160h80v640h-80v80h-80v80h-80v80h-160v80h-480zm480-320v-40h-400v80h400zm-480-80v-40h-80v80h80zm640 0v-40h-80v80h80zm-800-160v-40h-80v80h80zm960 0v-40h-80v80h80zm-800-240v-40h-80v80h80zm640 0v-40h-80v80h80z"/>
+</g>
+<g fill="#e01010">
+<path d="m1040 1190v-40h-160v-80h-80v-80h-80v-160h-80v-320h80v-160h80v-80h80v-80h160v-80h480v80h160v80h80v80h80v160h80v400h-80v80h-80v80h-80v80h-160v80h-480zm480-80v-40h80v-80h160v-80h80v-160h-80v80h-80v80h-160v80h-400v-80h-160v-80h-80v-80h-80v160h80v80h160v80h80v80h400zm-480-560v-40h-80v80h80zm640 0v-40h-80v80h80z"/>
+</g>
+<g fill="#767676">
+<path d="m880 550v-40h80v-80h80v80h-80v80h-80z"/>
+<path d="m1680 550v-40h-80v-80h80v80h80v80h-80z"/>
+</g>
+<g fill="#f09040">
+<path d="m720 390v-40h80v-80h80v-80h80v80h-80v80h-80v80h-80z"/>
+<path d="m1680 310v-40h-160v-80h160v80h80v80h-80z"/>
+</g>
+<g fill="#f0f0f0">
+<path d="m960 470v-40h80v80h-80z"/>
+<path d="m1600 470v-40h80v80h-80z"/>
+</g>
+</g>
+</svg>
diff --git a/games-arcade/open-supaplex/metadata.xml b/games-arcade/open-supaplex/metadata.xml
new file mode 100644
index 000000000000..f41123363bc8
--- /dev/null
+++ b/games-arcade/open-supaplex/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>alexey+gentoo@asokolov.org</email>
+ <name>Alexey Sokolov</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">sergiou87/open-supaplex</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-arcade/open-supaplex/open-supaplex-7.1.2.ebuild b/games-arcade/open-supaplex/open-supaplex-7.1.2.ebuild
new file mode 100644
index 000000000000..73f47b1b3109
--- /dev/null
+++ b/games-arcade/open-supaplex/open-supaplex-7.1.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop flag-o-matic toolchain-funcs
+
+DESCRIPTION="OSS reimplementation of Supaplex in C and SDL"
+HOMEPAGE="https://github.com/sergiou87/open-supaplex"
+SRC_URI="https://github.com/sergiou87/open-supaplex/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ media-libs/libsdl2[joystick,sound,video]
+ media-libs/sdl2-mixer[vorbis]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ test? ( dev-lang/ruby )
+"
+
+src_prepare() {
+ default
+ rm -r resources/audio-{l,m}q || die
+}
+
+src_compile() {
+ append-cflags -DFILE_FHS_XDG_DIRS -DFILE_DATA_PATH="${EPREFIX}/usr/share/OpenSupaplex"
+ emake -C linux CC="$(tc-getCC)"
+}
+
+src_test() {
+ emake -C tests CC="$(tc-getCC)"
+ # Avoid installing savegames, configs, etc, if any were written during the test
+ cp -R resources "${T}/test" || die
+ cd tests || die
+ OPENSUPAPLEX_PATH="${T}/test" ./run-tests.rb ./opensupaplex || die
+}
+
+src_install() {
+ dobin linux/opensupaplex
+ insinto /usr/share/OpenSupaplex
+ doins -r resources/*
+ doicon "${FILESDIR}/open-supaplex.svg"
+ make_desktop_entry opensupaplex OpenSupaplex open-supaplex
+}