summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2012-06-01 20:16:39 +0000
committerJulian Ospald <hasufell@gentoo.org>2012-06-01 20:16:39 +0000
commit786636becbcf8a9e7828430a1e1b81f0a2f129f4 (patch)
treebb8f21c34f863bd023c31731eff5a6c36c44eda0 /games-strategy/wargus-data
parentVersion bump; remove old (diff)
downloadgentoo-2-786636becbcf8a9e7828430a1e1b81f0a2f129f4.tar.gz
gentoo-2-786636becbcf8a9e7828430a1e1b81f0a2f129f4.tar.bz2
gentoo-2-786636becbcf8a9e7828430a1e1b81f0a2f129f4.zip
initial import, split from games-strategy/wargus wrt #419143
(Portage version: 2.2.0_alpha108/cvs/Linux x86_64)
Diffstat (limited to 'games-strategy/wargus-data')
-rw-r--r--games-strategy/wargus-data/ChangeLog10
-rw-r--r--games-strategy/wargus-data/Manifest3
-rw-r--r--games-strategy/wargus-data/metadata.xml5
-rw-r--r--games-strategy/wargus-data/wargus-data-0.ebuild41
4 files changed, 59 insertions, 0 deletions
diff --git a/games-strategy/wargus-data/ChangeLog b/games-strategy/wargus-data/ChangeLog
new file mode 100644
index 000000000000..861f437ea9d1
--- /dev/null
+++ b/games-strategy/wargus-data/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-strategy/wargus-data
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/wargus-data/ChangeLog,v 1.1 2012/06/01 20:16:39 hasufell Exp $
+
+*wargus-data-0 (01 Jun 2012)
+
+ 01 Jun 2012; Julian Ospald <hasufell@gentoo.org> +wargus-data-0.ebuild,
+ +metadata.xml:
+ initial import, split from games-strategy/wargus wrt #419143
+
diff --git a/games-strategy/wargus-data/Manifest b/games-strategy/wargus-data/Manifest
new file mode 100644
index 000000000000..4d5f0a1662f8
--- /dev/null
+++ b/games-strategy/wargus-data/Manifest
@@ -0,0 +1,3 @@
+EBUILD wargus-data-0.ebuild 883 RMD160 5f556843328006f867f2b1e3f0f6d8744f816c1c SHA1 748a343b7e3ae5e2a329a4da4613e82f729bd64f SHA256 4b71ec3c3b8ccf47b457f20a1100d027c572adb3ed53eea0503943c51b6b21fa
+MISC ChangeLog 312 RMD160 6e3c575b1d555455da57083e48ad87c9505be3a2 SHA1 1fc68225ab8afaeaa3f5ea28f498075842543e3a SHA256 9531b3cc82ed80a8864765afd6bd21545eba4e4f88fea1e265f0e7ee1ca3bcdb
+MISC metadata.xml 160 RMD160 f839c00d9f25c1f873f95ab899fb64060c1d0bf5 SHA1 08c3d180cf8dbef87e40c42a18b457516a5d7ffe SHA256 5ac0a3647e8149d52ce55d391cf1680ac52d6f0330be21c3bca4790b971b5e5d
diff --git a/games-strategy/wargus-data/metadata.xml b/games-strategy/wargus-data/metadata.xml
new file mode 100644
index 000000000000..f72870c0c28d
--- /dev/null
+++ b/games-strategy/wargus-data/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+</pkgmetadata>
diff --git a/games-strategy/wargus-data/wargus-data-0.ebuild b/games-strategy/wargus-data/wargus-data-0.ebuild
new file mode 100644
index 000000000000..300b0349a399
--- /dev/null
+++ b/games-strategy/wargus-data/wargus-data-0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/wargus-data/wargus-data-0.ebuild,v 1.1 2012/06/01 20:16:39 hasufell Exp $
+
+EAPI=3
+
+inherit cdrom games
+
+DESCRIPTION="Warcraft II data for wargus (needs DOS CD)"
+HOMEPAGE="http://wargus.sourceforge.net/"
+SRC_URI=""
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=games-strategy/wargus-2.2.6"
+DEPEND="${RDEPEND}
+ media-sound/cdparanoia
+ media-sound/timidity++
+ media-video/ffmpeg2theora"
+
+src_prepare() {
+ cdrom_get_cds data/rezdat.war
+}
+
+src_compile() {
+ # cdparanoia needs write acces to the cdrom device
+ # this fixes sandbox violation wrt #418051
+ local save_sandbox_write=${SANDBOX_WRITE}
+ addwrite /dev
+ "${GAMES_BINDIR}"/wartool -m -v -r "${CDROM_ROOT}"/data "${S}"/ || die
+ SANDBOX_WRITE=${save_sandbox_write}
+}
+
+src_install() {
+ insinto "${GAMES_DATADIR}"/stratagus/wargus
+ doins -r * || die
+ prepgamesdirs
+}