summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-05-14 00:58:42 +1000
committerMichael Palimaka <kensington@gentoo.org>2016-05-14 00:58:46 +1000
commit2b2eee95a78997adb08f717f6066584e68d5879e (patch)
tree301432c2d6c870c38f25120235d87d42bfdde9e8 /dev-games/tiled
parentsci-astronomy/skychart: remove old (diff)
downloadgentoo-2b2eee95a78997adb08f717f6066584e68d5879e.tar.gz
gentoo-2b2eee95a78997adb08f717f6066584e68d5879e.tar.bz2
gentoo-2b2eee95a78997adb08f717f6066584e68d5879e.zip
dev-games/tiled: version bump
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-games/tiled')
-rw-r--r--dev-games/tiled/Manifest1
-rw-r--r--dev-games/tiled/tiled-0.16.1.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-games/tiled/Manifest b/dev-games/tiled/Manifest
index 606cc85f0409..098b09d131a7 100644
--- a/dev-games/tiled/Manifest
+++ b/dev-games/tiled/Manifest
@@ -1 +1,2 @@
DIST tiled-0.16.0.tar.gz 4485752 SHA256 c02df78021c07c5574a8b52fcb61a02649db039724f13ecacdd18840df7490ee SHA512 4850127fd05f477b47df3d44a25e457eade4719b2d6e295eb5e220574e8b0009c7b9b9972679b5ef539ec63c8ecc56c12be6f24e1cc611714ca8d4d9769150f3 WHIRLPOOL f42aa6dd38a223ba385a69a6f7f2e2fe2e99c4a65da2c59b915b2fe2ba9a597670f7737f57c23e2a1cb9c4b058143779c110c9c9dfdf1f833e84c5491a78c253
+DIST tiled-0.16.1.tar.gz 4506022 SHA256 c666627fc243d27fb879d85b9de841b5c82d1363f93204e5f72afd50a1373168 SHA512 425cbdc66132312326b9edc0cf4aa24116cfb0a2f89c1a51107f8bdfbf4f8c41ba450a8a3737867b2fc8bda43cfb66669e488b3c540911e60860086365939d62 WHIRLPOOL 2aea640f6a725194d7b980481d01b8b1802349a031cf8b07baf6f58cf8bc668516ef03cc1feb1275a8ea565ba0b3e200494fc677add7ada0fc20b6ddae74009b
diff --git a/dev-games/tiled/tiled-0.16.1.ebuild b/dev-games/tiled/tiled-0.16.1.ebuild
new file mode 100644
index 000000000000..0795f0bebabc
--- /dev/null
+++ b/dev-games/tiled/tiled-0.16.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+inherit fdo-mime gnome2-utils multilib python-single-r1 qmake-utils
+
+DESCRIPTION="A general purpose tile map editor"
+HOMEPAGE="http://www.mapeditor.org/"
+SRC_URI="https://github.com/bjorn/tiled/archive/v${PV}/${P}.tar.gz"
+
+LICENSE="BSD BSD-2 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="examples python"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtopengl:5
+ dev-qt/qtwidgets:5
+ sys-libs/zlib
+ python? ( ${PYTHON_DEPS} )
+"
+DEPEND="${RDEPEND}
+ dev-qt/linguist-tools:5
+"
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_configure() {
+ eqmake5 LIBDIR="/usr/$(get_libdir)" PREFIX="/usr" DISABLE_PYTHON_PLUGIN="$(usex !python)"
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+
+ dodoc AUTHORS COPYING NEWS README.md
+
+ if use examples ; then
+ docompress -x /usr/share/doc/${PF}/examples
+ dodoc -r examples
+ fi
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}