games-fps/doom-data: Bump to version 1.9
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Fri, 14 Jun 2019 11:30:35 +0000 (20:30 +0900)
committerJames Le Cuirot <chewi@gentoo.org>
Tue, 18 Jun 2019 21:20:44 +0000 (22:20 +0100)
Remove doomsday USE flag since users can install games-fps/doomsday
directly. Install location changed to the /usr/share/doom directory.

Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
games-fps/doom-data/Manifest
games-fps/doom-data/doom-data-1-r2.ebuild [deleted file]
games-fps/doom-data/doom-data-1.9.ebuild [new file with mode: 0644]
games-fps/doom-data/metadata.xml

index bfae26b03247fed13bc106d5e70fddb6369a03ed..ca5011dac2e2731714eac20aa60a43b3b7391db6 100644 (file)
@@ -1 +1 @@
-DIST doom1.wad.bz2 1689021 BLAKE2B 45ab359525cec44ac6f58110be80e76a75e0d5e186c1fc6bb67e055e7a7e03d2596c2e99cb3636484245d1af85d6b93830f07d8548df99f5f40e55d249bcef16 SHA512 f3aa78fd1e36d2dbd176c8c5284f8cee4f39d8e34df5386fd668565e752410e2b776413c78c1e7a3571695a1668f1e4820338ebc9a2b1a0ed1a81896260534fe
+DIST doom1.wad 4196020 BLAKE2B d242892e97f4684d1483192a5fc5b5fe3c662f2b9d61078e869758f400ca9e6d4e81fe51a6ffe562bbbd9d66f3db33f9a780780095aeeba691df1fe9407b1430 SHA512 6c2798417f0a0feaa1ab8777edb54e821eb336acfe953d62214dac46dd62429f58da97f9d13beac5fdaf944e70a07c60c96af9a885a0daf38eff1619cde71c2a
diff --git a/games-fps/doom-data/doom-data-1-r2.ebuild b/games-fps/doom-data/doom-data-1-r2.ebuild
deleted file mode 100644 (file)
index dcbff46..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit eutils
-
-DESCRIPTION="Collection of doom wad files from id"
-HOMEPAGE="http://www.idsoftware.com/"
-SRC_URI="mirror://gentoo/doom1.wad.bz2"
-
-LICENSE="freedist"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="doomsday"
-
-RDEPEND="doomsday? ( games-fps/doomsday )"
-DEPEND=""
-
-S="${WORKDIR}"
-
-src_install() {
-       insinto /usr/share/doom-data
-       doins *.wad
-       if use doomsday; then
-               # Make wrapper for doomsday
-               make_wrapper doomsday-demo "jdoom -file \
-                       /usr/share/doom-data/doom1.wad"
-               make_desktop_entry doomsday-demo "Doomsday - Demo"
-       fi
-}
-
-pkg_postinst() {
-       if use doomsday; then
-               elog "To use the doomsday engine, run doomsday-demo"
-       else
-               elog "A Doom engine is required to play the wad"
-               elog "Enable the doomsday use flag if you want to use"
-               elog "  the doomsday engine"
-       fi
-}
diff --git a/games-fps/doom-data/doom-data-1.9.ebuild b/games-fps/doom-data/doom-data-1.9.ebuild
new file mode 100644 (file)
index 0000000..73c1f9c
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="The IWAD used by the shareware version of Doom"
+HOMEPAGE="http://www.idsoftware.com"
+SRC_URI="http://distro.ibiblio.org/pub/linux/distributions/slitaz/sources/packages/d/doom1.wad"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+
+S="${DISTDIR}"
+
+DOOMWADPATH="/usr/share/doom"
+
+src_install() {
+       insinto ${DOOMWADPATH}
+       doins doom1.wad
+}
+
+pkg_postinst() {
+       elog "Doom WAD file installed into the ${DOOMWADPATH} directory."
+       elog "A Doom engine is required in order to play the doom1.wad file."
+}
index 343e8213e1cf0ffb30162d814317193b3ab10ac0..4ec24fa26e96ae4deb8269b906df71b6f31b5827 100644 (file)
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-  <maintainer type="project">
-    <email>games@gentoo.org</email>
-    <name>Gentoo Games Project</name>
-  </maintainer>
-  <use>
-    <flag name="doomsday">Add wrapper to run it within doomsday</flag>
-  </use>
+       <longdescription lang="en">
+               DOOM1.WAD is the IWAD used by the shareware version of Doom. It is a cut-down version of DOOM.WAD which contains only the first episode. Later on, "Doom 1" became a retronym for Doom after the release of Doom II.
+       </longdescription>
+       <maintainer type="project">
+               <email>games@gentoo.org</email>
+               <name>Gentoo Games Project</name>
+       </maintainer>
 </pkgmetadata>