commit: 84ed5f700c78eebbd6ea4b58db49634100b7b67c Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> AuthorDate: Wed Jul 1 09:29:42 2020 +0000 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> CommitDate: Wed Jul 1 09:30:04 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84ed5f70
dev-games/tiled: version bump 1.4.1 Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Michael Palimaka <kensington <AT> gentoo.org> dev-games/tiled/Manifest | 1 + dev-games/tiled/tiled-1.4.1.ebuild | 63 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/dev-games/tiled/Manifest b/dev-games/tiled/Manifest index cb5706c01c2..81767a90587 100644 --- a/dev-games/tiled/Manifest +++ b/dev-games/tiled/Manifest @@ -1,3 +1,4 @@ DIST tiled-1.3.4.tar.gz 15860089 BLAKE2B cdc06f82a5bd92179ff4c6402da7094dfa33d1281f358cd82a5125fe9672b5f317f578f3332c1b07c4603bb8930dd50c736f0a41a156594fbd419d94147c0525 SHA512 f78772f74d9f7a241ff9191ed6152f965b7a5342db877fa63a2d84f266d956cb2fa487776cf503db36bc5da9aa825c8bab87e13293e43a129f560020e323bd61 DIST tiled-1.3.5.tar.gz 15899657 BLAKE2B 3540fb9f4c6994d7b3df382aded53f16a2861f9864836ce295b0d6ab7cc8971b28272d52ff039c8281b7e453e4fbd98651d5b7cf6a2a8fc04f7ea4ab908f2496 SHA512 a8c5faba7eaf14c1062acf693cc0fd43b64003d886f876ac179d21b9aa18bbc1859a2b13dfabe4c0363ebe21a4d64bdd0adb697427ef68c82072cf8e706d7de8 DIST tiled-1.4.0.tar.gz 17480656 BLAKE2B e98abc86554b830ae882173c4a9e90e5bbc2872a2c2be21468154e305f3f7f5d7eb629d827a07755aa59b938a02abfaa0f8fa9303deb2de4f11c86373f568486 SHA512 1c4cca9c4f5b884a99a6e10f27dc435c2acb93f2c350a4d69927aef524b8d06dd8de8687235929747d087d3ac5d4539ded174cab59bfaf82042e28d7e9b39ad0 +DIST tiled-1.4.1.tar.gz 17481260 BLAKE2B 81bbc8026e067fe8a6fc9c474868a7097ecab574c42a679b546bf7ee9a13889898237011114852d0a69f4703c2a9a2f7bdc19221164d350a2d407ff7035e3824 SHA512 68543e70a5b601e1426b12116da47d8c9b961a1d321bdf410287149d3f5cc76e3ef9724e61ae7c9a8b1314679eacd9b34f60faf5e49a090199e4e1707fc061e6 diff --git a/dev-games/tiled/tiled-1.4.1.ebuild b/dev-games/tiled/tiled-1.4.1.ebuild new file mode 100644 index 00000000000..a2edacbcb2a --- /dev/null +++ b/dev-games/tiled/tiled-1.4.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) +inherit gnome2-utils multilib 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=" + >=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" + +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_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 +}