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: Mon, 24 Sep 2018 12:43:31
Message-Id: 1537792995.1b944af5c8f1cc9422856f0ad50ad2abc4ff9397.kensington@gentoo
1 commit: 1b944af5c8f1cc9422856f0ad50ad2abc4ff9397
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 24 12:42:44 2018 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 24 12:43:15 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b944af5
7
8 dev-games/tiled: version bump 1.2.0
9
10 Package-Manager: Portage-2.3.49, Repoman-2.3.11
11
12 dev-games/tiled/Manifest | 1 +
13 dev-games/tiled/tiled-1.2.0.ebuild | 63 ++++++++++++++++++++++++++++++++++++++
14 2 files changed, 64 insertions(+)
15
16 diff --git a/dev-games/tiled/Manifest b/dev-games/tiled/Manifest
17 index 3e2b1fc1cf5..c1738ef1ca6 100644
18 --- a/dev-games/tiled/Manifest
19 +++ b/dev-games/tiled/Manifest
20 @@ -1 +1,2 @@
21 DIST tiled-1.1.6.tar.gz 16051699 BLAKE2B 61e33682cbd0d3045c12b20fc852ec8ae81103fc1d9818a7e17222615676dd2d3889033d6d6ba536e63e069a44aaeebeaaffb96b94a2cbcb8f1793553a466703 SHA512 d1083a938bbbd87897c5897fe79d424706e719a4319680ed907be481773daea656fc5b3230ba6b674e5ea044e22ee0044df2a07a7c91c56f9521e32b86847830
22 +DIST tiled-1.2.0.tar.gz 17007687 BLAKE2B 6bb5a34a19868574801a69015f6a05b299dd5b34df865cacf5d2a747a62ae731b80778fe49a432c5487cbfa3d30186dc80011cc8882cb86ac347fb35a7421cbc SHA512 9c0c151348a90344b355e9bc8a7c9d38e2203d48474e8cf496e2c08cc75f764042e4355db2827f0e3518a1c03bfbcc79be7ba643c44c50430c7ecec09fbb8563
23
24 diff --git a/dev-games/tiled/tiled-1.2.0.ebuild b/dev-games/tiled/tiled-1.2.0.ebuild
25 new file mode 100644
26 index 00000000000..fb9cfdad6b9
27 --- /dev/null
28 +++ b/dev-games/tiled/tiled-1.2.0.ebuild
29 @@ -0,0 +1,63 @@
30 +# Copyright 1999-2018 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +
35 +PYTHON_COMPAT=( python3_6 )
36 +inherit gnome2-utils multilib python-single-r1 qmake-utils xdg
37 +
38 +DESCRIPTION="A general purpose tile map editor"
39 +HOMEPAGE="https://www.mapeditor.org/"
40 +SRC_URI="https://github.com/bjorn/tiled/archive/v${PV}/${P}.tar.gz"
41 +
42 +LICENSE="BSD BSD-2 GPL-2+"
43 +SLOT="0"
44 +KEYWORDS="~amd64"
45 +IUSE="examples python"
46 +
47 +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
48 +
49 +RDEPEND="
50 + >=dev-qt/qtcore-5.9:5
51 + >=dev-qt/qtgui-5.9:5
52 + >=dev-qt/qtnetwork-5.9:5
53 + >=dev-qt/qtwidgets-5.9:5
54 + sys-libs/zlib
55 + python? ( ${PYTHON_DEPS} )
56 +"
57 +DEPEND="${RDEPEND}
58 + dev-qt/linguist-tools:5
59 +"
60 +
61 +DOCS=( AUTHORS COPYING NEWS.md README.md )
62 +
63 +pkg_setup() {
64 + use python && python-single-r1_pkg_setup
65 +}
66 +
67 +src_configure() {
68 + eqmake5 LIBDIR="/usr/$(get_libdir)" PREFIX="/usr" DISABLE_PYTHON_PLUGIN="$(usex !python)"
69 +}
70 +
71 +src_install() {
72 + emake INSTALL_ROOT="${D}" install
73 +
74 + einstalldocs
75 +
76 + if use examples ; then
77 + docompress -x /usr/share/doc/${PF}/examples
78 + dodoc -r examples
79 + fi
80 +}
81 +
82 +pkg_postinst() {
83 + gnome2_icon_cache_update
84 + xdg_desktop_database_update
85 + xdg_mimeinfo_database_update
86 +}
87 +
88 +pkg_postrm() {
89 + gnome2_icon_cache_update
90 + xdg_desktop_database_update
91 + xdg_mimeinfo_database_update
92 +}