Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-engines/qtads/, games-engines/qtads/files/
Date: Tue, 28 Dec 2021 17:10:32
Message-Id: 1640710806.bf5b1cf7cb7c4e3c62b4fcff1ad4818750e010fe.ionen@gentoo
1 commit: bf5b1cf7cb7c4e3c62b4fcff1ad4818750e010fe
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 28 14:54:06 2021 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 28 17:00:06 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf5b1cf7
7
8 games-engines/qtads: drop 3.0.0
9
10 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
11
12 games-engines/qtads/Manifest | 1 -
13 .../qtads/files/qtads-3.0-fluidsynth.patch | 55 ----------------------
14 games-engines/qtads/qtads-3.0.0.ebuild | 47 ------------------
15 3 files changed, 103 deletions(-)
16
17 diff --git a/games-engines/qtads/Manifest b/games-engines/qtads/Manifest
18 index 67994fa5b067..bd461933ea27 100644
19 --- a/games-engines/qtads/Manifest
20 +++ b/games-engines/qtads/Manifest
21 @@ -1,2 +1 @@
22 -DIST qtads-3.0.0-source.tar.xz 5325048 BLAKE2B cb60908e71edb32157638891a58bed83aba01d484821473716c17845094be9232f9e989bad474db27c1e06734b073ee301756b0528ca880e4c40c0994e95bc48 SHA512 e7b72350876475e0b5b9b8c8c953aa380f5f25dade25785d15c5004a6866bb614c3ca2a3b34f84989013e350f9e73d339ce8ddd7d36766d80a981cfbfda7d1c6
23 DIST qtads-3.2.0-source.tar.xz 5415396 BLAKE2B 100812db9dd0d0630a5392036e29a366afd61778be2c887e19a1dfafd8f54af00654350fd855691e7e787385675d79a1c065767c93bc97665840396719ae5a0f SHA512 db52ed092d676029cc1ff1d02ddf9e5a91e0bcd77fbfd8e43c923deea4413c452895b70835c519e234f8af0bddf61bad7ad3ec5209876335eacaabe63ed6390a
24
25 diff --git a/games-engines/qtads/files/qtads-3.0-fluidsynth.patch b/games-engines/qtads/files/qtads-3.0-fluidsynth.patch
26 deleted file mode 100644
27 index 0104d35098dc..000000000000
28 --- a/games-engines/qtads/files/qtads-3.0-fluidsynth.patch
29 +++ /dev/null
30 @@ -1,55 +0,0 @@
31 -From eedae0e7c67da4e12c65ef049665258c1d8f44a8 Mon Sep 17 00:00:00 2001
32 -From: Michal Petrucha <michal.petrucha@××××××××.org>
33 -Date: Thu, 22 Apr 2021 22:55:40 +0200
34 -Subject: [PATCH] Add support for fluidsynth 2.2.0
35 -
36 ----
37 - SDL_audiolib/src/DecoderFluidsynth.cpp | 14 +++++++++++---
38 - 1 file changed, 11 insertions(+), 3 deletions(-)
39 -
40 -diff --git a/SDL_audiolib/src/DecoderFluidsynth.cpp b/SDL_audiolib/src/DecoderFluidsynth.cpp
41 -index 62a99df..0f4760d 100644
42 ---- a/SDL_audiolib/src/DecoderFluidsynth.cpp
43 -+++ b/SDL_audiolib/src/DecoderFluidsynth.cpp
44 -@@ -11,6 +11,14 @@
45 - #include <cstdio>
46 - #include <fluidsynth.h>
47 -
48 -+#if FLUIDSYNTH_VERSION_MAJOR == 2 && FLUIDSYNTH_VERSION_MINOR >= 2
49 -+using read_cb_count_type = fluid_long_long_t;
50 -+using seek_cb_offset_type = fluid_long_long_t;
51 -+#else
52 -+using read_cb_count_type = int;
53 -+using seek_cb_offset_type = long;
54 -+#endif
55 -+
56 - namespace chrono = std::chrono;
57 -
58 - static fluid_settings_t* settings = nullptr;
59 -@@ -36,7 +44,7 @@ static void* sfontOpenCb(const char* filename)
60 - return rwops;
61 - }
62 -
63 --static int sfontReadCb(void* dst, int count, void* rwops)
64 -+static int sfontReadCb(void* dst, read_cb_count_type count, void* rwops)
65 - {
66 - Buffer<char> buf(count);
67 - if (SDL_RWread(static_cast<SDL_RWops*>(rwops), buf.get(), 1, count) <= 0) {
68 -@@ -46,7 +54,7 @@ static int sfontReadCb(void* dst, int count, void* rwops)
69 - return FLUID_OK;
70 - }
71 -
72 --static int sfontSeekCb(void* rwops, long offset, int whence)
73 -+static int sfontSeekCb(void* rwops, seek_cb_offset_type offset, int whence)
74 - {
75 - switch (whence) {
76 - case SEEK_SET:
77 -@@ -72,7 +80,7 @@ static int sfontCloseCb(void* rwops)
78 - return FLUID_OK;
79 - }
80 -
81 --static long sfontTellCb(void* rwops)
82 -+static seek_cb_offset_type sfontTellCb(void* rwops)
83 - {
84 - auto pos = SDL_RWtell(static_cast<SDL_RWops*>(rwops));
85 - if (pos == -1) {
86
87 diff --git a/games-engines/qtads/qtads-3.0.0.ebuild b/games-engines/qtads/qtads-3.0.0.ebuild
88 deleted file mode 100644
89 index e375495f938f..000000000000
90 --- a/games-engines/qtads/qtads-3.0.0.ebuild
91 +++ /dev/null
92 @@ -1,47 +0,0 @@
93 -# Copyright 1999-2021 Gentoo Authors
94 -# Distributed under the terms of the GNU General Public License v2
95 -
96 -EAPI=7
97 -inherit qmake-utils xdg
98 -
99 -DESCRIPTION="Multimedia interpreter for TADS text adventures"
100 -HOMEPAGE="https://realnc.github.io/qtads"
101 -SRC_URI="https://github.com/realnc/qtads/releases/download/v${PV}/${P}-source.tar.xz"
102 -
103 -LICENSE="GPL-3+"
104 -SLOT="0"
105 -KEYWORDS="~amd64 ~x86"
106 -IUSE="+sound"
107 -
108 -BDEPEND="
109 - virtual/pkgconfig
110 -"
111 -DEPEND="
112 - dev-qt/qtcore:5
113 - dev-qt/qtgui:5
114 - dev-qt/qtnetwork:5[ssl]
115 - dev-qt/qtwidgets:5
116 - sound? (
117 - media-libs/libsdl2[sound]
118 - media-libs/libsndfile
119 - media-libs/libvorbis
120 - media-sound/fluidsynth:0=
121 - media-sound/mpg123
122 - )
123 -"
124 -RDEPEND=${DEPEND}
125 -
126 -PATCHES=(
127 - "${FILESDIR}"/${PN}-3.0-fluidsynth.patch #785235
128 -)
129 -
130 -src_configure() {
131 - eqmake5 \
132 - PREFIX="${EPREFIX}/usr" \
133 - $(usex !sound CONFIG+=disable-audio '') \
134 - -after CONFIG-=silent
135 -}
136 -
137 -src_install() {
138 - emake INSTALL_ROOT="${D}" install
139 -}