diff options
author | Michael Palimaka <kensington@gentoo.org> | 2016-11-13 00:07:49 +1100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2016-11-13 00:08:05 +1100 |
commit | ae6228fda7db0884013ffec8e4a4887360975114 (patch) | |
tree | 24d171361ba265a05d4c1a8961db68c26376f541 /dev-games | |
parent | kde-misc/kio-gdrive: version bump (diff) | |
download | gentoo-ae6228fda7db0884013ffec8e4a4887360975114.tar.gz gentoo-ae6228fda7db0884013ffec8e4a4887360975114.tar.bz2 gentoo-ae6228fda7db0884013ffec8e4a4887360975114.zip |
dev-games/tiled: version bump
Package-Manager: portage-2.3.2
Diffstat (limited to 'dev-games')
-rw-r--r-- | dev-games/tiled/Manifest | 1 | ||||
-rw-r--r-- | dev-games/tiled/tiled-0.17.1.ebuild | 69 |
2 files changed, 70 insertions, 0 deletions
diff --git a/dev-games/tiled/Manifest b/dev-games/tiled/Manifest index 0dcab5336612..6026be018f3a 100644 --- a/dev-games/tiled/Manifest +++ b/dev-games/tiled/Manifest @@ -1 +1,2 @@ DIST tiled-0.17.0.tar.gz 4852620 SHA256 f7fce2006a04c9e6e5d45a15fb31d342a4a66f7a01e1e6bc0753035cfbf42f31 SHA512 bf9b0cdd08c9091238a5e37f0670f2f3c389a46892c682a81f817e5daae0e6e3b13edf5d61a4105d9064e44585a4d6c7f7956b4c69b14488ee04af1834bf066c WHIRLPOOL 9e8b21098016cb20be66071e115f678bd10531a63b99c949e8a0e04ba6302834c414cc1ddf294f36b13bf1e43c22b9403a2aa13dc52ddbe84c24eb95d9b88ddb +DIST tiled-0.17.1.tar.gz 4854247 SHA256 11297f97370df10dd32b24a0c5ce9988b3c1903a13f2be0ebb3c20f49c5e0fb4 SHA512 97f025d4d8a2018781a0cb3c318e85f56e4b71f3c3ee6950ac2a99dfac87303690ffb72c31d2a90a5b7f9ff0ac3909a112ea0e7858a915615829a301f65acd58 WHIRLPOOL f34ad8b8d622981c833fac5a88bee762eb7a94dfc4dec8f1884c9ee980b33b6969241cf585b1963a804a62002b8a1f60d88b8139297618755a0f0ee56365bc58 diff --git a/dev-games/tiled/tiled-0.17.1.ebuild b/dev-games/tiled/tiled-0.17.1.ebuild new file mode 100644 index 000000000000..7caaf4710ef5 --- /dev/null +++ b/dev-games/tiled/tiled-0.17.1.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 +} |