diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-board/capicity | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-board/capicity')
-rw-r--r-- | games-board/capicity/Manifest | 2 | ||||
-rw-r--r-- | games-board/capicity/capicity-1.0.ebuild | 68 | ||||
-rw-r--r-- | games-board/capicity/metadata.xml | 8 |
3 files changed, 78 insertions, 0 deletions
diff --git a/games-board/capicity/Manifest b/games-board/capicity/Manifest new file mode 100644 index 000000000000..a2d50255efa9 --- /dev/null +++ b/games-board/capicity/Manifest @@ -0,0 +1,2 @@ +DIST CapiCity_1.0.tar.gz 363899 SHA256 b4efa91aa7476dd9769cea151239bfcd9afa35cb28afd574d9bb7fdfaba1a33b SHA512 0d2b03bb806e13dabe8fad8dc8c00ce43944229e79f2ad573bd3d4e384e472937818558ddc2ff9e5d45c88bf66d2300d447265c0d4045255ca626dbc26dcc0cc WHIRLPOOL 3ab82f69c60e608f6bb33c97c475c7d42aa424801f5d3860f11b7f0b61943da94dff4ae0a0ca6345f5d34cbb210163de9f2fbc2a182a64906aabfff1386573c9 +DIST Capid_1.0.tar.gz 95151 SHA256 b4fd6808dbe1a7968c5996abb722aff53c98531e53afad4f424221c88ce18c4a SHA512 9bb9bf3e8dc17689cf404dae414759821317b100e553f074fc1a66921fa59161df48839f3f26c040c3045621ff4ab62af3b9919509cef0d9f21bf8a03003166a WHIRLPOOL 4ff278a8c84d23dd2db37de4d1f044588f006fd5701cbe23a5d4c68033df7260aa263745c1731137910fe63d8ae443738aff643efae094896ecaa0658def7b90 diff --git a/games-board/capicity/capicity-1.0.ebuild b/games-board/capicity/capicity-1.0.ebuild new file mode 100644 index 000000000000..c907f79653d2 --- /dev/null +++ b/games-board/capicity/capicity-1.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils gnome2-utils qmake-utils games + +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 + dogamesbin Capid + dodoc doc/* + else + dogamesbin 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 + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + use dedicated || gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + use dedicated || gnome2_icon_cache_update +} + +pkg_postrm() { + use dedicated || gnome2_icon_cache_update +} diff --git a/games-board/capicity/metadata.xml b/games-board/capicity/metadata.xml new file mode 100644 index 000000000000..e000fe16f06e --- /dev/null +++ b/games-board/capicity/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> + <upstream> + <remote-id type="sourceforge">capitalism</remote-id> + </upstream> +</pkgmetadata> |