blob: 3a74ea1be4fd8e550517646dc198604899460be8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils games cdrom
DESCRIPTION="Broken Sword 2: The Smoking Mirror"
HOMEPAGE="http://www.revolution.co.uk/_display.php?id=15"
SRC_URI="mirror://sourceforge/scummvm/Sword2_DXA_Cutscenes.zip
http://gentooexperimental.org/~unlord/Sword2_DXA_Cutscenes.zip"
LICENSE="freedist"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="strip"
RDEPEND=">=games-engines/scummvm-0.10.0"
DEPEND="app-arch/unzip"
S=${WORKDIR}
dir=${GAMES_DATADIR}/${PN}
src_install() {
insinto "${dir}"
cdrom_get_cds Clusters/Cluster.tab \
Clusters/Carib1.clu
einfo "Copying files from Disk 1..."
doins ${CDROM_ROOT}/Clusters/Cluster.tab \
${CDROM_ROOT}/Clusters/Docks.clu \
${CDROM_ROOT}/Clusters/Font.clu \
${CDROM_ROOT}/Clusters/General.clu \
${CDROM_ROOT}/Clusters/Paris.clu \
${CDROM_ROOT}/Clusters/Players.clu \
${CDROM_ROOT}/Clusters/Quaramon.clu \
${CDROM_ROOT}/Clusters/resource.inf \
${CDROM_ROOT}/Clusters/resource.tab \
${CDROM_ROOT}/Clusters/SCRIPTS.CLU \
${CDROM_ROOT}/Clusters/Text.clu \
${CDROM_ROOT}/Clusters/Warehous.clu \
${CDROM_ROOT}/Sword2/cd.inf \
${CDROM_ROOT}/Sword2/Startup.inf || die "doins failed"
newins ${CDROM_ROOT}/Clusters/Music.clu Music1.clu || die "newins failed"
newins ${CDROM_ROOT}/Clusters/speech.clu speech1.clu || die "newins failed"
cdrom_load_next_cd
einfo "Copying files from Disk 2..."
doins ${CDROM_ROOT}/Clusters/Carib1.clu \
${CDROM_ROOT}/Clusters/Carib2.clu \
${CDROM_ROOT}/Clusters/Carib3.clu \
${CDROM_ROOT}/Clusters/credits.bmp \
${CDROM_ROOT}/Clusters/Credits.clu \
${CDROM_ROOT}/Clusters/Font.clu \
${CDROM_ROOT}/Clusters/Jungle.clu \
${CDROM_ROOT}/Clusters/Pyramid1.clu \
${CDROM_ROOT}/Clusters/Pyramid2.clu || die "doins failed"
newins ${CDROM_ROOT}/Clusters/Music.clu Music2.clu || die "newins failed"
newins ${CDROM_ROOT}/Clusters/speech.clu speech2.clu || die "newins failed"
doins *.{dxa,fla} || die "doins failed"
games_make_wrapper ${PN} "scummvm -f -p \"${dir}\" sword2"
doicon "${FILESDIR}/${PN}.png" || die "doicon failed"
make_desktop_entry ${PN} "Broken Sword 2" ${PN}.png
prepgamesdirs
}
|