diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-rpg/lure | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-rpg/lure')
-rw-r--r-- | games-rpg/lure/Manifest | 6 | ||||
-rw-r--r-- | games-rpg/lure/lure-1.1.ebuild | 109 | ||||
-rw-r--r-- | games-rpg/lure/metadata.xml | 8 |
3 files changed, 123 insertions, 0 deletions
diff --git a/games-rpg/lure/Manifest b/games-rpg/lure/Manifest new file mode 100644 index 000000000000..fbffafa93a27 --- /dev/null +++ b/games-rpg/lure/Manifest @@ -0,0 +1,6 @@ +DIST lure-0.13.1.dat 637824 SHA256 ea047bca769ca8515ec70727ba45a1c494ed0bea5943023d330ab55f592fcd10 SHA512 2e9c3f049a0d77d94ec1f6b231cf2ee04df148115dd2daa8bc8faf717d509843949964bbed990b804bde5788ab20460ce109f166a936ed176797a093b8973f73 WHIRLPOOL 1ff6e966a2f7ecf4f719de5df7a0122f2374de7ebd33fe16ecf4faa7304b0d35217f2b9d80ccbe4bda56c441e0e8fea48d306172580e02de0b07cbcce254b53d +DIST lure-de-1.1.zip 3717138 SHA256 5e83a6a8646629c55cfd84932b10231af2ff16d96e815ed0ce86564a0b3c186b +DIST lure-en-1.1.zip 5678861 SHA256 f3178245a1483da1168c3a11e70b65d33c389f1f5df63d4f3a356886c1890108 SHA512 9c178b0df178cf70c3d912300911972589e3ecd44ad478393d423f646da79a6084dc76496dfef740f961ff0d6991d7e5cfb6d9c39e2cf1920c9276386403e281 WHIRLPOOL 369317b34771049b0a913d98302bb047fdc44fee3bdba194250bada15c898b45367d4f5fa0b89cafcf9a9f806432bda262957ed0d204286528ac3f107b4e8ff8 +DIST lure-es-1.1.zip 2176970 SHA256 9306b9faad8c0a8189d3cbbfead511fc4d993655cc845cb8e15369baed2f7bb7 +DIST lure-fr-1.1.zip 3583274 SHA256 2983149f9912a72761b1225e834a41d19aa565689b9027061a0220779694a1f8 +DIST lure-it-1.1.zip 4718011 SHA256 524270b2fb3f1caef621acf4379e3dbb69aed3c8ec1a98b38e94b290d3b046cf SHA512 1af90c8867f6426983fd3eb22651f0f2ab425b1a74110bda0277339ad82c7cffcc9ba9d9790909f5120f8a4d5c2cd82ed1ef9555511fc4c4064dd1563ec75abf WHIRLPOOL 7939a1ced2e98afef93a2ae8ca6cdc02eb1ed56bc259e7b9f7d4b2a6f0338fb6cfba2be7c993de6a5fc552b7ae54df46516b8a1e24f4c4cc05062aea586858db diff --git a/games-rpg/lure/lure-1.1.ebuild b/games-rpg/lure/lure-1.1.ebuild new file mode 100644 index 000000000000..1ccdc406214b --- /dev/null +++ b/games-rpg/lure/lure-1.1.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils games + +DAT_PV=0.13.1 +DESCRIPTION="Lure of the Temptress" +HOMEPAGE="http://www.revolution.co.uk/_display.php?id=10" +SRC_URI=" + http://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/tags/release-0-13-1/dists/engine-data/lure.dat -> lure-${DAT_PV}.dat + !linguas_en? ( !linguas_es? ( !linguas_fr? ( !linguas_de? ( !linguas_it? + ( mirror://sourceforge/scummvm/${P}.zip -> ${PN}-en-${PV}.zip ) ) ) ) ) + linguas_en? ( mirror://sourceforge/scummvm/${P}.zip -> ${PN}-en-${PV}.zip ) + linguas_es? ( mirror://sourceforge/scummvm/${PN}-es-${PV}.zip ) + linguas_fr? ( mirror://sourceforge/scummvm/${PN}-fr-${PV}.zip ) + linguas_de? ( mirror://sourceforge/scummvm/${PN}-de-${PV}.zip ) + linguas_it? ( mirror://sourceforge/scummvm/${PN}-it-${PV}.zip )" + +LICENSE="lure" +SLOT="0" +KEYWORDS="amd64 x86" +LANGS_IUSE="linguas_en linguas_es linguas_de linguas_fr linguas_it" +IUSE=${LANGS_IUSE} +RESTRICT="mirror" + +RDEPEND=">=games-engines/scummvm-0.13.1" +DEPEND="${RDEPEND} + app-arch/unzip" + +S=${WORKDIR} + +any_linguas() { + use linguas_en || use linguas_es || use linguas_de || use linguas_fr || use linguas_it +} + +src_unpack() { + local lang + + if any_linguas ; then + for lang in ${LANGS_IUSE} + do + use ${lang} && unpack ${PN}-${lang/linguas_}-${PV}.zip + done + mv lure lure-en 2> /dev/null + else + unpack ${PN}-en-${PV}.zip + fi +} + +src_prepare() { + local lang f + + find . \ + \( -iname "*exe" \ + -o -iname "*ega" \ + -o -iname LICENSE.txt \) \ + -exec rm -f '{}' + + mkdir docs + if any_linguas ; then + for lang in ${LANGS_IUSE} + do + mkdir docs/${lang} + find lure-${lang/linguas_} \ + \( -iname "*pdf" \ + -o -iname README \ + -o -iname "*txt" \) \ + -exec mv '{}' docs/${lang} \; 2> /dev/null + done + else + find lure \ + \( -iname "*pdf" \ + -o -iname README \ + -o -iname "*txt" \) \ + -exec mv '{}' docs \; 2> /dev/null + fi + for f in $(find docs -type f) + do + mv ${f} ${f%.*}.$(echo ${f#*.} | tr '[[:upper:]]' '[[:lower:]]') 2> /dev/null + done +} + +src_install() { + local lang + + if any_linguas ; then + for lang in ${LANGS_IUSE} + do + if use ${lang} ; then + lang=${lang/linguas_} + insinto "${GAMES_DATADIR}"/${PN}-${lang} + newins "${DISTDIR}"/lure-${DAT_PV}.dat lure.dat + doins -r ${PN}-${lang}/* + games_make_wrapper ${PN}-${lang} "scummvm -q ${lang} -f -p \"${GAMES_DATADIR}/${PN}-${lang}\" lure" . + make_desktop_entry ${PN}-${lang} "Lure of the Temptress (${lang})" ${PN} + docinto linguas_${lang} + dodoc docs/linguas_${lang}/* + fi + done + else + insinto "${GAMES_DATADIR}"/${PN} + newins "${DISTDIR}"/lure-${DAT_PV}.dat lure.dat + doins -r ${PN}/* + games_make_wrapper ${PN} "scummvm -f -p \"${GAMES_DATADIR}/${PN}\" lure" . + make_desktop_entry ${PN} "Lure of the Temptress" + fi + prepgamesdirs +} diff --git a/games-rpg/lure/metadata.xml b/games-rpg/lure/metadata.xml new file mode 100644 index 000000000000..f325c8eea004 --- /dev/null +++ b/games-rpg/lure/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> + <upstream> + <remote-id type="sourceforge">scummvm</remote-id> + </upstream> +</pkgmetadata> |