diff options
Diffstat (limited to 'games-fps/doom-data')
-rw-r--r-- | games-fps/doom-data/Manifest | 5 | ||||
-rw-r--r-- | games-fps/doom-data/doom-data-1-r1.ebuild | 42 | ||||
-rw-r--r-- | games-fps/doom-data/metadata.xml | 11 |
3 files changed, 58 insertions, 0 deletions
diff --git a/games-fps/doom-data/Manifest b/games-fps/doom-data/Manifest new file mode 100644 index 000000000000..5bcf817a901d --- /dev/null +++ b/games-fps/doom-data/Manifest @@ -0,0 +1,5 @@ +DIST doom1.wad.bz2 1689021 SHA256 77009084330d2d14540ffd78b05deef4cb5cb4058cb50cf17316fede43d4dcae SHA512 f3aa78fd1e36d2dbd176c8c5284f8cee4f39d8e34df5386fd668565e752410e2b776413c78c1e7a3571695a1668f1e4820338ebc9a2b1a0ed1a81896260534fe WHIRLPOOL 801adc114c3d2c0029e80608641e7d4e2330334305b38fc05ba1bc4caf2db188635c862d2a743b54ce8b908b541e012743242d7b91d45d4ef2a6b514c5e338a5 +EBUILD doom-data-1-r1.ebuild 993 SHA256 87b04b49457f9b27b30e8f6a7e912daf47efc0aa173468c36f064dd579afef3f SHA512 5faae3ef52e52f990a6ece6ae9c9398c892b09b7a2393fc1af6d774721b921f82848083a8bd765614aaf8de44c4ca2f437a2af2ec9dace6f9c2896abe67a2363 WHIRLPOOL c6b3b439eca41d1d4214a3aa8aaeeb186fed1752a805f9f2e48c7c97fde1c83e3f7989bb5d8fa7bce1a4a85157da5b73e91db52b977fa3d46f77d37c0f02f96d +MISC ChangeLog 2432 SHA256 f71abbad29efda9ee17378d57af2e44cdef89d919f42a34ad922bd2902f60949 SHA512 f7c20c665e648bab97f2993b113fa54cf4cb199e947aa35a42daf3afc70ffd346c238901d8e2f8bbfb25c1dc61834c051b52ebf9255bf357ca10f3e33be8dec2 WHIRLPOOL 42d324f79af7209053ffa03333d5f868a8874e5fcdb79b2e85e67153b26634d7862b43441282d76d539ebcea8eb1f2f4f6c0bd776b0124b15f7d064a0cfcf56e +MISC ChangeLog-2015 1308 SHA256 e3e70d1cb31f16055ded36c20b6a691152903f87f0f4189b8417e506225e77ed SHA512 d735fbb2082f058996d19e46c92d324061dded569e02d1ec1496e3e3e28353a26a0959e5c71c0a716b8044ed74cbc3d7b568f3bdbcdcfd481c78df78d0a35fd9 WHIRLPOOL f938d9b47b9b3870aab229f8f5e01acea227d9ffd753f331f3a23a4fe6fca88772654ff463d67dafedf86e003c250a56cd2499e2bd961b17ea1af4707cec1563 +MISC metadata.xml 347 SHA256 b9a6d614beaffc89acbc06243fc729e0ed1edfbd8ac161bcdc9f94f12af7332c SHA512 2cf8dbebdc411b37294374d196748fa23a741e5ae37946d87b74fabba84dc67811db3f5e215b82be1ec0e8543ea4e0b5e3a5e46412dffb576b3492ebb79edd3a WHIRLPOOL 9cc4a72e3dd0222090c3d5fdba5b0b4705fd6f5752be902c769b6de9a5b7467a75839b2bdeea42acbf9e315a7c8b3dd3f900536c46c7b1b2ce7a259b248a4c9f diff --git a/games-fps/doom-data/doom-data-1-r1.ebuild b/games-fps/doom-data/doom-data-1-r1.ebuild new file mode 100644 index 000000000000..eed178d54e5c --- /dev/null +++ b/games-fps/doom-data/doom-data-1-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +EAPI=5 +inherit eutils games + +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" + +DEPEND="doomsday? ( games-fps/doomsday ) + !<=games-fps/freedoom-0.4.1" +RDEPEND="${DEPEND}" + +S=${WORKDIR} + +src_install() { + insinto "${GAMES_DATADIR}"/doom-data + doins *.wad + if use doomsday; then + # Make wrapper for doomsday + games_make_wrapper doomsday-demo "jdoom -file \ + ${GAMES_DATADIR}/doom-data/doom1.wad" + make_desktop_entry doomsday-demo "Doomsday - Demo" + fi + prepgamesdirs +} + +pkg_postinst() { + games_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/metadata.xml b/games-fps/doom-data/metadata.xml new file mode 100644 index 000000000000..343e8213e1cf --- /dev/null +++ b/games-fps/doom-data/metadata.xml @@ -0,0 +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> +</pkgmetadata> |