summaryrefslogtreecommitdiff
path: root/games-engines/qtads
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-01-04 01:27:12 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-01-04 01:27:12 +0000
commit3517852e3b8a68d1e997770fc0650c5053bafc6c (patch)
tree44068672445b1418489aed82de58df3c470289e7 /games-engines/qtads
parent0f15659d48c193027158492acb726297501202c5 (diff)
gentoo resync : 04.01.2022
Diffstat (limited to 'games-engines/qtads')
-rw-r--r--games-engines/qtads/Manifest3
-rw-r--r--games-engines/qtads/files/qtads-3.0-fluidsynth.patch55
-rw-r--r--games-engines/qtads/qtads-3.0.0.ebuild47
3 files changed, 0 insertions, 105 deletions
diff --git a/games-engines/qtads/Manifest b/games-engines/qtads/Manifest
index 2f6c9cbfb2f3..a2ad030e4cbe 100644
--- a/games-engines/qtads/Manifest
+++ b/games-engines/qtads/Manifest
@@ -1,6 +1,3 @@
-AUX qtads-3.0-fluidsynth.patch 1817 BLAKE2B 32f61fde3f3521c7d50ca8b67d5a66721caec4595e6a98a15f4434f6da6dda62b75521d64349252a11fd15e0fc62d301db0329dc07ce56783e7eac8beafef791 SHA512 37c0c5e7ad76d9b483c6e3aa02d1b8673bae50820c48197dc1649efed888ee6156a3a935add16ccd006de43e9067e29f0de8b893c85a476ae4b4b32597799253
-DIST qtads-3.0.0-source.tar.xz 5325048 BLAKE2B cb60908e71edb32157638891a58bed83aba01d484821473716c17845094be9232f9e989bad474db27c1e06734b073ee301756b0528ca880e4c40c0994e95bc48 SHA512 e7b72350876475e0b5b9b8c8c953aa380f5f25dade25785d15c5004a6866bb614c3ca2a3b34f84989013e350f9e73d339ce8ddd7d36766d80a981cfbfda7d1c6
DIST qtads-3.2.0-source.tar.xz 5415396 BLAKE2B 100812db9dd0d0630a5392036e29a366afd61778be2c887e19a1dfafd8f54af00654350fd855691e7e787385675d79a1c065767c93bc97665840396719ae5a0f SHA512 db52ed092d676029cc1ff1d02ddf9e5a91e0bcd77fbfd8e43c923deea4413c452895b70835c519e234f8af0bddf61bad7ad3ec5209876335eacaabe63ed6390a
-EBUILD qtads-3.0.0.ebuild 912 BLAKE2B 227fa26b32e4b8e3f41341930fff294bb491d5fddba9dc3624b5a72611704e1932b2d872826c404670a42d4ba098da949288826165c000248031a48144fe3427 SHA512 4d71f4eaffb9dfdd589a67ef123535d1289b03d18139afb81de60c3b0a91488a9985b5549ad35abe895c5e50bb0fcba4be8c1edde8797cffd7943424bf574fd7
EBUILD qtads-3.2.0-r1.ebuild 948 BLAKE2B 81fb89795ca6e7acdcf13e112553f83b3ee21aadebf95d26882c172b7dc2d7d603af54e25602f228e31dbbaaedac491a9285a20c33a9fcebd96ea0e1d2efcd0a SHA512 6e5bf4e1a1e65ecb0de2c84195dc402419c95cd3eac10506cce776f5efb5df617ce7dc9f12c6a458fc1aa9dd228d2766e26d6c7bacb35e8fe3b4b848b1a53198
MISC metadata.xml 600 BLAKE2B 7aa1de6bd8c9c4809e7775a692a69c6e413ed3062a20f89a952859f9b1a4fec9fd86530933edd9e9977df7fba093b1623f231fe8c010dea08d8fb1b89202ff7c SHA512 4d65532cb39d2c90870fbbc1ed038c48646f90f5c5037e69aa1f5b0f965f46a37bd51621aaeebc62f8360b18dbc37e12f605e057d071b6a3313d4a446a66a2c2
diff --git a/games-engines/qtads/files/qtads-3.0-fluidsynth.patch b/games-engines/qtads/files/qtads-3.0-fluidsynth.patch
deleted file mode 100644
index 0104d35098dc..000000000000
--- a/games-engines/qtads/files/qtads-3.0-fluidsynth.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-From eedae0e7c67da4e12c65ef049665258c1d8f44a8 Mon Sep 17 00:00:00 2001
-From: Michal Petrucha <michal.petrucha@koniiiik.org>
-Date: Thu, 22 Apr 2021 22:55:40 +0200
-Subject: [PATCH] Add support for fluidsynth 2.2.0
-
----
- SDL_audiolib/src/DecoderFluidsynth.cpp | 14 +++++++++++---
- 1 file changed, 11 insertions(+), 3 deletions(-)
-
-diff --git a/SDL_audiolib/src/DecoderFluidsynth.cpp b/SDL_audiolib/src/DecoderFluidsynth.cpp
-index 62a99df..0f4760d 100644
---- a/SDL_audiolib/src/DecoderFluidsynth.cpp
-+++ b/SDL_audiolib/src/DecoderFluidsynth.cpp
-@@ -11,6 +11,14 @@
- #include <cstdio>
- #include <fluidsynth.h>
-
-+#if FLUIDSYNTH_VERSION_MAJOR == 2 && FLUIDSYNTH_VERSION_MINOR >= 2
-+using read_cb_count_type = fluid_long_long_t;
-+using seek_cb_offset_type = fluid_long_long_t;
-+#else
-+using read_cb_count_type = int;
-+using seek_cb_offset_type = long;
-+#endif
-+
- namespace chrono = std::chrono;
-
- static fluid_settings_t* settings = nullptr;
-@@ -36,7 +44,7 @@ static void* sfontOpenCb(const char* filename)
- return rwops;
- }
-
--static int sfontReadCb(void* dst, int count, void* rwops)
-+static int sfontReadCb(void* dst, read_cb_count_type count, void* rwops)
- {
- Buffer<char> buf(count);
- if (SDL_RWread(static_cast<SDL_RWops*>(rwops), buf.get(), 1, count) <= 0) {
-@@ -46,7 +54,7 @@ static int sfontReadCb(void* dst, int count, void* rwops)
- return FLUID_OK;
- }
-
--static int sfontSeekCb(void* rwops, long offset, int whence)
-+static int sfontSeekCb(void* rwops, seek_cb_offset_type offset, int whence)
- {
- switch (whence) {
- case SEEK_SET:
-@@ -72,7 +80,7 @@ static int sfontCloseCb(void* rwops)
- return FLUID_OK;
- }
-
--static long sfontTellCb(void* rwops)
-+static seek_cb_offset_type sfontTellCb(void* rwops)
- {
- auto pos = SDL_RWtell(static_cast<SDL_RWops*>(rwops));
- if (pos == -1) {
diff --git a/games-engines/qtads/qtads-3.0.0.ebuild b/games-engines/qtads/qtads-3.0.0.ebuild
deleted file mode 100644
index e375495f938f..000000000000
--- a/games-engines/qtads/qtads-3.0.0.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit qmake-utils xdg
-
-DESCRIPTION="Multimedia interpreter for TADS text adventures"
-HOMEPAGE="https://realnc.github.io/qtads"
-SRC_URI="https://github.com/realnc/qtads/releases/download/v${PV}/${P}-source.tar.xz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+sound"
-
-BDEPEND="
- virtual/pkgconfig
-"
-DEPEND="
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtnetwork:5[ssl]
- dev-qt/qtwidgets:5
- sound? (
- media-libs/libsdl2[sound]
- media-libs/libsndfile
- media-libs/libvorbis
- media-sound/fluidsynth:0=
- media-sound/mpg123
- )
-"
-RDEPEND=${DEPEND}
-
-PATCHES=(
- "${FILESDIR}"/${PN}-3.0-fluidsynth.patch #785235
-)
-
-src_configure() {
- eqmake5 \
- PREFIX="${EPREFIX}/usr" \
- $(usex !sound CONFIG+=disable-audio '') \
- -after CONFIG-=silent
-}
-
-src_install() {
- emake INSTALL_ROOT="${D}" install
-}