Install this version:
emerge -a =games-rpg/dreamweb-1.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =games-rpg/dreamweb-1.1
Or alternatively:
emerge --autounmask-write -a =games-rpg/dreamweb-1.1
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop wrapper
DESCRIPTION="Top-down adventure game set in a gritty futuristic/dystopian city"
HOMEPAGE="https://wiki.scummvm.org/index.php/Dreamweb"
SRC_URI="doc? ( https://downloads.sourceforge.net/scummvm/${PN}-manuals-en-highres.zip )
l10n_de? ( https://downloads.sourceforge.net/scummvm/${PN}-cd-de-${PV}.zip )
l10n_en? ( https://downloads.sourceforge.net/scummvm/${PN}-cd-us-${PV}.zip )
l10n_en-GB? ( https://downloads.sourceforge.net/scummvm/${PN}-cd-uk-${PV}.zip )
l10n_es? ( https://downloads.sourceforge.net/scummvm/${PN}-cd-es-${PV}.zip )
l10n_fr? ( https://downloads.sourceforge.net/scummvm/${PN}-cd-fr-${PV}.zip )
l10n_it? ( https://downloads.sourceforge.net/scummvm/${PN}-cd-it-${PV}.zip )
!l10n_de? ( !l10n_en? ( !l10n_en-GB? ( !l10n_es? ( !l10n_fr? ( !l10n_it? \
( https://downloads.sourceforge.net/scummvm/${PN}-cd-us-${PV}.zip ) ) ) ) ) )
http://www.scummvm.org/images/cat-dreamweb.png"
S="${WORKDIR}"
LICENSE="Dreamweb"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc l10n_de +l10n_en l10n_en-GB l10n_es l10n_fr l10n_it"
RDEPEND="games-engines/scummvm[flac]"
BDEPEND="app-arch/unzip"
src_unpack() {
MY_L10N=( $(usev l10n_de) $(usev l10n_es) $(usev l10n_fr) $(usev l10n_it) )
MY_L10N+=( $(usev l10n_{en,us}) $(usev l10n_{en-GB,uk}) )
[[ ${MY_L10N} ]] || MY_L10N=( l10n_us )
local lang
for lang in "${MY_L10N[@]//l10n_/}"; do
mkdir "${S}"/${lang} || die
cd "${S}"/${lang} || die
unpack ${PN}-cd-${lang}-${PV}.zip
done
if use doc; then
mkdir "${S}"/doc || die
cd "${S}"/doc || die
unpack ${PN}-manuals-en-highres.zip
fi
}
src_prepare() {
default
rm -f */license.txt */*.EXE || die
}
src_install() {
insinto /usr/share/${PN}
local lang
for lang in "${MY_L10N[@]//l10n_/}"; do
doins -r ${lang}
make_wrapper ${PN}-${lang} "scummvm -f -p \"${EPREFIX}/usr/share/${PN}/${lang}\" ${PN}"
make_desktop_entry ${PN}-${lang} "Dreamweb (${lang})"
done
newicon "${DISTDIR}"/cat-${PN}.png ${PN}.png
use doc && dodoc -r doc/.
}
Manage flags for this package:
euse -i <flag> -p games-rpg/dreamweb |
euse -E <flag> -p games-rpg/dreamweb |
euse -D <flag> -p games-rpg/dreamweb
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | cat-dreamweb.png | 1088 bytes | http://www.scummvm.org/images/cat-dreamweb.png |
| DIST | dreamweb-cd-de-1.1.zip | 243874867 bytes | https://downloads.sourceforge.net/scummvm/dreamweb-cd-de-1.1.zip |
| DIST | dreamweb-cd-es-1.1.zip | 171154186 bytes | https://downloads.sourceforge.net/scummvm/dreamweb-cd-es-1.1.zip |
| DIST | dreamweb-cd-fr-1.1.zip | 166468360 bytes | https://downloads.sourceforge.net/scummvm/dreamweb-cd-fr-1.1.zip |
| DIST | dreamweb-cd-it-1.1.zip | 225726238 bytes | https://downloads.sourceforge.net/scummvm/dreamweb-cd-it-1.1.zip |
| DIST | dreamweb-cd-uk-1.1.zip | 226067188 bytes | https://downloads.sourceforge.net/scummvm/dreamweb-cd-uk-1.1.zip |
| DIST | dreamweb-cd-us-1.1.zip | 226360597 bytes | https://downloads.sourceforge.net/scummvm/dreamweb-cd-us-1.1.zip |
| DIST | dreamweb-manuals-en-highres.zip | 186406397 bytes | https://downloads.sourceforge.net/scummvm/dreamweb-manuals-en-highres.zip |