Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/doomsday/
Date: Sun, 29 Apr 2018 17:13:26
Message-Id: 1525021993.7537862d4fee658321df54d024fad58ac0eb04c1.pacho@gentoo
1 commit: 7537862d4fee658321df54d024fad58ac0eb04c1
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 29 17:04:05 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 29 17:13:13 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7537862d
7
8 games-fps/doomsday: Version bump (#617908)
9
10 Package-Manager: Portage-2.3.31, Repoman-2.3.9
11
12 games-fps/doomsday/Manifest | 1 +
13 games-fps/doomsday/doomsday-2.0.3.ebuild | 78 ++++++++++++++++++++++++++++++++
14 games-fps/doomsday/metadata.xml | 1 +
15 3 files changed, 80 insertions(+)
16
17 diff --git a/games-fps/doomsday/Manifest b/games-fps/doomsday/Manifest
18 index 372f23582e0..7d8cb7b307b 100644
19 --- a/games-fps/doomsday/Manifest
20 +++ b/games-fps/doomsday/Manifest
21 @@ -1 +1,2 @@
22 +DIST doomsday-2.0.3.tar.gz 18060670 BLAKE2B e01545f5d719310a78f01de77249a72f9c3c61a1d295ee0827475439b63653f613660bdc033c1651180cc390469c89120d262c15c6e22cece52600e2889e1437 SHA512 4f8e737df9e004cf3ac3cf16b84ffce0c85e2180af552bac41a224595c7f6932397c39f7d3e9fa522e1ae62828cb87f564a5fa411e742eb07bbee96f14c3ee7c
23 DIST doomsday-stable-1.15.8.tar.gz 52054238 BLAKE2B ab33c197a89c5b3a9aa00628cd88edb5b5d2c1116ed72c55f34bd21e8128b6ff056bbc81900a9ea133b2230319e3c0f7ef79df98609980a59dc1f3da41e2195d SHA512 6d1b86c6e364cbd043b0714eb351113c8bbaf98daddde1bf615fe663c15a763e26d3e478d1adeb6d8a75ed4c89a5a19f3a891e12ea5937ff2fc54b84118f642c
24
25 diff --git a/games-fps/doomsday/doomsday-2.0.3.ebuild b/games-fps/doomsday/doomsday-2.0.3.ebuild
26 new file mode 100644
27 index 00000000000..8e474baec7f
28 --- /dev/null
29 +++ b/games-fps/doomsday/doomsday-2.0.3.ebuild
30 @@ -0,0 +1,78 @@
31 +# Copyright 1999-2018 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +PYTHON_COMPAT=( python2_7 )
36 +
37 +inherit python-r1 readme.gentoo-r1 cmake-utils
38 +
39 +DESCRIPTION="A modern gaming engine for Doom, Heretic, and Hexen"
40 +HOMEPAGE="http://www.dengine.net"
41 +SRC_URI="https://downloads.sourceforge.net/project/deng/Doomsday%20Engine/${PV}/${P}.tar.gz"
42 +
43 +LICENSE="GPL-3+ LGPL-3+"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +
47 +IUSE="fluidsynth openal +doom demo freedoom heretic hexen tools fmod"
48 +REQUIRED_USE="${PYTHON_REQUIRED_USE}
49 + demo? ( doom ) freedoom? ( doom )
50 +"
51 +
52 +RDEPEND="
53 + >=dev-util/cmake-3.1
54 + dev-qt/qtnetwork:5
55 + dev-qt/qtopengl:5
56 + dev-qt/qtwidgets:5
57 + dev-qt/qtx11extras:5
58 + dev-qt/qtgui:5[-gles2]
59 + dev-qt/qtcore:5
60 + net-misc/curl
61 + sys-libs/zlib
62 + media-libs/assimp
63 + fmod? ( media-libs/fmod )
64 + fluidsynth? ( media-sound/fluidsynth )
65 + openal? ( media-libs/openal )
66 + tools? ( sys-libs/ncurses:0 )
67 +"
68 +DEPEND="${RDEPEND}
69 + ${PYTHON_DEPS}
70 + virtual/pkgconfig
71 +"
72 +PDEPEND="
73 + demo? ( games-fps/doom-data )
74 + freedoom? ( games-fps/freedoom )
75 +"
76 +
77 +S="${WORKDIR}/${P}/${PN}"
78 +
79 +DISABLE_AUTOFORMATTING="yes"
80 +DOC_CONTENTS="
81 +You need to copy Doom, Doom 2, Chex Quest, Heretic, Hexen, HexenDD,
82 +and Doom64 wads to a folder of your choice. Then configure in game
83 +engine where that folder is. This is different than old versions,
84 +which had centralized launchers for each game, and required the
85 +files to be in a specific place
86 +"
87 +
88 +internal_src_configure() {
89 + export QT_SELECT=qt5
90 + local mycmakeargs=(
91 + -DPYTHON_EXECUTABLE="${PYTHON}"
92 + -DDENG_ASSIMP_EMBEDDED=off
93 + )
94 + cmake-utils_src_configure
95 +}
96 +
97 +src_configure() {
98 + python_foreach_impl internal_src_configure
99 +}
100 +
101 +src_install() {
102 + cmake-utils_src_install
103 + readme.gentoo_create_doc
104 +}
105 +
106 +pkg_postinst() {
107 + readme.gentoo_print_elog
108 +}
109
110 diff --git a/games-fps/doomsday/metadata.xml b/games-fps/doomsday/metadata.xml
111 index daf0c62634d..8c49e302718 100644
112 --- a/games-fps/doomsday/metadata.xml
113 +++ b/games-fps/doomsday/metadata.xml
114 @@ -9,6 +9,7 @@
115 <flag name="demo">Install launcher dor doom1.wad from <pkg>games-fps/doom-data</pkg></flag>
116 <flag name="doom">Install launcher for jdoom game</flag>
117 <flag name="fluidsynth">Build the FluidSynth sound driver</flag>
118 + <flag name="fmod">Enable support for fmod music and sound effects lib</flag>
119 <flag name="freedoom">Install launcher for doom1.wad from <pkg>games-fps/freedoom</pkg></flag>
120 <flag name="heretic">Install launcher for jheretic game</flag>
121 <flag name="hexen">Install launcher for jhexen game</flag>