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

Collapse All | Expand All

(-)file_not_specified_in_diff (-5 / +19 lines)
Line  Link Here
0
-- games-strategy/wesnoth/wesnoth-1.10.6.ebuild
0
++ games-strategy/wesnoth/wesnoth-1.10.6.ebuild
Lines 14-19 Link Here
14
KEYWORDS="amd64 ppc ~ppc64 x86 ~x86-fbsd"
14
KEYWORDS="amd64 ppc ~ppc64 x86 ~x86-fbsd"
15
IUSE="dbus dedicated doc nls server"
15
IUSE="dbus dedicated doc nls server"
16
16
17
# Defined in po/LINGUAS
18
LANGS="af ang ang@latin ar bg ca ca_ES@valencia cs da de el en@shaw en_GB eo es et eu fi fr fur_IT ga gd gl he hr hu id is it ja ko la lt lv mk mr nb_NO nl pl pt pt_BR racv ro ru sk sl sr sr@ijekavian sr@ijekavianlatin sr@latin sv tl tr uk vi zh_CN zh_TW"
19
20
for L in ${LANGS}; do
21
	IUSE+=" linguas_${L}"
22
done
23
unset L
24
17
RDEPEND=">=media-libs/libsdl-1.2.7[joystick,video,X]
25
RDEPEND=">=media-libs/libsdl-1.2.7[joystick,video,X]
18
	media-libs/sdl-net
26
	media-libs/sdl-net
19
	!dedicated? (
27
	!dedicated? (
Lines 64-69 Link Here
64
	# bug #472994
72
	# bug #472994
65
	mv icons/wesnoth-icon-Mac.png icons/wesnoth-icon.png || die
73
	mv icons/wesnoth-icon-Mac.png icons/wesnoth-icon.png || die
66
	mv icons/map-editor-icon-Mac.png icons/wesnoth_editor-icon.png || die
74
	mv icons/map-editor-icon-Mac.png icons/wesnoth_editor-icon.png || die
75
76
	# Don't or install build uneeded locale
77
	for LINGUAS_FILE in $(find -name LINGUAS); do
78
		echo ${LINGUAS} > ${LINGUAS_FILE}
79
	done
67
}
80
}
68
81
69
src_configure() {
82
src_configure() {
Lines 97-106 Link Here
97
		"-DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX}"
110
		"-DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX}"
98
		"-DDATAROOTDIR=${GAMES_DATADIR}"
111
		"-DDATAROOTDIR=${GAMES_DATADIR}"
99
		"-DBINDIR=${GAMES_BINDIR}"
112
		"-DBINDIR=${GAMES_BINDIR}"
100
		"-DICONDIR=/usr/share/pixmaps"
113
		"-DLOCALEDIR=${GAMES_DATADIR_BASE}/locale/"
101
		"-DDESKTOPDIR=/usr/share/applications"
114
		"-DICONDIR=${GAMES_DATADIR_BASE}/pixmaps"
102
		"-DMANDIR=/usr/share/man"
115
		"-DDESKTOPDIR=${GAMES_DATADIR_BASE}/applications"
103
		"-DDOCDIR=/usr/share/doc/${PF}"
116
		"-DMANDIR=${GAMES_DATADIR_BASE}/man"
117
		"-DDOCDIR=${GAMES_DATADIR_BASE}/doc/${PF}"
104
		)
118
		)
105
	cmake-utils_src_configure
119
	cmake-utils_src_configure
106
}
120
}

Return to bug 483316