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/
Date: Fri, 17 Sep 2021 00:44:38
Message-Id: 1631839013.9d7c9ab7f38d4b3d0daa1bb335238d4afdd48a47.ionen@gentoo
1 commit: 9d7c9ab7f38d4b3d0daa1bb335238d4afdd48a47
2 Author: Nikos Chantziaras <realnc <AT> gmail <DOT> com>
3 AuthorDate: Thu Sep 16 23:09:48 2021 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 17 00:36:53 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d7c9ab7
7
8 games-engines/qtads: bump to 3.1.0, EAPI 8
9
10 Closes: https://bugs.gentoo.org/813417
11 Package-Manager: Portage-3.0.23, Repoman-3.0.3
12 Signed-off-by: Nikos Chantziaras <realnc <AT> gmail.com>
13 Closes: https://github.com/gentoo/gentoo/pull/22312
14 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
15
16 games-engines/qtads/Manifest | 1 +
17 games-engines/qtads/qtads-3.1.0.ebuild | 44 ++++++++++++++++++++++++++++++++++
18 2 files changed, 45 insertions(+)
19
20 diff --git a/games-engines/qtads/Manifest b/games-engines/qtads/Manifest
21 index daf58a6dddc..545fe9ecb54 100644
22 --- a/games-engines/qtads/Manifest
23 +++ b/games-engines/qtads/Manifest
24 @@ -1 +1,2 @@
25 DIST qtads-3.0.0-source.tar.xz 5325048 BLAKE2B cb60908e71edb32157638891a58bed83aba01d484821473716c17845094be9232f9e989bad474db27c1e06734b073ee301756b0528ca880e4c40c0994e95bc48 SHA512 e7b72350876475e0b5b9b8c8c953aa380f5f25dade25785d15c5004a6866bb614c3ca2a3b34f84989013e350f9e73d339ce8ddd7d36766d80a981cfbfda7d1c6
26 +DIST qtads-3.1.0-source.tar.xz 5438292 BLAKE2B 50d4cb8e39ed1da83005f326aa20e595da825acf7b769a4abaa2b319ee9f2da83af435cf676b82d28417ffc751be7ad8ab6bdc09ad3d571a1df068cd1eca48dd SHA512 b79c6e326369c259d293adf8232e7da64b23506ed272a456b57aef3ef92f440d53ca5204bf36a49cae1b783ce864bae1986053d7f0893e70bfbf8877d87b7267
27
28 diff --git a/games-engines/qtads/qtads-3.1.0.ebuild b/games-engines/qtads/qtads-3.1.0.ebuild
29 new file mode 100644
30 index 00000000000..f865caf3379
31 --- /dev/null
32 +++ b/games-engines/qtads/qtads-3.1.0.ebuild
33 @@ -0,0 +1,44 @@
34 +# Copyright 1999-2021 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=8
38 +
39 +inherit qmake-utils xdg
40 +
41 +DESCRIPTION="Multimedia interpreter for TADS text adventures"
42 +HOMEPAGE="https://realnc.github.io/qtads"
43 +SRC_URI="https://github.com/realnc/qtads/releases/download/v${PV}/${P}-source.tar.xz"
44 +
45 +LICENSE="GPL-3+"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +IUSE="+sound"
49 +
50 +BDEPEND="
51 + virtual/pkgconfig
52 +"
53 +DEPEND="
54 + dev-qt/qtcore:5
55 + dev-qt/qtgui:5
56 + dev-qt/qtnetwork:5[ssl]
57 + dev-qt/qtwidgets:5
58 + sound? (
59 + media-libs/libsdl2[sound]
60 + media-libs/libsndfile
61 + media-libs/libvorbis
62 + media-sound/fluidsynth:0=
63 + media-sound/mpg123
64 + )
65 +"
66 +RDEPEND="${DEPEND}"
67 +
68 +src_configure() {
69 + eqmake5 \
70 + PREFIX="${EPREFIX}/usr" \
71 + $(usev !sound CONFIG+=disable-audio) \
72 + -after CONFIG-=silent
73 +}
74 +
75 +src_install() {
76 + emake INSTALL_ROOT="${D}" install
77 +}