summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2012-08-06 14:32:28 +0000
committerMichael Palimaka <kensington@gentoo.org>2012-08-06 14:32:28 +0000
commit51591393f3bec1702802cb69a9ff18cf23178bf5 (patch)
tree95435c5756f6696f5cf99cf36d28c76e86bd7ab7 /dev-games
parent[sys-cluster/ceph] Add missing dep as per Paweł Wojtal request (diff)
downloadgentoo-2-51591393f3bec1702802cb69a9ff18cf23178bf5.tar.gz
gentoo-2-51591393f3bec1702802cb69a9ff18cf23178bf5.tar.bz2
gentoo-2-51591393f3bec1702802cb69a9ff18cf23178bf5.zip
Initial commit for bug #377569.
(Portage version: 2.1.11.9/cvs/Linux x86_64)
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/tiled/ChangeLog9
-rw-r--r--dev-games/tiled/Manifest3
-rw-r--r--dev-games/tiled/metadata.xml8
-rw-r--r--dev-games/tiled/tiled-0.8.1.ebuild48
4 files changed, 68 insertions, 0 deletions
diff --git a/dev-games/tiled/ChangeLog b/dev-games/tiled/ChangeLog
new file mode 100644
index 000000000000..75bcf4b393bc
--- /dev/null
+++ b/dev-games/tiled/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-games/tiled
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/tiled/ChangeLog,v 1.1 2012/08/06 14:32:28 kensington Exp $
+
+*tiled-0.8.1 (06 Aug 2012)
+
+ 06 Aug 2012; Michael Palimaka <kensington@gentoo.org> +metadata.xml,
+ +tiled-0.8.1.ebuild:
+ Initial commit for bug #377569.
diff --git a/dev-games/tiled/Manifest b/dev-games/tiled/Manifest
new file mode 100644
index 000000000000..071cf257654a
--- /dev/null
+++ b/dev-games/tiled/Manifest
@@ -0,0 +1,3 @@
+DIST tiled-qt-0.8.1.tar.gz 822180 SHA256 e5be7c38ceb24fbe0043648e8bc639804f3df5a60beb313eb039b2bcd56ad76c SHA512 7d5f39239b290db5abe2fda353c17b02bf58e8cdebb7a86b6cabeb93a8730fe8085e08fb41f2f34b1e8b4de43cbacfe3f7f3deee4e233ca48e6bf51dfd339a3f WHIRLPOOL 4901adf026cbadadf2b0bbab57e932d869355209d4d5dc50ef4a2386e3c7e58a94577c3c13a2bb58752edbae82ef6ff8b7fccc3feb90f249ddfd492a8f204f81
+EBUILD tiled-0.8.1.ebuild 959 SHA256 de07754277eed6f827b878b32f47978f82b89de10e56c7a1844681f5a5e190d2 SHA512 494187f369fc3da4b26b0491b1d00be1e2e2a6b5ce97cf4e11a14ee9344a72bf557a5d7fba0b4e6008fb97db3195cf159bd9b3dd3a98e1f7b1d6e0c7014f3a36 WHIRLPOOL e6914c2f993fd0943b1033b20ffb99001a7c76725378e235532703e7d27209e200c18aa89ee4271f59499fe22897a1e1bb0818c7cf418d8e2e4e950ed0bc4cf6
+MISC metadata.xml 231 SHA256 bc45b454d5d373ab3cc6b69434c9aed79221f59113b90961550b936584aff907 SHA512 d5625b91a4edda02b88e59eb9dfad6b148d602baf2eaf1fa2238df77a10e5367eb59458613d4a7dbef5c43f792344b0ce731c94ecfbf0d97f0a14ea17a35ab1e WHIRLPOOL 974891913c68ec85f5ea0d73b6c388117e929dc15cb6c80bc0fc288db602aec96940e8e741828bfcc8a6fce7bafa8464a5744d7e3b7a5d66c08c2c5004275c42
diff --git a/dev-games/tiled/metadata.xml b/dev-games/tiled/metadata.xml
new file mode 100644
index 000000000000..4731b41423ee
--- /dev/null
+++ b/dev-games/tiled/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>qt</herd>
+ <upstream>
+ <remote-id type="sourceforge">tiled</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-games/tiled/tiled-0.8.1.ebuild b/dev-games/tiled/tiled-0.8.1.ebuild
new file mode 100644
index 000000000000..d3735c59f910
--- /dev/null
+++ b/dev-games/tiled/tiled-0.8.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/tiled/tiled-0.8.1.ebuild,v 1.1 2012/08/06 14:32:28 kensington Exp $
+
+EAPI=4
+
+PLOCALES="cs de en es fr he it ja lv nl pt pt_BR ru zh"
+MY_P="${PN}-qt-${PV}"
+
+inherit multilib l10n qt4-r2
+
+DESCRIPTION="A general purpose tile map editor."
+HOMEPAGE="http://www.mapeditor.org/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="examples"
+
+DEPEND="sys-libs/zlib
+ >=x11-libs/qt-core-4.6:4
+ >=x11-libs/qt-gui-4.6:4
+ >=x11-libs/qt-opengl-4.6:4"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS=( AUTHORS COPYING NEWS README.md )
+
+src_prepare() {
+ rm -r src/zlib || die
+ sed -e "s/^LANGUAGES =.*/LANGUAGES = $(l10n_get_locales)/" \
+ -i translations/translations.pro || die
+}
+
+src_configure() {
+ eqmake4 LIBDIR="/usr/$(get_libdir)" PREFIX="/usr"
+}
+
+src_install() {
+ qt4-r2_src_install
+
+ if use examples ; then
+ insinto /usr/share/${PN}
+ doins -r examples
+ fi
+}