summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Strogin <steils@gentoo.org>2021-07-04 12:29:02 +0300
committerStefan Strogin <steils@gentoo.org>2021-07-04 09:29:58 +0000
commit8183d70cf4dd71abbeb29df5cb113a67d5c43a5f (patch)
tree38df4fb3f4cbefb7d72f6151f049ec4a8fa07650 /games-roguelike
parentdev-util/bear: use older fmt (diff)
downloadgentoo-8183d70cf4dd71abbeb29df5cb113a67d5c43a5f.tar.gz
gentoo-8183d70cf4dd71abbeb29df5cb113a67d5c43a5f.tar.bz2
gentoo-8183d70cf4dd71abbeb29df5cb113a67d5c43a5f.zip
games-roguelike/angband: upgrade 4.2.1 -> 4.2.2
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Stefan Strogin <steils@gentoo.org>
Diffstat (limited to 'games-roguelike')
-rw-r--r--games-roguelike/angband/Manifest4
-rw-r--r--games-roguelike/angband/angband-4.2.2.ebuild (renamed from games-roguelike/angband/angband-4.2.1-r1.ebuild)8
-rw-r--r--games-roguelike/angband/files/angband-4.2.1-sdl2-sound.patch50
3 files changed, 4 insertions, 58 deletions
diff --git a/games-roguelike/angband/Manifest b/games-roguelike/angband/Manifest
index 6964bef41777..0b221405b678 100644
--- a/games-roguelike/angband/Manifest
+++ b/games-roguelike/angband/Manifest
@@ -1,2 +1,2 @@
-DIST angband-4.2.1-man.tar.gz 104660 BLAKE2B ac7a413b1ec29cb3740fb1e57c238a5f87b9bc6965c4180a62e4089eb4b2cf7fa8f4eb2017d605255eacbb2856e64449745144ce0d9848a3b5cfd123fa1e39da SHA512 2dd9e40e6bd4804162fb810d40a81932c65d01b8c8f019e73194f83b222e3ae319fe4b22ad8f59f88cb473426ad59efd4988d0bfaf289726453fa83d678e9ae8
-DIST angband-4.2.1.tar.gz 24938593 BLAKE2B ecacf4bd3681f205a3eb0a5b5ddf0fb7ff92600c26dffec3fc8addaccf7da26fd4f805e5fc11803c165c35e8adff9ae6bced08381ddde0e39bc914fac043e11c SHA512 e13681bcd74fa56fe5c606d62f1e9761c9fc5367194e0e46894a5ebf108e1553a1f96191e139f1574238b72c635436c3108c80bc656aba8e328fe4e5b301c6bc
+DIST angband-4.2.2-man.tar.gz 105892 BLAKE2B 226210bd45f463e2b6bc099f889393832b5ce9bf5f95b5de1bc38fbcef61287515435ceef83a717bd62220fe01d5acf33e3fe240c08e3cf7d04e9d59fee132f1 SHA512 f373ea55c5f2349c615c47207c1dbbcc6a77246fbb0615d00a1fcb2a2a0cdf839bb5d57c2e29a2f2698f2d6b72698fbaec6bb221994566be04046ce03ea6253a
+DIST angband-4.2.2.tar.gz 24992436 BLAKE2B 6beab7d0481167538714f540e9825e930d57457c923b77e2a9be71e8a6e382b70f375e85e68f0ebf9a65b61b835d62df0a5958a21198d9049088cdbe32c81efc SHA512 07a9b6a10a47afafde8f5db1e463c70198d386e07737666e044de291eab4b425d76bc8124153b7c371248f0c9aedc01578a90e513d744e3f30d26ab22c940698
diff --git a/games-roguelike/angband/angband-4.2.1-r1.ebuild b/games-roguelike/angband/angband-4.2.2.ebuild
index 5261fcba1660..e4bebd7a3816 100644
--- a/games-roguelike/angband/angband-4.2.1-r1.ebuild
+++ b/games-roguelike/angband/angband-4.2.2.ebuild
@@ -1,15 +1,13 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools desktop xdg-utils
-MAJOR_PV=$(ver_cut 1-2)
-
DESCRIPTION="A roguelike dungeon exploration game based on the books of J.R.R. Tolkien"
HOMEPAGE="https://rephial.org/"
-SRC_URI="https://rephial.org/downloads/${MAJOR_PV}/${P}.tar.gz
+SRC_URI="https://github.com/angband/angband/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
https://dev.gentoo.org/~steils/distfiles/${P}-man.tar.gz"
LICENSE="GPL-2"
@@ -37,8 +35,6 @@ RDEPEND="X? (
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
-PATCHES=( "${FILESDIR}/${P}-sdl2-sound.patch" )
-
src_prepare() {
default
diff --git a/games-roguelike/angband/files/angband-4.2.1-sdl2-sound.patch b/games-roguelike/angband/files/angband-4.2.1-sdl2-sound.patch
deleted file mode 100644
index accbc8355579..000000000000
--- a/games-roguelike/angband/files/angband-4.2.1-sdl2-sound.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From bbfe78654e2f67da264d81d25fe1e6332302e51a Mon Sep 17 00:00:00 2001
-From: Eric Branlund <ebranlund@fastmail.com>
-Date: Sat, 11 Jul 2020 11:07:24 -0700
-Subject: [PATCH] Adjusted so "./configure --enable-sdl2-mixer" and then
- compiling generates an executable where "angband --help" lists the SDL sound
- module as available.
-
-Upstream-Status: Accepted
-[https://github.com/angband/angband/commit/bbfe78654e2f67da264d81d25fe1e6332302e51a]
-Signed-off-by: Stefan Strogin <steils@gentoo.org>
----
- configure.ac | 2 +-
- src/sound-core.c | 4 ++--
- 2 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 968aaa914..9d0b1e600 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -337,7 +337,7 @@ if test "$enable_sdl2_mixer" = "yes"; then
- SDL2_LIBS=`sdl2-config --libs`
- LIBS="${LIBS} ${SDL2_LIBS} -lSDL2_mixer"
- fi
-- MAINFILES="${MAINFILES} \$(SNDSDL2FILES)"
-+ MAINFILES="${MAINFILES} \$(SNDSDLFILES)"
- fi
- fi
-
-diff --git a/src/sound-core.c b/src/sound-core.c
-index 261009429..8b8ef7ffd 100644
---- a/src/sound-core.c
-+++ b/src/sound-core.c
-@@ -20,7 +20,7 @@
- #include "sound.h"
- #include "main.h"
- #include "ui-prefs.h"
--#ifdef SOUND_SDL
-+#if defined(SOUND_SDL) || defined(SOUND_SDL2)
- #include "snd-sdl.h"
- #endif
-
-@@ -55,7 +55,7 @@ static struct msg_snd_data message_sounds[MSG_MAX];
- */
- static const struct sound_module sound_modules[] =
- {
--#ifdef SOUND_SDL
-+#if defined(SOUND_SDL) || defined(SOUND_SDL2)
- { "sdl", "SDL_mixer sound module", init_sound_sdl },
- #endif /* SOUND_SDL */
- #if (!defined(WIN32_CONSOLE_MODE) && defined(WINDOWS) && !defined(USE_SDL) && !defined(USE_SDL2))