summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Chantziaras <realnc@gmail.com>2021-09-26 17:16:56 +0300
committerIonen Wolkens <ionen@gentoo.org>2021-09-26 11:04:40 -0400
commite7c4af09a6edf745b2c6aff4c7412a60c1f0a763 (patch)
treed4496e474f8a1a7f47dd6a61a0b267c693c886ec /games-engines
parentmedia-radio/flrig: Drop old (diff)
downloadgentoo-e7c4af09a6edf745b2c6aff4c7412a60c1f0a763.tar.gz
gentoo-e7c4af09a6edf745b2c6aff4c7412a60c1f0a763.tar.bz2
gentoo-e7c4af09a6edf745b2c6aff4c7412a60c1f0a763.zip
games-engines/qtads: bump to 3.2.0, improve DEPEND
Closes: https://bugs.gentoo.org/814998 Package-Manager: Portage-3.0.23, Repoman-3.0.3 Signed-off-by: Nikos Chantziaras <realnc@gmail.com> Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-engines')
-rw-r--r--games-engines/qtads/Manifest1
-rw-r--r--games-engines/qtads/qtads-3.2.0.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/games-engines/qtads/Manifest b/games-engines/qtads/Manifest
index 545fe9ecb547..2af9a4a51cb2 100644
--- a/games-engines/qtads/Manifest
+++ b/games-engines/qtads/Manifest
@@ -1,2 +1,3 @@
DIST qtads-3.0.0-source.tar.xz 5325048 BLAKE2B cb60908e71edb32157638891a58bed83aba01d484821473716c17845094be9232f9e989bad474db27c1e06734b073ee301756b0528ca880e4c40c0994e95bc48 SHA512 e7b72350876475e0b5b9b8c8c953aa380f5f25dade25785d15c5004a6866bb614c3ca2a3b34f84989013e350f9e73d339ce8ddd7d36766d80a981cfbfda7d1c6
DIST qtads-3.1.0-source.tar.xz 5438292 BLAKE2B 50d4cb8e39ed1da83005f326aa20e595da825acf7b769a4abaa2b319ee9f2da83af435cf676b82d28417ffc751be7ad8ab6bdc09ad3d571a1df068cd1eca48dd SHA512 b79c6e326369c259d293adf8232e7da64b23506ed272a456b57aef3ef92f440d53ca5204bf36a49cae1b783ce864bae1986053d7f0893e70bfbf8877d87b7267
+DIST qtads-3.2.0-source.tar.xz 5415396 BLAKE2B 100812db9dd0d0630a5392036e29a366afd61778be2c887e19a1dfafd8f54af00654350fd855691e7e787385675d79a1c065767c93bc97665840396719ae5a0f SHA512 db52ed092d676029cc1ff1d02ddf9e5a91e0bcd77fbfd8e43c923deea4413c452895b70835c519e234f8af0bddf61bad7ad3ec5209876335eacaabe63ed6390a
diff --git a/games-engines/qtads/qtads-3.2.0.ebuild b/games-engines/qtads/qtads-3.2.0.ebuild
new file mode 100644
index 000000000000..bcc3022a5dc5
--- /dev/null
+++ b/games-engines/qtads/qtads-3.2.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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[jpeg,png]
+ dev-qt/qtimageformats[mng]
+ dev-qt/qtnetwork:5[ssl]
+ dev-qt/qtwidgets:5[png]
+ sound? (
+ media-libs/libsdl2[sound]
+ media-libs/libsndfile
+ media-libs/libvorbis
+ media-sound/fluidsynth:0=
+ media-sound/mpg123
+ )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ eqmake5 \
+ PREFIX="${EPREFIX}/usr" \
+ $(usev !sound CONFIG+=disable-audio) \
+ -after CONFIG-=silent
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+}