summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/cdogs-sdl/Manifest3
-rw-r--r--games-arcade/cdogs-sdl/cdogs-sdl-1.2.0.ebuild46
-rw-r--r--games-arcade/cdogs-sdl/cdogs-sdl-1.3.1.ebuild (renamed from games-arcade/cdogs-sdl/cdogs-sdl-1.3.0.ebuild)0
-rw-r--r--games-arcade/frozen-bubble/frozen-bubble-2.2.1_beta1-r2.ebuild (renamed from games-arcade/frozen-bubble/frozen-bubble-2.2.1_beta1-r1.ebuild)47
-rw-r--r--games-arcade/oshu/Manifest1
-rw-r--r--games-arcade/oshu/files/oshu-2.0.2-ffmpeg4-compat.patch16
-rw-r--r--games-arcade/oshu/oshu-2.0.2.ebuild65
-rw-r--r--games-arcade/oshu/oshu-9999.ebuild18
-rw-r--r--games-arcade/savagewheels/metadata.xml2
-rw-r--r--games-arcade/savagewheels/savagewheels-1.6.1-r2.ebuild8
10 files changed, 117 insertions, 89 deletions
diff --git a/games-arcade/cdogs-sdl/Manifest b/games-arcade/cdogs-sdl/Manifest
index b951604ba21..3d6382988ca 100644
--- a/games-arcade/cdogs-sdl/Manifest
+++ b/games-arcade/cdogs-sdl/Manifest
@@ -1,2 +1 @@
-DIST cdogs-sdl-1.2.0.tar.gz 35018104 BLAKE2B 1a87f0c6e4af0fda69c0dd98249b319b58411a5b0b7377c21ebef51939f2b6e76959a00bf7fd5602b07bebb9eaab22c840699ae1c54e5d4dcb1aa26852fb8ba0 SHA512 70a5a4bb8e48cf53a4497807b14d8a70e26ad6b74f0c4675b3d98667c867d499d372f323e7abb669ebef08b1d6b5ac9c840ab14eada38e7b868d3099ed6b3e35
-DIST cdogs-sdl-1.3.0.tar.gz 35201522 BLAKE2B bdfeab22edc0e5bfe46d23862bb0e8a829eb8c782519f473340a73d6823fcf6236d61892dff5f6be52e985a8560ce2175b5aab50fb899359d47d3acdf937fe5d SHA512 913ee8a70ab2190259a88891e4f3e30034b7a88dac5fa1a79fcc9452a42fe9fa6679e24104848fab63c7aace8dac311d2166fa01c7175f14243d8658f25aee69
+DIST cdogs-sdl-1.3.1.tar.gz 35202950 BLAKE2B 0f1da8a8475fec784042dc31d329361cc11266816a03e64a156362064e19a057908abf6d97cc5c7903307dae039713eeab27b87bba0764cf770cf49eaae806a1 SHA512 504736eddb6aa314072059ca76b65dcbc56c622dc217f78ca12a55a0fdf5e05b5c4cf49408d6af52d00d9cf8b7d3c2e246d7f44c98486520f31e94879e855e3e
diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-1.2.0.ebuild b/games-arcade/cdogs-sdl/cdogs-sdl-1.2.0.ebuild
deleted file mode 100644
index 9f3981f80c0..00000000000
--- a/games-arcade/cdogs-sdl/cdogs-sdl-1.2.0.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake xdg
-
-DESCRIPTION="Classic overhead run-and-gun game"
-HOMEPAGE="https://cxong.github.io/cdogs-sdl/"
-SRC_URI="https://github.com/cxong/cdogs-sdl/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2+ BSD-2 CC0-1.0 CC-BY-3.0 CC-BY-SA-3.0 XMAME"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
- media-libs/libsdl2[haptic,opengl]
- media-libs/sdl2-image[png]
- media-libs/sdl2-mixer[vorbis,wav]
- net-libs/enet:1.3="
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.1.1-cmake.patch
-)
-
-CMAKE_IN_SOURCE_BUILD=1 # msg.pb.c not found
-
-src_configure() {
- local mycmakeargs=(
- -DCDOGS_DATA_DIR="${EPREFIX}"/usr/share/${PN}/
- -DBUILD_EDITOR=OFF
- -DUSE_SHARED_ENET=ON
- )
-
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- dodoc doc/{AUTHORS,original_readme.txt}
-
- # CREDITS is used at runtime, rest is licenses or duplicates
- find "${ED}"/usr/share/${PN}/doc -type f ! -name CREDITS -delete || die
-}
diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-1.3.0.ebuild b/games-arcade/cdogs-sdl/cdogs-sdl-1.3.1.ebuild
index 70ed391a2e2..70ed391a2e2 100644
--- a/games-arcade/cdogs-sdl/cdogs-sdl-1.3.0.ebuild
+++ b/games-arcade/cdogs-sdl/cdogs-sdl-1.3.1.ebuild
diff --git a/games-arcade/frozen-bubble/frozen-bubble-2.2.1_beta1-r1.ebuild b/games-arcade/frozen-bubble/frozen-bubble-2.2.1_beta1-r2.ebuild
index dfa261124fc..3a75e5deb78 100644
--- a/games-arcade/frozen-bubble/frozen-bubble-2.2.1_beta1-r1.ebuild
+++ b/games-arcade/frozen-bubble/frozen-bubble-2.2.1_beta1-r2.ebuild
@@ -1,22 +1,23 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-MY_P="${P/_/-}"
+EAPI=8
+
+inherit desktop perl-module toolchain-funcs xdg
-inherit desktop gnome2-utils perl-module toolchain-funcs
+MY_P="${P/_/-}"
DESCRIPTION="A Puzzle Bubble clone written in perl (now with network support)"
HOMEPAGE="http://www.frozen-bubble.org/"
SRC_URI="http://www.frozen-bubble.org/data/${MY_P}.tar.bz2"
+S="${WORKDIR}/${MY_P}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
RDEPEND="
- >=dev-lang/perl-5.12
+ dev-lang/perl
dev-libs/glib:2
>=dev-perl/Alien-SDL-1.413
dev-perl/Compress-Bzip2
@@ -31,23 +32,19 @@ RDEPEND="
media-libs/sdl-ttf
virtual/libiconv
virtual/perl-Getopt-Long
- virtual/perl-IO
-"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
+ virtual/perl-IO"
+DEPEND="${RDEPEND}"
+BDEPEND="
dev-perl/Locale-Maketext-Lexicon
+ dev-perl/Module-Build
virtual/perl-ExtUtils-CBuilder
virtual/perl-ExtUtils-ParseXS
- dev-perl/Module-Build
-"
+ virtual/pkgconfig"
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- perl-module_src_prepare
- eapply "${FILESDIR}"/${P}-Werror.patch
- eapply "${FILESDIR}"/${P}-fix-buffer-size.patch
-}
+PATCHES=(
+ "${FILESDIR}"/${P}-Werror.patch
+ "${FILESDIR}"/${P}-fix-buffer-size.patch
+)
src_configure() {
LD="$(tc-getCC)" perl-module_src_configure
@@ -64,20 +61,8 @@ src_install() {
local res
for res in 16 32 48 64; do
- newicon -s ${res} share/icons/frozen-bubble-icon-${res}x${res}.png ${PN}.png
+ newicon -s ${res} share/icons/frozen-bubble-icon-${res}x${res}.png ${PN}.png
done
make_desktop_entry ${PN} Frozen-Bubble
}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}
diff --git a/games-arcade/oshu/Manifest b/games-arcade/oshu/Manifest
index ebf8762f324..218a6c1c7a7 100644
--- a/games-arcade/oshu/Manifest
+++ b/games-arcade/oshu/Manifest
@@ -1,2 +1,3 @@
DIST oshu-2.0.1.tar.gz 144900 BLAKE2B 47f1d0a11255459ae357142499aeffcf07fbcad961cb34ba98e9efa7cb4229cf8d61ec836a4c899f2ea0883f1252395bc0c6ff34c5d670d67091cf6483d135ff SHA512 65768b3d8e7733464f05a19bbee594c0be728267bbd0667bc0f34e0d01a39e52d4ecce89a9223f7c454d73b21bc735401e9d83eea8b0a2eaf1c7825a3bd6b1cf
+DIST oshu-2.0.2.tar.gz 146109 BLAKE2B 98dd49f972f1f1f820f654a2d358ceffdd2c54cd2daa0594914e6a1e29f1d1e757fe46d021afc75a33f4ef94bbb370213f20229843c173d7c55d876fe3db7e12 SHA512 e881e9429cebaf74337e55e7fa5445d992627d7616088f15abfafa2c125e1ff057a5b0f39ee4a1d1728c310728a8590e65286b9a0f81dca1f8963b2943fba596
DIST oshu-skin-v1.tar.gz 2224947 BLAKE2B 0b463133dd7ab54421551627d12932f5257848b1130d57af8c2ff6b6836a49c9322b8f2f7e95de540909390d0139e547650a6bb321614cf92fac464b09075674 SHA512 d562294ac5e122a9d9971e3ab92f6168d848177cc5e22a94bbc450fde2b3b14007796a24d33722da9b6675467b109ce128ba94dca5dcc7c61c91c1e373032618
diff --git a/games-arcade/oshu/files/oshu-2.0.2-ffmpeg4-compat.patch b/games-arcade/oshu/files/oshu-2.0.2-ffmpeg4-compat.patch
new file mode 100644
index 00000000000..c16e61ce128
--- /dev/null
+++ b/games-arcade/oshu/files/oshu-2.0.2-ffmpeg4-compat.patch
@@ -0,0 +1,16 @@
+diff --git a/./lib/audio/stream.cc.old b/./lib/audio/stream.cc
+index 808851f..09eb4fb 100644
+--- a/./lib/audio/stream.cc.old
++++ b/./lib/audio/stream.cc
+@@ -193,7 +193,11 @@ static int open_demuxer(const char *url, oshu::stream *stream)
+ stream->demuxer,
+ AVMEDIA_TYPE_AUDIO,
+ -1, -1,
++#if LIBAVCODEC_VERSION_MAJOR < 59
++ &stream->codec,
++#else
+ (const AVCodec**)&stream->codec,
++#endif
+ 0
+ );
+ if (rc < 0 || stream->codec == NULL) {
diff --git a/games-arcade/oshu/oshu-2.0.2.ebuild b/games-arcade/oshu/oshu-2.0.2.ebuild
new file mode 100644
index 00000000000..c1d02ab63c7
--- /dev/null
+++ b/games-arcade/oshu/oshu-2.0.2.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake xdg
+
+DESCRIPTION="Lightweight osu! port"
+HOMEPAGE="https://github.com/fmang/oshu"
+
+if [[ ${PV} = *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/fmang/oshu.git"
+ SRC_URI="osu-skin? ( https://www.mg0.fr/oshu/skins/osu-v1.tar.gz -> ${PN}-skin-v1.tar.gz )"
+else
+ SRC_URI="https://github.com/fmang/oshu/archive/${PV}.tar.gz -> oshu-${PV}.tar.gz
+ osu-skin? ( https://www.mg0.fr/oshu/skins/osu-v1.tar.gz -> ${PN}-skin-v1.tar.gz )"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3 CC-BY-NC-4.0"
+SLOT="0"
+IUSE="osu-skin"
+
+RDEPEND="
+ media-libs/libsdl2
+ media-libs/sdl2-image
+ x11-libs/cairo
+ x11-libs/pango
+ media-video/ffmpeg:=
+"
+
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}/oshu-2.0.2-ffmpeg4-compat.patch" )
+
+src_unpack() {
+ default
+
+ if [[ ${PV} = *9999 ]]; then
+ git-r3_src_unpack
+ fi
+}
+
+src_prepare() {
+ if use osu-skin; then
+ eapply "${FILESDIR}/oshu-2.0.0-use_unpacked_osu-skin.patch"
+ mv "${WORKDIR}/osu" share/skins/ || die "Failed to move osu-skin"
+ fi
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DOSHU_DEFAULT_SKIN=$(usex osu-skin osu minimal)
+ -DOSHU_SKINS=minimal$(usev osu-skin ';osu')
+ )
+
+ cmake_src_configure
+}
+
+src_test() {
+ cmake_build check
+}
diff --git a/games-arcade/oshu/oshu-9999.ebuild b/games-arcade/oshu/oshu-9999.ebuild
index 5ebae7bfdcd..cf543ede25b 100644
--- a/games-arcade/oshu/oshu-9999.ebuild
+++ b/games-arcade/oshu/oshu-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit cmake xdg
@@ -27,11 +27,19 @@ RDEPEND="
media-libs/sdl2-image
x11-libs/cairo
x11-libs/pango
- media-video/ffmpeg:=
+ >media-video/ffmpeg-5:=
"
DEPEND="${RDEPEND}"
+src_unpack() {
+ default
+
+ if [[ ${PV} = *9999 ]]; then
+ git-r3_src_unpack
+ fi
+}
+
src_prepare() {
if use osu-skin; then
eapply "${FILESDIR}/oshu-2.0.0-use_unpacked_osu-skin.patch"
@@ -43,8 +51,8 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
- '-DOSHU_DEFAULT_SKIN='$(usex osu-skin 'osu' 'minimal')
- '-DOSHU_SKINS=minimal'$(usex osu-skin ';osu' '')
+ -DOSHU_DEFAULT_SKIN=$(usex osu-skin osu minimal)
+ -DOSHU_SKINS=minimal$(usev osu-skin ';osu')
)
cmake_src_configure
diff --git a/games-arcade/savagewheels/metadata.xml b/games-arcade/savagewheels/metadata.xml
index e0c3da06887..6cffb58dced 100644
--- a/games-arcade/savagewheels/metadata.xml
+++ b/games-arcade/savagewheels/metadata.xml
@@ -3,6 +3,6 @@
<pkgmetadata>
<!-- maintainer-needed -->
<upstream>
- <remote-id type="github">petarov/savagewheels</remote-id>
+ <remote-id type="github">kenamick/savagewheels</remote-id>
</upstream>
</pkgmetadata>
diff --git a/games-arcade/savagewheels/savagewheels-1.6.1-r2.ebuild b/games-arcade/savagewheels/savagewheels-1.6.1-r2.ebuild
index d87adf05402..b52e1e1467e 100644
--- a/games-arcade/savagewheels/savagewheels-1.6.1-r2.ebuild
+++ b/games-arcade/savagewheels/savagewheels-1.6.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -6,13 +6,13 @@ EAPI=7
inherit cmake
DESCRIPTION="2D car crashing game similar to the old classic Destruction Derby"
-HOMEPAGE="https://github.com/petarov/savagewheels"
+HOMEPAGE="https://github.com/kenamick/savagewheels"
GAMEDATA="${PN}-gamedata-1.4.0"
SRC_URI="
- https://github.com/petarov/savagewheels/archive/${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/petarov/savagewheels/releases/download/v1.4/${PN}-gamedata.tar.gz -> ${GAMEDATA}.tar.gz
+ https://github.com/kenamick/savagewheels/archive/${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/kenamick/savagewheels/releases/download/v1.4/${PN}-gamedata.tar.gz -> ${GAMEDATA}.tar.gz
"
LICENSE="MIT"