From f26cd97425274e0799a8acfc717d451db23edf8a Mon Sep 17 00:00:00 2001 From: Michael Palimaka Date: Thu, 31 Mar 2016 22:38:05 +1100 Subject: dev-games/tiled: version bump Package-Manager: portage-2.2.28 --- dev-games/tiled/Manifest | 1 + dev-games/tiled/tiled-0.16.0.ebuild | 67 +++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 dev-games/tiled/tiled-0.16.0.ebuild (limited to 'dev-games/tiled') diff --git a/dev-games/tiled/Manifest b/dev-games/tiled/Manifest index 847599b5f5d7..57f8d7aad943 100644 --- a/dev-games/tiled/Manifest +++ b/dev-games/tiled/Manifest @@ -1 +1,2 @@ DIST tiled-0.15.2.tar.gz 3004096 SHA256 af662bba4d7b930717359484da4f3cae0ae004d0a9e51f0eeb04704cefd74ee1 SHA512 0c866ad6733ed37a60967f9826d632e4e72669289329b8db0799dafc99b95a18ec3c9e9b454ea925f4289b6d05e06268533858c8b02f7b43a224a64255a7c214 WHIRLPOOL c920f8cd7130fc055eb08bb550439e473a638a6a305eee1b70af59f1294ff25b0511c40707538200438e857f45f9909059792bf8b9bfe39849262c5eb6767187 +DIST tiled-0.16.0.tar.gz 4485752 SHA256 c02df78021c07c5574a8b52fcb61a02649db039724f13ecacdd18840df7490ee SHA512 4850127fd05f477b47df3d44a25e457eade4719b2d6e295eb5e220574e8b0009c7b9b9972679b5ef539ec63c8ecc56c12be6f24e1cc611714ca8d4d9769150f3 WHIRLPOOL f42aa6dd38a223ba385a69a6f7f2e2fe2e99c4a65da2c59b915b2fe2ba9a597670f7737f57c23e2a1cb9c4b058143779c110c9c9dfdf1f833e84c5491a78c253 diff --git a/dev-games/tiled/tiled-0.16.0.ebuild b/dev-games/tiled/tiled-0.16.0.ebuild new file mode 100644 index 000000000000..0795f0bebabc --- /dev/null +++ b/dev-games/tiled/tiled-0.16.0.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 +} -- cgit v1.2.3-65-gdbad