From ff39f7ce30767a2f12aed90c630e79d189b9f4ba Mon Sep 17 00:00:00 2001 From: Michael Palimaka Date: Thu, 23 Feb 2017 21:47:10 +1100 Subject: dev-games/tiled: version bump 0.18.2 Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- dev-games/tiled/Manifest | 1 + dev-games/tiled/tiled-0.18.2.ebuild | 69 +++++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 dev-games/tiled/tiled-0.18.2.ebuild (limited to 'dev-games') diff --git a/dev-games/tiled/Manifest b/dev-games/tiled/Manifest index 24bd1aafeb52..3268b454b717 100644 --- a/dev-games/tiled/Manifest +++ b/dev-games/tiled/Manifest @@ -1,3 +1,4 @@ DIST tiled-0.17.2.tar.gz 4854767 SHA256 a9c5d68ccc00d89df8611df6c1c37aa8796fffcff968f3993f6d78686678c4b9 SHA512 c5c9cfe50f32adf4c146e8d9a08393b173d59aafee3df747bfb7a0137fe9580dcbf07518d6972491393f9f24289d628c4352a7359acbd06d500cd3ad0200fa42 WHIRLPOOL db45e8b2f5f743126db19d546ad9a8c0bca7e71ec9e2f54f447fcb228ab13cfb3e6d0d2f52482650b29608c31f774669427e1c6b6e3656fee529825ab0c1d533 DIST tiled-0.18.0.tar.gz 6403889 SHA256 f3ef157e9446d7b0ec50ab8399644d52e03065e7860354f632bbbb318fe35933 SHA512 dec480c2c2fb39180ebbc241b75f864ebebf52fcbc1cd8ae114fdca57f696096d5659ba572089f8f40339bc0c92fa6cdb36774773b808cc187d790542f6b16be WHIRLPOOL 3b31250bf69f69264f3688715290123c7ef76d0a5621d14621929a7b524e501576a26bac9988a292a8dd3cbe0a6231744728bceaf84272cad31c995cc5a9e156 DIST tiled-0.18.1.tar.gz 6407937 SHA256 7fcd31a6f1307e51e3e72666ada43b85e2afaa95559d48f511c39494c30d2e73 SHA512 d7918ad81f6563910d10260f50d37a6d01df649cc653a657ed24a59e4f1b0b0b10df30fed40c9c082cec0548b41b7b04662aefc6b08b721fc04a291bee7df062 WHIRLPOOL c36f5a41b1962fd0615a0989beef7dae6cb58af7d881b703527caebfca12e9c966f6fdb3231a7f2f19ed298d06ad076957ba1f63db6b029b342abe0248ffaf47 +DIST tiled-0.18.2.tar.gz 6409369 SHA256 575e110dd4904f785222d9a298f63eddf5c5b0b8f1450cb684ef3a9ae91292cd SHA512 6cb6844541fc4e52e05e8d12974af395161fbe0c03dddd9be362b6df7a88620ddf13c3a96f8cdb175662d3ae13f162137cf74b6b4c2664ca7dd753e3cb48cd26 WHIRLPOOL 2945156eb99f88d65fa276e1d9a52724e09c996b35fa2bf1d198a41f5785cd52da3d090c268ac4a445dbf94cac12b66ab515b0786ff8bcd9798176220cc937bf diff --git a/dev-games/tiled/tiled-0.18.2.ebuild b/dev-games/tiled/tiled-0.18.2.ebuild new file mode 100644 index 000000000000..1fc4755b1b5c --- /dev/null +++ b/dev-games/tiled/tiled-0.18.2.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2017 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 +} -- cgit v1.2.3-65-gdbad