summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhasufell <hasufell@gentoo.org>2012-12-17 22:45:44 +0100
committerhasufell <hasufell@gentoo.org>2012-12-17 22:45:44 +0100
commitd512978998289cdee5e681bffaecf6a069dfe60f (patch)
treeb5f17964748450bfcdf23cf189dc7cc42951d625 /games-rpg
parentdev-perl/Parse-DebianChangelog: New Ebuild for bug #447044 (diff)
downloadsunrise-d512978998289cdee5e681bffaecf6a069dfe60f.tar.gz
sunrise-d512978998289cdee5e681bffaecf6a069dfe60f.tar.bz2
sunrise-d512978998289cdee5e681bffaecf6a069dfe60f.zip
games-rpg/penumbra-collection imported into main tree wrt #278326
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/penumbra-collection/ChangeLog30
-rw-r--r--games-rpg/penumbra-collection/Manifest4
-rw-r--r--games-rpg/penumbra-collection/metadata.xml5
-rw-r--r--games-rpg/penumbra-collection/penumbra-collection-1.1.ebuild187
4 files changed, 0 insertions, 226 deletions
diff --git a/games-rpg/penumbra-collection/ChangeLog b/games-rpg/penumbra-collection/ChangeLog
deleted file mode 100644
index 505e10ddf..000000000
--- a/games-rpg/penumbra-collection/ChangeLog
+++ /dev/null
@@ -1,30 +0,0 @@
-# ChangeLog for games-rpg/penumbra-collection
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
- 31 Dec 2011; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
- penumbra-collection-1.1.ebuild:
- Drop app-arch/lzma-utils from depend, no longer in main tree
-
- 07 Oct 2011; Markos Chandras <hwoarang@gentoo.org>
- penumbra-collection-1.1.ebuild:
- Fix SLOT for x11-libs/fltk dependency
-
- 21 May 2010; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
- penumbra-collection-1.1.ebuild:
- Add missing quotes
-
- 16 May 2010; Robert Cernansky (HS) <openhs@users.sourceforge.net>
- -penumbra-collection-1.0.ebuild, +penumbra-collection-1.1.ebuild:
- Version bump. Make cache files newer than models to avoid crashes like
- reported in #278326 comment #6. No need for bundled libopenal anymore.
-
- 05 May 2010; Robert Cernansky (HS) <openhs@users.sourceforge.net>
- penumbra-collection-1.0.ebuild:
- Depend either on xz-utils or lzma-utils. Thanks to Arun Raghavan for reporting.
-
- 19 Jul 2009; Robert Cernansky (HS) <openhs@users.sourceforge.net>
- +penumbra-collection-1.0.ebuild, +metadata.xml:
- New ebuild for bug 278326. Reviewed by several people on gentoo-sunrise.
- Keyworded amd64 but should work on x86 too.
-
diff --git a/games-rpg/penumbra-collection/Manifest b/games-rpg/penumbra-collection/Manifest
deleted file mode 100644
index 14edaf482..000000000
--- a/games-rpg/penumbra-collection/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-DIST PenumbraCollection-1.1.sh 949267761 RMD160 12a95483e4fc03e0610184a68855344e78934d7b SHA1 247de2b7f1cd1331efca2fe98a371673463e6e76 SHA256 e0fdbdbb7e3766629cabd3903675a2f54f1a5206f67d590dd1553576338f3dab
-EBUILD penumbra-collection-1.1.ebuild 5286 RMD160 9084d6a427096cb23c8f489740cd4d85663bbcc3 SHA1 fcc490255087cdefebb6100bdfb8a7c49073d13f SHA256 c9ebf2c1324dd2cc54289fcc2740d212dc4a78a6ea3c7bd40147a964066e7ff3
-MISC ChangeLog 1238 RMD160 39ba429f78c4b85f83348b7d0205c4c4be51ff67 SHA1 0d0d60bbc1f5c2c24ac28493fec29cfbce3d305c SHA256 c42a8af316aa2b30091413acc35dedc55e41a949462b7d973aff6c17a88b8aa2
-MISC metadata.xml 208 RMD160 c18611400760e42bdd001905be0a63c2e963bcea SHA1 595816105cac477cb85792a182e15888029118a1 SHA256 c4841c87f0c2b9b5e679a27dc72180be8d508fb3f5df0fbab2ec2c805c0a6d82
diff --git a/games-rpg/penumbra-collection/metadata.xml b/games-rpg/penumbra-collection/metadata.xml
deleted file mode 100644
index 31dc017fa..000000000
--- a/games-rpg/penumbra-collection/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
-</pkgmetadata>
diff --git a/games-rpg/penumbra-collection/penumbra-collection-1.1.ebuild b/games-rpg/penumbra-collection/penumbra-collection-1.1.ebuild
deleted file mode 100644
index fe6a98c63..000000000
--- a/games-rpg/penumbra-collection/penumbra-collection-1.1.ebuild
+++ /dev/null
@@ -1,187 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=1
-
-inherit eutils games
-
-# define own package name
-MY_PN="PenumbraCollection"
-
-DESCRIPTION="Scary first-person adventure game trilogy which focuses on story, immersion and puzzles"
-HOMEPAGE="http://www.penumbragame.com/"
-SRC_URI="${MY_PN}-${PV}.sh"
-
-LICENSE="PENUMBRA-COLLECTION"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-PROPERTIES="interactive"
-RESTRICT="fetch strip"
-
-DEPEND="app-arch/xz-utils"
-RDEPEND="virtual/opengl
- x86? (
- x11-libs/libXft
- media-libs/freealut
- media-gfx/nvidia-cg-toolkit
- x11-libs/fltk:1
- media-libs/sdl-image
- media-libs/sdl-ttf
- media-libs/libvorbis )
- amd64? (
- app-emulation/emul-linux-x86-sdl )"
-
-GAMES_CHECK_LICENSE="yes"
-dir=${GAMES_PREFIX_OPT}/${MY_PN}
-INSTALL_KEY_FILE=${dir}/collectionkey
-
-S=${WORKDIR}/${MY_PN}
-
-pkg_nofetch() {
- einfo "Please buy & download ${SRC_URI} from:"
- einfo " ${HOMEPAGE}"
- einfo "and move it to ${DISTDIR}"
- einfo
-}
-
-src_unpack() {
- unpack_makeself || die "unpack installator"
-
- # give proper extension to subarchive so unpack recognizes it
- mv subarch subarch.tar.lzma || die "rename subarch"
-
- unpack ./subarch.tar.lzma || die "unpack install archive"
-
- # give proper extension to install archive so unpack recognizes it
- mv instarchive_all instarchive_all.tar.lzma || \
- die "rename instarchive_all"
-
- unpack ./instarchive_all.tar.lzma || die "unpack install archive"
-}
-
-src_install() {
-
- # perform instalation for each episode; note that Requiem is extension of
- # Black Plague so it has no dedicated directory at this level
- for episodeDir in Overture BlackPlague; do
- local destDir="${dir}/${episodeDir}"
-
- # install game data files
- insinto ${destDir}
-
- # >install every directory recursively except lib
- for directory in \
- $(find ${episodeDir}/* -maxdepth 0 -type d ! -name lib); do
- doins -r ${directory} || die "doins game data files"
- done
-
- # >install .cfg files
- doins ${episodeDir}/*.cfg || die "doins .cfg files"
-
- # install libraries and executables
- exeinto ${destDir}
- doexe ${episodeDir}/openurl.sh ${episodeDir}/*.bin || \
- die "doexe binaries"
-
- # >amd64 does not provide some libs, use bundled ones
- if use amd64 ; then
- exeinto "${dir}/${episodeDir}/lib"
- for library in \
- libfltk.so.1.1 \
- libCgGL.so \
- libCg.so; do
- doexe ${episodeDir}/lib/${library} || die "doexe libraries"
- done
- fi
-
- # make sure that cache files are newer than models otherwise the game
- # tries to regenerate them which sometimes causes a crash (as reported
- # in bug #278326 comment #6)
- touch "${D}"/${destDir}/core/*cache/*
- done
-
- # install icons
- newicon Overture/penumbra.png penumbra-overture.png || \
- die "newicon overture"
- newicon BlackPlague/penumbra.png penumbra-blackplague.png || \
- die "newicon black plague"
- newicon BlackPlague/requiem.png penumbra-requiem.png || \
- die "newicon requiem"
-
- # make game wrappers
- games_make_wrapper penumbra-overture ./penumbra.bin \
- "${dir}/Overture" "${dir}/Overture/lib" || \
- die "games_make_wrapper overture"
- games_make_wrapper penumbra-blackplague ./blackplague.bin \
- "${dir}/BlackPlague" "${dir}/BlackPlague/lib" || \
- die "games_make_wrapper black plague"
- games_make_wrapper penumbra-requiem ./requiem.bin \
- "${dir}/BlackPlague" "${dir}/BlackPlague/lib" || \
- die "games_make_wrapper requiem"
-
- # make desktop entries
- make_desktop_entry penumbra-overture "Penumbra: Overture" \
- penumbra-overture || die "make_desktop_entry overture"
- make_desktop_entry penumbra-blackplague "Penumbra: Black Plague" \
- penumbra-blackplague || die "make_desktop_entry black plague"
- make_desktop_entry penumbra-requiem "Penumbra: Requiem" \
- penumbra-requiem || die "make_desktop_entry requiem"
-
- # install documentation
- docinto Overture
- dodoc Overture/CHANGELOG.txt Overture/Manual.pdf Overture/README.linux || \
- die "dodoc overture"
- docinto BlackPlague
- dodoc BlackPlague/Manual.pdf BlackPlague/README.linux || \
- die "dodoc black plague"
-
- prepgamesdirs
-}
-
-pkg_postinst() {
- games_pkg_postinst
-
- if [[ -f "${INSTALL_KEY_FILE}" ]] ; then
- einfo "The installation key file already exists: ${INSTALL_KEY_FILE}"
- else
- ewarn "You MUST run this before playing the game:"
- ewarn " emerge --config ${PN}"
- ewarn "To enter your installation key."
- fi
-}
-
-pkg_config() {
- local key1 key2
-
- ewarn "Your installation key is NOT checked for validity here."
- ewarn "Make sure you type it in correctly."
- ewarn "If you CTRL+C out of this, the game will not run!"
- echo
- einfo "The key format is: XXXX-XXXX-XXXX-XXXX"
- while true ; do
- einfo "Please enter your key:"
- read key1
- if [[ -z "${key1}" ]] ; then
- echo "You entered a blank key. Try again."
- continue
- fi
- einfo "Please re-enter your key:"
- read key2
- if [[ -z "${key2}" ]] ; then
- echo "You entered a blank key. Try again."
- continue
- fi
-
- if [[ "${key1}" == "${key2}" ]] ; then
- echo "${key1}" | tr a-z A-Z > "${INSTALL_KEY_FILE}"
- echo -e "// Do not give this file to ANYONE.\n// Frictional Games Support will NEVER ask for this file" \
- >> "${INSTALL_KEY_FILE}"
- einfo "Thanks, created ${INSTALL_KEY_FILE}"
- break
- else
- eerror "Your installation key entries do not match. Try again."
- fi
- done
-}