summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2018-03-28 10:48:59 +0000
committerMichael Palimaka <kensington@gentoo.org>2018-03-28 22:44:40 +1100
commit19d3019f7b916cce237596c779b844814ace795c (patch)
treedb5968d4d0a450c3e406baf53ccbf7e40821df4e /dev-games
parentdev-perl/XML-Handler-YAWriter: EAPI6 + tests (diff)
downloadgentoo-19d3019f7b916cce237596c779b844814ace795c.tar.gz
gentoo-19d3019f7b916cce237596c779b844814ace795c.tar.bz2
gentoo-19d3019f7b916cce237596c779b844814ace795c.zip
dev-games/tiled: Bump to 1.1.4
Closes: https://github.com/gentoo/gentoo/pull/7681 Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/tiled/Manifest1
-rw-r--r--dev-games/tiled/tiled-1.1.4.ebuild63
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-games/tiled/Manifest b/dev-games/tiled/Manifest
index ccc2fc77700..5520c22b630 100644
--- a/dev-games/tiled/Manifest
+++ b/dev-games/tiled/Manifest
@@ -3,3 +3,4 @@ DIST tiled-1.1.0.tar.gz 15963801 BLAKE2B 69cba29e2bc501829636afae21cc02a48157d73
DIST tiled-1.1.1.tar.gz 15965530 BLAKE2B 75eb78637546478f85e2c0221b58ba8adaad7ba115e17e0e6f945ae474d7f213fe00124a877b144dad78b933f6fbad6764ee9d7b3b00a019358b2613d6e88778 SHA512 bc831d9d4b45887ca98a421580abf48f5af3e0fb5efd05bb7fdb209313a8a3a5958ce6814369c99396ca0ef029cd93fe9b133dddc5ebeea9c166eb42be2a0ea1
DIST tiled-1.1.2.tar.gz 15967235 BLAKE2B 189012de7aa2d66272658acd81976d27b1cfb1f03790ea45830c849df40e6c2f7f31c9c23837c3c362af1ccfd9f3204a562f143277f56e6e529033d37565a51b SHA512 fe3103a40086a8ac263326a8f3d4b69de1d0e8cdea5b6d1ec7fe450d64e6ce8d74c09c5777204d780807d4ac9f08d34943af8d2d91102190dc98a4e385c34e2c
DIST tiled-1.1.3.tar.gz 16026714 BLAKE2B f643cdc3bbc1204066afeb01536d7cae47c7f86097b31c186282e895421b1e22536bece65a00a885fc26e6bf7ed7760c5eb542660a3560b835ac8c0add573409 SHA512 680529c889d68446a3afdff6e2e9ec8a58d8cdb6eda627978bfed8d44bd066ebc79942e9f742ab49fd669d81b01fe7ae062068fa3b2709753afa0d5dfee2881f
+DIST tiled-1.1.4.tar.gz 16029257 BLAKE2B 622afd39623af2b713accca5d6ae989224547833e566d1506c90ea846159481f438a484f4a923e9040949bac2d3903e97e23e57f311eb235c68cdad3ee2335f0 SHA512 861f4916968d88bfbf0359db3972994d98608fe9aa4e405a2e89f1c7a11e2521c8c5e18796809db5597b123706dcad0d120221f1e3143dd6e310111487d1aec3
diff --git a/dev-games/tiled/tiled-1.1.4.ebuild b/dev-games/tiled/tiled-1.1.4.ebuild
new file mode 100644
index 00000000000..518492b3f37
--- /dev/null
+++ b/dev-games/tiled/tiled-1.1.4.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+inherit gnome2-utils multilib python-single-r1 qmake-utils xdg
+
+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.7:5
+ >=dev-qt/qtgui-5.7:5
+ >=dev-qt/qtnetwork-5.7:5
+ >=dev-qt/qtwidgets-5.7: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_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}