* [gentoo-commits] repo/gentoo:master commit in: games-board/capicity/
@ 2016-09-14 17:26 Austin English
0 siblings, 0 replies; only message in thread
From: Austin English @ 2016-09-14 17:26 UTC (permalink / raw
To: gentoo-commits
commit: d327d79fbb37be56f92e286ea706a81e46d849d5
Author: Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 8 21:50:53 2016 +0000
Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Wed Sep 14 17:26:33 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d327d79f
games-board/capicity: remove deprecated games eclass
Also update to EAPI 6
Gentoo-Bug: https://bugs.gentoo.org/574082
Package-Manager: portage-2.3.0
games-board/capicity/capicity-1.0-r1.ebuild | 65 +++++++++++++++++++++++++++++
1 file changed, 65 insertions(+)
diff --git a/games-board/capicity/capicity-1.0-r1.ebuild b/games-board/capicity/capicity-1.0-r1.ebuild
new file mode 100644
index 00000000..1b25e49
--- /dev/null
+++ b/games-board/capicity/capicity-1.0-r1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils gnome2-utils qmake-utils
+
+DESCRIPTION="A monopd compatible boardgame to play Monopoly-like games (previously named capitalism)"
+HOMEPAGE="http://linux-ecke.de/CapiCity/"
+SRC_URI="dedicated? ( mirror://sourceforge/project/capitalism/Capi%20City/${PV}/Capid_${PV}.tar.gz )
+ !dedicated? ( mirror://sourceforge/project/capitalism/Capi%20City/${PV}/CapiCity_${PV}.tar.gz )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dedicated"
+
+RDEPEND="
+ dev-qt/qtcore:4
+ dev-qt/qtscript:4
+ !dedicated? ( dev-qt/qtgui:4 )"
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+ default
+ S=${WORKDIR}/$(usex dedicated Capid CapiCity)_${PV}
+}
+
+src_configure() {
+ if use dedicated ; then
+ eqmake4 Capid.pro
+ else
+ eqmake4 CapiCity.pro
+ fi
+}
+
+src_install() {
+ local res
+
+ if use dedicated ; then
+ dobin Capid
+ dodoc doc/*
+ else
+ dobin CapiCity
+ dodoc changelog README
+
+ for res in 16 22 24 32 48 64; do
+ newicon -s ${res} icons/${res}x${res}.png ${PN}.png
+ done
+
+ make_desktop_entry CapiCity "Capi City"
+ fi
+}
+
+pkg_preinst() {
+ use dedicated || gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ use dedicated || gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ use dedicated || gnome2_icon_cache_update
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-09-14 17:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-14 17:26 [gentoo-commits] repo/gentoo:master commit in: games-board/capicity/ Austin English
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox