Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-games/tiled/
Date: Tue, 02 Jun 2020 11:55:04
Message-Id: 1591098887.c251c0ca9e0a4e8609868d9d225d3c3a274504fd.kensington@gentoo
1 commit: c251c0ca9e0a4e8609868d9d225d3c3a274504fd
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 2 11:53:51 2020 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 2 11:54:47 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c251c0ca
7
8 dev-games/tiled: version bump 1.3.5
9
10 Closes: https://bugs.gentoo.org/726152
11 Package-Manager: Portage-2.3.99, Repoman-2.3.22
12 Signed-off-by: Michael Palimaka <kensington <AT> gentoo.org>
13
14 dev-games/tiled/Manifest | 1 +
15 dev-games/tiled/tiled-1.3.5.ebuild | 63 ++++++++++++++++++++++++++++++++++++++
16 2 files changed, 64 insertions(+)
17
18 diff --git a/dev-games/tiled/Manifest b/dev-games/tiled/Manifest
19 index b87761317e6..fd005e8abe5 100644
20 --- a/dev-games/tiled/Manifest
21 +++ b/dev-games/tiled/Manifest
22 @@ -1 +1,2 @@
23 DIST tiled-1.3.4.tar.gz 15860089 BLAKE2B cdc06f82a5bd92179ff4c6402da7094dfa33d1281f358cd82a5125fe9672b5f317f578f3332c1b07c4603bb8930dd50c736f0a41a156594fbd419d94147c0525 SHA512 f78772f74d9f7a241ff9191ed6152f965b7a5342db877fa63a2d84f266d956cb2fa487776cf503db36bc5da9aa825c8bab87e13293e43a129f560020e323bd61
24 +DIST tiled-1.3.5.tar.gz 15899657 BLAKE2B 3540fb9f4c6994d7b3df382aded53f16a2861f9864836ce295b0d6ab7cc8971b28272d52ff039c8281b7e453e4fbd98651d5b7cf6a2a8fc04f7ea4ab908f2496 SHA512 a8c5faba7eaf14c1062acf693cc0fd43b64003d886f876ac179d21b9aa18bbc1859a2b13dfabe4c0363ebe21a4d64bdd0adb697427ef68c82072cf8e706d7de8
25
26 diff --git a/dev-games/tiled/tiled-1.3.5.ebuild b/dev-games/tiled/tiled-1.3.5.ebuild
27 new file mode 100644
28 index 00000000000..b0e8f2726bb
29 --- /dev/null
30 +++ b/dev-games/tiled/tiled-1.3.5.ebuild
31 @@ -0,0 +1,63 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PYTHON_COMPAT=( python3_{6,7} )
38 +inherit gnome2-utils multilib python-single-r1 qmake-utils xdg-utils
39 +
40 +DESCRIPTION="A general purpose tile map editor"
41 +HOMEPAGE="https://www.mapeditor.org/"
42 +SRC_URI="https://github.com/bjorn/tiled/archive/v${PV}/${P}.tar.gz"
43 +
44 +LICENSE="BSD BSD-2 GPL-2+"
45 +SLOT="0"
46 +KEYWORDS="~amd64"
47 +IUSE="examples python"
48 +
49 +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
50 +
51 +RDEPEND="
52 + >=dev-qt/qtcore-5.10:5
53 + >=dev-qt/qtdeclarative-5.10:5
54 + >=dev-qt/qtgui-5.10:5
55 + >=dev-qt/qtnetwork-5.10:5
56 + >=dev-qt/qtwidgets-5.10:5
57 + sys-libs/zlib
58 + python? ( ${PYTHON_DEPS} )
59 +"
60 +DEPEND="${RDEPEND}"
61 +BDEPEND="dev-qt/linguist-tools:5"
62 +
63 +DOCS=( AUTHORS COPYING NEWS.md README.md )
64 +
65 +pkg_setup() {
66 + use python && python-single-r1_pkg_setup
67 +}
68 +
69 +src_configure() {
70 + eqmake5 LIBDIR="/usr/$(get_libdir)" PREFIX="/usr" DISABLE_PYTHON_PLUGIN="$(usex !python)"
71 +}
72 +
73 +src_install() {
74 + emake INSTALL_ROOT="${D}" install
75 +
76 + einstalldocs
77 +
78 + if use examples ; then
79 + docompress -x /usr/share/doc/${PF}/examples
80 + dodoc -r examples
81 + fi
82 +}
83 +
84 +pkg_postinst() {
85 + xdg_icon_cache_update
86 + xdg_desktop_database_update
87 + xdg_mimeinfo_database_update
88 +}
89 +
90 +pkg_postrm() {
91 + xdg_icon_cache_update
92 + xdg_desktop_database_update
93 + xdg_mimeinfo_database_update
94 +}