summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2021-07-12 13:39:44 -0400
committerIonen Wolkens <ionen@gentoo.org>2021-07-13 12:07:43 -0400
commit8a56069e0873a3c7cea4f80beec3f448973962ac (patch)
treef3fbf0e26ba075a3ffeedfe75c7f0f45f80120d8 /games-puzzle/cuyo/cuyo-2.1.1-r2.ebuild
parentnet-misc/connman-notify: bump to EAPI=8 (diff)
downloadgentoo-8a56069e0873a3c7cea4f80beec3f448973962ac.tar.gz
gentoo-8a56069e0873a3c7cea4f80beec3f448973962ac.tar.bz2
gentoo-8a56069e0873a3c7cea4f80beec3f448973962ac.zip
games-puzzle/cuyo: EAPI 6->7, drop IUSE and obsolete patches
The -gentoo patch was primarily a workaround to support games.eclass but wasn't removed. It also broke prefix. IUSE=music would be a optfeature on sdl-mixer's [mod] but, given music is typically expected to function on a game and it prints error messages, prefer to require. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-puzzle/cuyo/cuyo-2.1.1-r2.ebuild')
-rw-r--r--games-puzzle/cuyo/cuyo-2.1.1-r2.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/games-puzzle/cuyo/cuyo-2.1.1-r2.ebuild b/games-puzzle/cuyo/cuyo-2.1.1-r2.ebuild
new file mode 100644
index 000000000000..1b3790d034ef
--- /dev/null
+++ b/games-puzzle/cuyo/cuyo-2.1.1-r2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit xdg
+
+# This version (2.~-1.1) should've been 2_pre11 or so, i.e. >=2.0.0 is newer.
+# Optimally need upstream to release >=2.1.2, or will need own custom version.
+MY_P="${PN}-$(ver_cut 1).~-$(ver_cut 2-3)"
+
+DESCRIPTION="Highly addictive and remotely related to tetris"
+HOMEPAGE="https://www.karimmi.de/cuyo/"
+SRC_URI="https://savannah.nongnu.org/download/cuyo/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ media-libs/libsdl[sound,video]
+ media-libs/sdl-image
+ media-libs/sdl-mixer[mod]
+ sys-libs/zlib:="
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-gcc6.patch
+)