summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-01-15 00:02:03 +1100
committerMichael Palimaka <kensington@gentoo.org>2016-01-15 00:02:28 +1100
commit3ed4d9aa78467b51195e6384ec7883e0d186736d (patch)
treeb0ee87bab48cf611e34ff4892c4584099b8104ae /dev-games
parentx11-libs/libXdmcp: require libbsd with glibc only (diff)
downloadgentoo-3ed4d9aa78467b51195e6384ec7883e0d186736d.tar.gz
gentoo-3ed4d9aa78467b51195e6384ec7883e0d186736d.tar.bz2
gentoo-3ed4d9aa78467b51195e6384ec7883e0d186736d.zip
dev-games/tiled: version bump
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/tiled/Manifest1
-rw-r--r--dev-games/tiled/tiled-0.15.0.ebuild66
2 files changed, 67 insertions, 0 deletions
diff --git a/dev-games/tiled/Manifest b/dev-games/tiled/Manifest
index e73f32b01587..b021e797a1c0 100644
--- a/dev-games/tiled/Manifest
+++ b/dev-games/tiled/Manifest
@@ -1,2 +1,3 @@
DIST tiled-0.12.3.tar.gz 2372813 SHA256 8078b266cc4902451e14b1efb6c8eba69f610e5056fcb74d1d30b5b236253200 SHA512 a8b5cb2201806e6b5a0e5079a9e12fbffcbb79f2df0a193e3c3e80424df1c8c4c94ae23c1553a82a1813d4bc65d9da54d79faa41a8983233aa67023e2348cc4b WHIRLPOOL 6deb8f40aea684619c5aee3746080f0543c8a7d3dfc37d76afbd447bc34923afdbb4b676553e6e33d187a0702dfa0514ec4b567a02a95dbd4a5e87bc28c7fa92
DIST tiled-0.14.2.tar.gz 2941171 SHA256 11ab1ae659d63e0fc6b78a319eab72c3a058a57c6c4bbd334a3e9f258ac0a6f5 SHA512 5fd47f56f1f29fa5cb48ec82f3ac2f4fd3c3addcdd35fc5e4fe742b83ebafe72c67d37c21e73bd5ac383070d68ed270dacc86f6c3959abbada915dfea19b5acf WHIRLPOOL 7cefcd1753614e07ff296d63f0b1a661caae8feeab0b8fb4f032b55443fb6512473443c7329ae7969018b6861ab9fc0dcdfddf743b7e63d1b8d6a668d89a68e9
+DIST tiled-0.15.0.tar.gz 2984039 SHA256 978c6270f4e6be5996ee69d12a1c417ea3b98b0ba0a50fbe74176f193c0330d3 SHA512 a4116ea308858f4c430aaa9e4ba5b6170b561d6682d95e85028a32daa960c0533f904a2b065c9943c22c94d533f5a0ea5351962e92d53ee53a0152eaf7ef39a0 WHIRLPOOL e7f6848aeafe1f8fe75233fb5822600382fd8b6dbb9b846626f57f30bd06c2da91247ebd63ea93aef0da86227f98453f33ae08656acf3cc25b7bdf4bf0e3065f
diff --git a/dev-games/tiled/tiled-0.15.0.ebuild b/dev-games/tiled/tiled-0.15.0.ebuild
new file mode 100644
index 000000000000..5140605faa1b
--- /dev/null
+++ b/dev-games/tiled/tiled-0.15.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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/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
+}