diff --git a/games-arcade/open-supaplex/Manifest b/games-arcade/open-supaplex/Manifest
new file mode 100644
index 0000000000000..88b3659652843
--- /dev/null
+++ b/games-arcade/open-supaplex/Manifest
@@ -0,0 +1 @@
+DIST open-supaplex-7.1.2.tar.gz 50157943 BLAKE2B 74811edf2dbf65b21fc502703ecadaa293ac5219e0c17b6876a6c6d81c46456d3d06717b56124ce5a675dbfa2c228235479ab8e5baf33fc3618576936dc9b62c SHA512 960c916d9af142511c755babeed24e4cde71bf9b61a5d77b988c45dc9fb9065ca6c65f07b72a2c413a1a7a5158da597f72e9d4d907de9585c4a6cc410e6134f6
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 0000000000000..7b91141b63fbe
--- /dev/null
+++ b/games-arcade/open-supaplex/files/open-supaplex.svg
@@ -0,0 +1,29 @@
+
+
diff --git a/games-arcade/open-supaplex/metadata.xml b/games-arcade/open-supaplex/metadata.xml
new file mode 100644
index 0000000000000..f41123363bc8d
--- /dev/null
+++ b/games-arcade/open-supaplex/metadata.xml
@@ -0,0 +1,19 @@
+
+
+
+
+ alexey+gentoo@asokolov.org
+ Alexey Sokolov
+
+
+ proxy-maint@gentoo.org
+ Proxy Maintainers
+
+
+ games@gentoo.org
+ Gentoo Games Project
+
+
+ sergiou87/open-supaplex
+
+
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 0000000000000..73f47b1b31097
--- /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
+}