games-rpg/lure - 1.1 (gentoo)

Search

Install

Install this version:

emerge -a =games-rpg/lure-1.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =games-rpg/lure-1.1

Or alternatively:

emerge --autounmask-write -a =games-rpg/lure-1.1

Package Information

Description:
Play as the young peasant named Diermot who has to overthrow an evil sorceress
Homepage:
https://revolution.co.uk/games_catalog/lure-of-the-temptress-copy/
License:
lure

Ebuild Details

Version EAPI Keywords Slot
1.1 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit desktop wrapper

DAT_PV="0.13.1"

DESCRIPTION="Play as the young peasant named Diermot who has to overthrow an evil sorceress"
HOMEPAGE="https://revolution.co.uk/games_catalog/lure-of-the-temptress-copy/"
SRC_URI="
	https://raw.githubusercontent.com/scummvm/scummvm/266aef932a8a052df897e4d79b4572e5d169916f/dists/engine-data/lure.dat -> lure-${DAT_PV}.dat
	l10n_en? ( https://downloads.sourceforge.net/scummvm/${P}.zip -> ${PN}-en-${PV}.zip )
	l10n_es? ( https://downloads.sourceforge.net/scummvm/${PN}-es-${PV}.zip )
	l10n_fr? ( https://downloads.sourceforge.net/scummvm/${PN}-fr-${PV}.zip )
	l10n_de? ( https://downloads.sourceforge.net/scummvm/${PN}-de-${PV}.zip )
	l10n_it? ( https://downloads.sourceforge.net/scummvm/${PN}-it-${PV}.zip )
	!l10n_en? ( !l10n_es? ( !l10n_fr? ( !l10n_de? ( !l10n_it?
		( https://downloads.sourceforge.net/scummvm/${P}.zip -> ${PN}-en-${PV}.zip ) ) ) ) )"
S="${WORKDIR}"

LICENSE="lure"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="l10n_de +l10n_en l10n_es l10n_fr l10n_it"

RDEPEND="games-engines/scummvm"
BDEPEND="app-arch/unzip"

src_install() {
	local my_l10n=( $(usev l10n_es) $(usev l10n_de) $(usev l10n_en) $(usev l10n_fr) $(usev l10n_it) )
	[[ ${my_l10n} ]] || my_l10n=( l10n_en )

	local lang name
	for lang in "${my_l10n[@]//l10n_/}"; do
		[[ ${lang} == en ]] && name=${PN} || name=${PN}-${lang}

		insinto /usr/share/${PN}/${lang}
		newins "${DISTDIR}"/${PN}-${DAT_PV}.dat ${PN}.dat
		doins ${name}/D*[1-4].[vV][gG][aA]

		docinto ${lang}
		dodoc ${name}/{Manual.pdf,README}
		newdoc ${name}/PROTECT.PDF PROTECT.pdf

		make_wrapper ${PN}-${lang} "scummvm -q ${lang} -f -p \"${EPREFIX}/usr/share/${PN}/${lang}\" lure"
		make_desktop_entry ${PN}-${lang} "Lure of the Temptress (${lang})" applications-games
	done
}

USE Flags

Manage flags for this package: euse -i <flag> -p games-rpg/lure | euse -E <flag> -p games-rpg/lure | euse -D <flag> -p games-rpg/lure

USE_EXPAND: l10n

l10n_en
Default: Enabled (+)

Inherited Eclasses

Dependencies

RDEPEND

games-engines/scummvm

BDEPEND

app-arch/unzip

Manifest for 1.1

Type File Size Source URLs
DIST lure-0.13.1.dat 637824 bytes https://raw.githubusercontent.com/scummvm/scummvm/266aef932a8a052df897e4d79b4572e5d169916f/dists/engine-data/lure.dat
DIST lure-de-1.1.zip 3717138 bytes https://downloads.sourceforge.net/scummvm/lure-de-1.1.zip
DIST lure-en-1.1.zip 5678861 bytes https://downloads.sourceforge.net/scummvm/lure-1.1.zip
DIST lure-es-1.1.zip 2176970 bytes https://downloads.sourceforge.net/scummvm/lure-es-1.1.zip
DIST lure-fr-1.1.zip 3583274 bytes https://downloads.sourceforge.net/scummvm/lure-fr-1.1.zip
DIST lure-it-1.1.zip 4718011 bytes https://downloads.sourceforge.net/scummvm/lure-it-1.1.zip