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

(-)/usr/portage/gnome-extra/gnome-games/gnome-games-2.30.2-r1.ebuild (-10 / +4 lines)
Lines 85-94 Link Here
85
		$(use_enable sound)
85
		$(use_enable sound)
86
		--disable-card-themes-installer
86
		--disable-card-themes-installer
87
		--disable-aisleriot-clutter
87
		--disable-aisleriot-clutter
88
		--with-scores-group=${GAMES_GROUP}
89
		--with-platform=gnome
88
		--with-platform=gnome
90
		--with-card-theme-formats=all
89
		--with-card-theme-formats=all
91
		--with-smclient
90
		--with-smclient
91
		--disable-setgid
92
		--enable-omitgames=none" # This line should be last for _omitgame
92
		--enable-omitgames=none" # This line should be last for _omitgame
93
93
94
	if ! use clutter; then
94
	if ! use clutter; then
Lines 133-151 Link Here
133
			[ -s ${game}/${doc} ] && dodoc ${game}/${doc}
133
			[ -s ${game}/${doc} ] && dodoc ${game}/${doc}
134
		done
134
		done
135
	done
135
	done
136
	rm -f "${D}"/var/lib/games/*.scores
137
	chown root:games "${D}"/usr/bin/*
138
	chmod 750 "${D}"/usr/bin/*
136
}
139
}
137
140
138
pkg_preinst() {
141
pkg_preinst() {
139
	gnome2_pkg_preinst
142
	gnome2_pkg_preinst
140
	# Avoid overwriting previous .scores files
141
	local basefile
142
	for scorefile in "${D}"/var/lib/games/*.scores; do
143
		basefile=$(basename $scorefile)
144
		if [ -s "${ROOT}/var/lib/games/${basefile}" ]; then
145
			cp "${ROOT}/var/lib/games/${basefile}" \
146
			"${D}/var/lib/games/${basefile}"
147
		fi
148
	done
149
}
143
}
150
144
151
pkg_postinst() {
145
pkg_postinst() {

Return to bug 351375