summaryrefslogtreecommitdiff
path: root/games-engines/qtads
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-02-29 18:01:47 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-02-29 18:01:47 +0000
commitceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (patch)
tree9f47ee47c31a0f13f9496879cd88a1042550aa81 /games-engines/qtads
parent53cba99042fa967e2a93da9f8db806fe2d035543 (diff)
gentoo (leap year) resync : 29.02.2020
Diffstat (limited to 'games-engines/qtads')
-rw-r--r--games-engines/qtads/Manifest6
-rw-r--r--games-engines/qtads/metadata.xml7
-rw-r--r--games-engines/qtads/qtads-2.1.7-r1.ebuild49
-rw-r--r--games-engines/qtads/qtads-3.0.0.ebuild43
4 files changed, 52 insertions, 53 deletions
diff --git a/games-engines/qtads/Manifest b/games-engines/qtads/Manifest
index 32678d3baed8..784570c980d7 100644
--- a/games-engines/qtads/Manifest
+++ b/games-engines/qtads/Manifest
@@ -1,3 +1,3 @@
-DIST qtads-2.1.7.tar.bz2 2562026 BLAKE2B daa66022db1b187c2d74fc762fdb60beefb0988401464382d14c6f9bc1455a8046e212cdba9d834decb0efe053b3bb430392696b12bd4f94aaa006744c53a65e SHA512 ab88aa20991642df6048af49d2cd7b804dbb98b3f5c6ab38ad974e8b39531d880eac0eae0ba773f332e9568578b76b677bc35753f7d1e6d9a99d919b15f4c6ee
-EBUILD qtads-2.1.7-r1.ebuild 930 BLAKE2B d8df948d8da8a646e0a2f4e6586e10b03afdc1fd3bd2b9aa9a7a4f50babae0b98166ab2a993625f1b4508090c095ee1d4fde94508547ef5d7db4b5b5380c7cdc SHA512 ea1feb7b2aabc0f403e3176b1a51f3c5924b787a73bdcbd28dc557ffa049f57d7e6b3b14b9885ac66892e6f3ba74e36dd7dcb1a6bc2bfd599486ab85c6c93b5c
-MISC metadata.xml 338 BLAKE2B e923224db53da22487dff5dc33486c7a9b7391d7dbf26a5c11392e0b0808b177488b8b442b888077039d66679cdbd9e87a8389ae347cbc17443eda7e86078015 SHA512 18a82c16eb83363eb440ad9ca6ce1c612a17011194b3e1f50ac2563c0ef72c96c8618643f25ed8df81c852045a281498fabf18468c2181051f28e584738b8472
+DIST qtads-3.0.0-source.tar.xz 5325048 BLAKE2B cb60908e71edb32157638891a58bed83aba01d484821473716c17845094be9232f9e989bad474db27c1e06734b073ee301756b0528ca880e4c40c0994e95bc48 SHA512 e7b72350876475e0b5b9b8c8c953aa380f5f25dade25785d15c5004a6866bb614c3ca2a3b34f84989013e350f9e73d339ce8ddd7d36766d80a981cfbfda7d1c6
+EBUILD qtads-3.0.0.ebuild 849 BLAKE2B a469fe456498ad1f5cb4b7febfdaeb830f4dd10bc9e9997fe22b1fc0c11b4228debfc92b3e0485167f5770315d3db03c208ddf25039abb1635c6ce696cf93f74 SHA512 6617c58720706b65c60101bc60677850352c09a7312f1037347da4dabe1b351ae70bd0c2c8ee243edf9fb3bb085f069a177dd1bcaf683b9ac259162533750f4c
+MISC metadata.xml 599 BLAKE2B 51ed09fd074eb06d9b3abd5274531653f791323717dc3e1f1ab246f10a80daec5c689f9c0083b62d84560862ec1932b892b4896c122c1cfa284613a0f27663df SHA512 73b2eeac86fd8e65a122adc472e108173d2f9423500ef2bce48f32a0c3b956e41c4bdff1bd8e451d07a8b973e358238b482d28866056c60785c39b47c0e8c5f9
diff --git a/games-engines/qtads/metadata.xml b/games-engines/qtads/metadata.xml
index b4146b480895..33b59db35f14 100644
--- a/games-engines/qtads/metadata.xml
+++ b/games-engines/qtads/metadata.xml
@@ -5,7 +5,12 @@
<email>games@gentoo.org</email>
<name>Gentoo Games Project</name>
</maintainer>
+ <longdescription lang="en">
+ QTads is a cross-platform, multimedia interpreter for playing TADS games. It
+ is fully compatible with HTML TADS (aka "Multimedia TADS.") Both TADS
+ versions in use today (v2 and v3) are supported.
+ </longdescription>
<upstream>
- <remote-id type="sourceforge">qtads</remote-id>
+ <remote-id type="github">realnc/qtads</remote-id>
</upstream>
</pkgmetadata>
diff --git a/games-engines/qtads/qtads-2.1.7-r1.ebuild b/games-engines/qtads/qtads-2.1.7-r1.ebuild
deleted file mode 100644
index 500c1f64211d..000000000000
--- a/games-engines/qtads/qtads-2.1.7-r1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit gnome2-utils qmake-utils xdg flag-o-matic
-
-DESCRIPTION="Multimedia interpreter for TADS text adventures"
-HOMEPAGE="http://qtads.sourceforge.net"
-SRC_URI="mirror://sourceforge/qtads/${P}.tar.bz2"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="media-libs/libsdl[sound]
- media-libs/sdl-mixer[midi,vorbis]
- media-libs/sdl-sound[mp3]
- dev-qt/qtcore:5
- dev-qt/qtgui:5"
-RDEPEND="${DEPEND}"
-
-src_configure() {
- # bug 654356 temp fix
- append-cxxflags -fpermissive
- eqmake5 qtads.pro -after CONFIG-=silent
-}
-
-src_install() {
- dobin qtads
- dodoc AUTHORS HTML_TADS_LICENSE NEWS README
- insinto /usr
- doins -r share
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
- xdg_pkg_preinst
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
- xdg_pkg_postinst
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
- xdg_pkg_postrm
-}
diff --git a/games-engines/qtads/qtads-3.0.0.ebuild b/games-engines/qtads/qtads-3.0.0.ebuild
new file mode 100644
index 000000000000..57d338defea2
--- /dev/null
+++ b/games-engines/qtads/qtads-3.0.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2020 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}
+
+src_configure() {
+ eqmake5 \
+ PREFIX="${EPREFIX}/usr" \
+ $(usex !sound CONFIG+=disable-audio '') \
+ -after CONFIG-=silent
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+}