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 / +23 lines)
Line  Link Here
0
-- games-strategy/wesnoth/wesnoth-1.10.6.ebuild
0
++ games-strategy/wesnoth/wesnoth-1.10.6.ebuild
Lines 64-69 Link Here
64
	# bug #472994
64
	# bug #472994
65
	mv icons/wesnoth-icon-Mac.png icons/wesnoth-icon.png || die
65
	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
66
	mv icons/map-editor-icon-Mac.png icons/wesnoth_editor-icon.png || die
67
68
	# Don't or install build uneeded locale
69
	LINGUAS_KNOWN="$(cat po/LINGUAS)"
70
	for L1 in ${LINGUAS}; do
71
		for L2 in ${LINGUAS_KNOWN}; do
72
			if [ ${L1} = ${L2} ]; then
73
				LINGUAS_VALID="${LINGUAS_VALID} ${L1}"
74
				break
75
			fi
76
		done
77
	done
78
	LINGUAS_VALID="${LINGUAS_VALID/ /}"
79
	if [ -n "${LINGUAS_VALID}" ]; then
80
		for LINGUAS_FILE in $(find -name LINGUAS); do
81
			echo ${LINGUAS_VALID} > ${LINGUAS_FILE}
82
		done
83
	fi
67
}
84
}
68
85
69
src_configure() {
86
src_configure() {
Lines 97-106 Link Here
97
		"-DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX}"
114
		"-DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX}"
98
		"-DDATAROOTDIR=${GAMES_DATADIR}"
115
		"-DDATAROOTDIR=${GAMES_DATADIR}"
99
		"-DBINDIR=${GAMES_BINDIR}"
116
		"-DBINDIR=${GAMES_BINDIR}"
100
		"-DICONDIR=/usr/share/pixmaps"
117
		"-DLOCALEDIR=${GAMES_DATADIR_BASE}/locale/"
101
		"-DDESKTOPDIR=/usr/share/applications"
118
		"-DICONDIR=${GAMES_DATADIR_BASE}/pixmaps"
102
		"-DMANDIR=/usr/share/man"
119
		"-DDESKTOPDIR=${GAMES_DATADIR_BASE}/applications"
103
		"-DDOCDIR=/usr/share/doc/${PF}"
120
		"-DMANDIR=${GAMES_DATADIR_BASE}/man"
121
		"-DDOCDIR=${GAMES_DATADIR_BASE}/doc/${PF}"
104
		)
122
		)
105
	cmake-utils_src_configure
123
	cmake-utils_src_configure
106
}
124
}

Return to bug 483316