1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit eutils gnome2-utils qmake-utils games
8 DESCRIPTION="A monopd compatible boardgame to play Monopoly-like games (previously named capitalism)"
9 HOMEPAGE="http://linux-ecke.de/CapiCity/"
10 SRC_URI="dedicated? ( mirror://sourceforge/project/capitalism/Capi%20City/${PV}/Capid_${PV}.tar.gz )
11 !dedicated? ( mirror://sourceforge/project/capitalism/Capi%20City/${PV}/CapiCity_${PV}.tar.gz )"
21 !dedicated? ( dev-qt/qtgui:4 )"
26 S=${WORKDIR}/$(usex dedicated Capid CapiCity)_${PV}
30 if use dedicated ; then
40 if use dedicated ; then
45 dodoc changelog README
47 for res in 16 22 24 32 48 64; do
48 newicon -s ${res} icons/${res}x${res}.png ${PN}.png
51 make_desktop_entry CapiCity "Capi City"
58 use dedicated || gnome2_icon_savelist
63 use dedicated || gnome2_icon_cache_update
67 use dedicated || gnome2_icon_cache_update