summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-games/tiled/Manifest1
-rw-r--r--dev-games/tiled/tiled-0.17.2.ebuild69
2 files changed, 70 insertions, 0 deletions
diff --git a/dev-games/tiled/Manifest b/dev-games/tiled/Manifest
index 6026be018f3a..ebce4a2a5552 100644
--- a/dev-games/tiled/Manifest
+++ b/dev-games/tiled/Manifest
@@ -1,2 +1,3 @@
DIST tiled-0.17.0.tar.gz 4852620 SHA256 f7fce2006a04c9e6e5d45a15fb31d342a4a66f7a01e1e6bc0753035cfbf42f31 SHA512 bf9b0cdd08c9091238a5e37f0670f2f3c389a46892c682a81f817e5daae0e6e3b13edf5d61a4105d9064e44585a4d6c7f7956b4c69b14488ee04af1834bf066c WHIRLPOOL 9e8b21098016cb20be66071e115f678bd10531a63b99c949e8a0e04ba6302834c414cc1ddf294f36b13bf1e43c22b9403a2aa13dc52ddbe84c24eb95d9b88ddb
DIST tiled-0.17.1.tar.gz 4854247 SHA256 11297f97370df10dd32b24a0c5ce9988b3c1903a13f2be0ebb3c20f49c5e0fb4 SHA512 97f025d4d8a2018781a0cb3c318e85f56e4b71f3c3ee6950ac2a99dfac87303690ffb72c31d2a90a5b7f9ff0ac3909a112ea0e7858a915615829a301f65acd58 WHIRLPOOL f34ad8b8d622981c833fac5a88bee762eb7a94dfc4dec8f1884c9ee980b33b6969241cf585b1963a804a62002b8a1f60d88b8139297618755a0f0ee56365bc58
+DIST tiled-0.17.2.tar.gz 4854767 SHA256 a9c5d68ccc00d89df8611df6c1c37aa8796fffcff968f3993f6d78686678c4b9 SHA512 c5c9cfe50f32adf4c146e8d9a08393b173d59aafee3df747bfb7a0137fe9580dcbf07518d6972491393f9f24289d628c4352a7359acbd06d500cd3ad0200fa42 WHIRLPOOL db45e8b2f5f743126db19d546ad9a8c0bca7e71ec9e2f54f447fcb228ab13cfb3e6d0d2f52482650b29608c31f774669427e1c6b6e3656fee529825ab0c1d533
diff --git a/dev-games/tiled/tiled-0.17.2.ebuild b/dev-games/tiled/tiled-0.17.2.ebuild
new file mode 100644
index 000000000000..7caaf4710ef5
--- /dev/null
+++ b/dev-games/tiled/tiled-0.17.2.ebuild
@@ -0,0 +1,69 @@
+# 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.6:5
+ >=dev-qt/qtgui-5.6:5
+ >=dev-qt/qtnetwork-5.6:5
+ >=dev-qt/qtopengl-5.6:5
+ >=dev-qt/qtwidgets-5.6:5
+ sys-libs/zlib
+ python? ( ${PYTHON_DEPS} )
+"
+DEPEND="${RDEPEND}
+ dev-qt/linguist-tools:5
+"
+
+DOCS=( AUTHORS COPYING NEWS.md README.md )
+
+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
+
+ einstalldocs
+
+ 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
+}