games-fps/doom-data: Bump to version 1.9

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>
This commit is contained in:
William Breathitt Gray
2019-06-14 20:30:35 +09:00
committed by James Le Cuirot
parent 1e25da9d8a
commit 27f5eade48
4 changed files with 34 additions and 48 deletions

View File

@@ -1 +1 @@
DIST doom1.wad.bz2 1689021 BLAKE2B 45ab359525cec44ac6f58110be80e76a75e0d5e186c1fc6bb67e055e7a7e03d2596c2e99cb3636484245d1af85d6b93830f07d8548df99f5f40e55d249bcef16 SHA512 f3aa78fd1e36d2dbd176c8c5284f8cee4f39d8e34df5386fd668565e752410e2b776413c78c1e7a3571695a1668f1e4820338ebc9a2b1a0ed1a81896260534fe
DIST doom1.wad 4196020 BLAKE2B d242892e97f4684d1483192a5fc5b5fe3c662f2b9d61078e869758f400ca9e6d4e81fe51a6ffe562bbbd9d66f3db33f9a780780095aeeba691df1fe9407b1430 SHA512 6c2798417f0a0feaa1ab8777edb54e821eb336acfe953d62214dac46dd62429f58da97f9d13beac5fdaf944e70a07c60c96af9a885a0daf38eff1619cde71c2a

View File

@@ -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
}

View File

@@ -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."
}

View 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>