diff options
author | Michael Palimaka <kensington@gentoo.org> | 2020-09-06 20:48:15 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2020-09-06 20:48:36 +1000 |
commit | 74479826272994f352be812c3f8a3bb0ac7cb1f2 (patch) | |
tree | 59245e0097c3fd820cd7ce805299d9a421cb9a83 /dev-games/tiled | |
parent | app-arch/unarj: Fix whitespace in patch. (diff) | |
download | gentoo-74479826272994f352be812c3f8a3bb0ac7cb1f2.tar.gz gentoo-74479826272994f352be812c3f8a3bb0ac7cb1f2.tar.bz2 gentoo-74479826272994f352be812c3f8a3bb0ac7cb1f2.zip |
dev-games/tiled: version bump 1.4.2
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Michael Palimaka <kensington@gentoo.org>
Diffstat (limited to 'dev-games/tiled')
-rw-r--r-- | dev-games/tiled/Manifest | 1 | ||||
-rw-r--r-- | dev-games/tiled/tiled-1.4.2.ebuild | 71 |
2 files changed, 72 insertions, 0 deletions
diff --git a/dev-games/tiled/Manifest b/dev-games/tiled/Manifest index bed85e96171c..4fb5d8ca130b 100644 --- a/dev-games/tiled/Manifest +++ b/dev-games/tiled/Manifest @@ -1 +1,2 @@ DIST tiled-1.4.1.tar.gz 17481260 BLAKE2B 81bbc8026e067fe8a6fc9c474868a7097ecab574c42a679b546bf7ee9a13889898237011114852d0a69f4703c2a9a2f7bdc19221164d350a2d407ff7035e3824 SHA512 68543e70a5b601e1426b12116da47d8c9b961a1d321bdf410287149d3f5cc76e3ef9724e61ae7c9a8b1314679eacd9b34f60faf5e49a090199e4e1707fc061e6 +DIST tiled-1.4.2.tar.gz 17806729 BLAKE2B 9f9e6b97c6d95b1f8a1ad6da3540aaf9310a705b412005752afe72c3ce8e35025559ed0e7aaf36a1d65284c29d8406bdc58121f6c13bb658ff84ff43fde7f403 SHA512 1fddd8c8d67e4eaf116c82e276b0941e6dae7c529f2132e49da77d7e215fc7106d5fd3ef55d118f799153b57340effcf2481a131a436be7f00f61c4fc4bd45d2 diff --git a/dev-games/tiled/tiled-1.4.2.ebuild b/dev-games/tiled/tiled-1.4.2.ebuild new file mode 100644 index 000000000000..fc9a62d7bd92 --- /dev/null +++ b/dev-games/tiled/tiled-1.4.2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) +inherit python-single-r1 qmake-utils xdg-utils + +DESCRIPTION="A general purpose tile map editor" +HOMEPAGE="https://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=" + app-arch/zstd:= + >=dev-qt/qtcore-5.14:5 + >=dev-qt/qtdeclarative-5.14:5 + >=dev-qt/qtgui-5.14:5 + >=dev-qt/qtnetwork-5.14:5 + >=dev-qt/qtwidgets-5.14:5 + sys-libs/zlib + python? ( ${PYTHON_DEPS} ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-qt/linguist-tools:5 + virtual/pkgconfig +" + +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" \ + SYSTEM_ZSTD="yes" \ + 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_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update +} |