diff options
author | Michael Palimaka <kensington@gentoo.org> | 2016-07-09 05:28:49 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2016-07-10 03:53:38 +1000 |
commit | f995ec43b63f57d2f9385314d2650b1675845ecc (patch) | |
tree | 285dcfcb3f96f056ec8bb8b6b4b5dc4e92bb15b6 | |
parent | app-admin/keepass: amd64 stable wrt bug #585140 (diff) | |
download | gentoo-f995ec43b63f57d2f9385314d2650b1675845ecc.tar.gz gentoo-f995ec43b63f57d2f9385314d2650b1675845ecc.tar.bz2 gentoo-f995ec43b63f57d2f9385314d2650b1675845ecc.zip |
dev-games/tiled: version bump
Package-Manager: portage-2.3.0
-rw-r--r-- | dev-games/tiled/Manifest | 1 | ||||
-rw-r--r-- | dev-games/tiled/tiled-0.16.2.ebuild | 69 |
2 files changed, 70 insertions, 0 deletions
diff --git a/dev-games/tiled/Manifest b/dev-games/tiled/Manifest index d09a3aac34aa..7f5fe1e41533 100644 --- a/dev-games/tiled/Manifest +++ b/dev-games/tiled/Manifest @@ -1 +1,2 @@ DIST tiled-0.16.1.tar.gz 4506022 SHA256 c666627fc243d27fb879d85b9de841b5c82d1363f93204e5f72afd50a1373168 SHA512 425cbdc66132312326b9edc0cf4aa24116cfb0a2f89c1a51107f8bdfbf4f8c41ba450a8a3737867b2fc8bda43cfb66669e488b3c540911e60860086365939d62 WHIRLPOOL 2aea640f6a725194d7b980481d01b8b1802349a031cf8b07baf6f58cf8bc668516ef03cc1feb1275a8ea565ba0b3e200494fc677add7ada0fc20b6ddae74009b +DIST tiled-0.16.2.tar.gz 4503339 SHA256 801f607ae1eb306cbffd5d3e42ac1131dca0c0be9511118e126c8cc842474351 SHA512 a8cd9aee4111586de16935e00824b4adcea69a8e610578fa1f0cf417d2320f5e60aa97796221c9962bfbb7a0198bcfc79c47cde6f43531165d93ab6c0263060f WHIRLPOOL b1960db6c7d70ff8be7a4fa0e03df3bfe779eecbc25562e4e6d5c61c7a4963d01f42b6f716f70d23b2cd14bf16a1a5a9fee42c806f49a08cecaf88dec61eeb83 diff --git a/dev-games/tiled/tiled-0.16.2.ebuild b/dev-games/tiled/tiled-0.16.2.ebuild new file mode 100644 index 000000000000..7caaf4710ef5 --- /dev/null +++ b/dev-games/tiled/tiled-0.16.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 +} |