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

(-)/usr/portage/games-emulation/zsnes/zsnes-1.42.ebuild (-3 / +10 lines)
Lines 41-48 Link Here
41
src_unpack() {
41
src_unpack() {
42
	unpack ${A}
42
	unpack ${A}
43
	cd "${S}"/src
43
	cd "${S}"/src
44
	cp "icons/48x48x32.png" "${T}/zsnes.png"
44
	
45
	epatch "${FILESDIR}"/${PV}-configure.patch
45
	epatch "${FILESDIR}"/${PV}-configure.patch
46
	
46
	aclocal && autoconf || die "autotools failed"
47
	aclocal && autoconf || die "autotools failed"
47
}
48
}
48
49
Lines 60-66 Link Here
60
	newman src/linux/zsnes.1 zsnes.6
61
	newman src/linux/zsnes.1 zsnes.6
61
	dodoc docs/{*.txt,README.LINUX}
62
	dodoc docs/{*.txt,README.LINUX}
62
	dohtml -r docs/Linux/*
63
	dohtml -r docs/Linux/*
63
	make_desktop_entry zsnes ZSNES zsnes.png
64
64
	doicon "${T}/zsnes.png"
65
	for res in 16 32 48 64; do
66
		insinto /usr/share/icons/hicolor/${res}x${res}/apps/
67
		newins ${S}/src/icons/${res}x${res}x32.png zsnes.png
68
	done
69
	
70
	make_desktop_entry zsnes ZSNES zsnes
71
65
	prepgamesdirs
72
	prepgamesdirs
66
}
73
}

Return to bug 87678