Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 88521 | Differences between
and this patch

Collapse All | Expand All

(-)nwn-data-1.29.ebuild.orig (-3 / +33 lines)
Lines 25-31 Link Here
25
LICENSE="NWN-EULA"
25
LICENSE="NWN-EULA"
26
SLOT="0"
26
SLOT="0"
27
KEYWORDS="~amd64 ~x86"
27
KEYWORDS="~amd64 ~x86"
28
IUSE="nowin sou hou"
28
IUSE="nowin sou hou plat"
29
RESTRICT="nostrip nomirror"
29
RESTRICT="nostrip nomirror"
30
30
31
RDEPEND="virtual/x11
31
RDEPEND="virtual/x11
Lines 51-56 Link Here
51
	then
51
	then
52
		 echo "You will need the HoU CD for this installation."
52
		 echo "You will need the HoU CD for this installation."
53
		cdrom_get_cds ArcadeInstallNWNXP213f.EXE
53
		cdrom_get_cds ArcadeInstallNWNXP213f.EXE
54
	elif use plat
55
	then
56
	    echo "You will need all 4 CDs for this installation."
57
		cdrom_get_cds Data_Shared.zip \
58
			disk2.zip \
59
			disk3.zip \
60
			disk4.zip
54
	fi
61
	fi
55
}
62
}
56
63
Lines 59-70 Link Here
59
	cd "${S}"
66
	cd "${S}"
60
	unpack nwclient129.tar.gz
67
	unpack nwclient129.tar.gz
61
	cd "${WORKDIR}"
68
	cd "${WORKDIR}"
62
	use nowin && unpack nwresources129.tar.gz
69
	use nowin && !use plat unpack nwresources129.tar.gz
63
	cd "${S}"
70
	cd "${S}"
64
	rm -rf override/*
71
	rm -rf override/*
65
	# the following is so ugly, please pretend it doesnt exist
72
	# the following is so ugly, please pretend it doesnt exist
66
	declare -a Aarray=(${A})
73
	declare -a Aarray=(${A})
67
	use nowin && if [ "${#Aarray[*]}" == "3" ]; then
74
	use nowin && !use plat && if [ "${#Aarray[*]}" == "3" ]; then
68
		unpack ${Aarray[1]}
75
		unpack ${Aarray[1]}
69
	fi
76
	fi
70
	if use sou
77
	if use sou
Lines 87-92 Link Here
87
		unzip -o ${CDROM_ROOT}/Language_data.zip
94
		unzip -o ${CDROM_ROOT}/Language_data.zip
88
		unzip -o ${CDROM_ROOT}/Language_update.zip
95
		unzip -o ${CDROM_ROOT}/Language_update.zip
89
	fi
96
	fi
97
	# plainum CDs contain all the resources necessary
98
	# may need to change order and all that
99
	if use plat
100
	then
101
	   # Disk 1
102
		unzip -o ${CDROM_ROOT}/Data_Shared.zip
103
		unzip -o ${CDROM_ROOT}/Language_data.zip
104
		unzip -o ${CDROM_ROOT}/Language_update.zip
105
		cdrom_load_next_cd
106
		# Disk 2
107
		unzip -o ${CDROM_ROOT}/disk2.zip
108
		cdrom_load_next_cd
109
		# Disk 3
110
		unzip -o ${CDROM_ROOT}/disk3.zip
111
		unzip -o ${CDROM_ROOT}/language_data.zip
112
		unzip -o ${CDROM_ROOT}/Data_Linux.zip
113
		cdrom_load_next_cd
114
		# Disk 4
115
		unzip -o ${CDROM_ROOT}/disk4.zip
116
		unzip -o ${CDROM_ROOT}/xp1.zip
117
		unzip -o ${CDROM_ROOT}/xp1_data.zip
118
	fi
119
90
	sed -i -e '\:^./nwmain .*:i \
120
	sed -i -e '\:^./nwmain .*:i \
91
if [[ -f ./nwmouse.so ]]; then \
121
if [[ -f ./nwmouse.so ]]; then \
92
	export XCURSOR_PATH="$(pwd)" \
122
	export XCURSOR_PATH="$(pwd)" \

Return to bug 88521