Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 159486
Collapse All | Expand All

(-)/usr/portage/games-rpg/nwn-data/nwn-data-1.29-r1.ebuild (-25 / +7 lines)
Lines 50-56 Link Here
50
	cdinstall? (
50
	cdinstall? (
51
		games-util/biounzip
51
		games-util/biounzip
52
		app-arch/unshield )
52
		app-arch/unshield )
53
	amd64? ( cdinstall? ( ~app-arch/unshield-0.2 ) )
54
	app-arch/unzip"
53
	app-arch/unzip"
55
54
56
QA_TEXTRELS="${GAMES_PREFIX_OPT:1}/nwn/lib/libSDL-1.2.so.0.0.5
55
QA_TEXTRELS="${GAMES_PREFIX_OPT:1}/nwn/lib/libSDL-1.2.so.0.0.5
Lines 148-170 Link Here
148
		cdrom_get_cds KingmakerSetup.exe
147
		cdrom_get_cds KingmakerSetup.exe
149
		;;
148
		;;
150
	platinum_cd)
149
	platinum_cd)
151
		einfo "Shadows of the Undentride will be installed along with"
150
		einfo "Both Shadows of Undrentide and Hordes of the Underdark will"
152
		einfo "Neverwinter Nights.  If you also have Hordes of the"
151
		einfo "be installed from your CDs along with Neverwinter Nights."
153
		einfo "Underdark, it will be installed afterwards."
154
		touch .metadata/orig || die "touch orig"
152
		touch .metadata/orig || die "touch orig"
155
		touch .metadata/sou || die "touch sou"
153
		touch .metadata/sou || die "touch sou"
154
		touch .metadata/hou || die "touching hou"
156
		export CDROM_NAME_4="CD4" 
155
		export CDROM_NAME_4="CD4" 
157
		if use hou
156
		cdrom_get_cds ArcadeInstallNWNXP213f.EXE \
158
		then
157
			disk2.zip disk3.zip disk4.zip
159
			einfo "You will also need the HoU CD for this installation."
160
			export CDROM_NAME_5="HoU"
161
			cdrom_get_cds ArcadeInstallNWNXP213f.EXE \
162
				disk2.zip disk3.zip disk4.zip \
163
				ArcadeInstallNWNXP213f.EXE
164
		else
165
			cdrom_get_cds ArcadeInstallNWNXP213f.EXE \
166
				disk2.zip disk3.zip disk4.zip
167
		fi
168
		;;
158
		;;
169
	original_cd)
159
	original_cd)
170
		einfo "We will be installing the original Neverwinter Nights.  If"
160
		einfo "We will be installing the original Neverwinter Nights.  If"
Lines 245-265 Link Here
245
			cdrom_load_next_cd
235
			cdrom_load_next_cd
246
			einfo "Unpacking files..."
236
			einfo "Unpacking files..."
247
			unzip -qo "${CDROM_ROOT}"/disk3.zip || die "unpacking"
237
			unzip -qo "${CDROM_ROOT}"/disk3.zip || die "unpacking"
238
			unzip -qo "${CDROM_ROOT}"/Data_Linux.zip || die "unpacking"
239
			unzip -qo "${CDROM_ROOT}"/language_data.zip || die "unpacking"
248
			cdrom_load_next_cd
240
			cdrom_load_next_cd
249
			einfo "Unpacking files..."
241
			einfo "Unpacking files..."
250
			unzip -qo "${CDROM_ROOT}"/disk4.zip || die "unpacking"
242
			unzip -qo "${CDROM_ROOT}"/disk4.zip || die "unpacking"
251
			unzip -qo "${CDROM_ROOT}"/xp1.zip || die "unpacking"
243
			unzip -qo "${CDROM_ROOT}"/xp1.zip || die "unpacking"
252
			unzip -qo "${CDROM_ROOT}"/xp1_data.zip || die "unpacking"
244
			unzip -qo "${CDROM_ROOT}"/xp1_data.zip || die "unpacking"
253
			if use hou
254
			then
255
				cdrom_load_next_cd
256
				rm -f xp1patch.key data/xp1patch.bif override/*
257
				einfo "Unpacking files..."
258
				unzip -qo "${CDROM_ROOT}"/Data_Shared.zip || die "unpacking"
259
				unzip -qo "${CDROM_ROOT}"/Language_data.zip || die "unpacking"
260
				unzip -qo "${CDROM_ROOT}"/Language_update.zip || die "unpacking"
261
				touch .metadata/hou || die "touching hou"
262
			fi
263
			;;
245
			;;
264
		original_cd)
246
		original_cd)
265
			# Now, we need to create our directories, since we know we'll end up
247
			# Now, we need to create our directories, since we know we'll end up

Return to bug 159486