1 |
commit: 74479826272994f352be812c3f8a3bb0ac7cb1f2 |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 6 10:48:15 2020 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 6 10:48:36 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74479826 |
7 |
|
8 |
dev-games/tiled: version bump 1.4.2 |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Michael Palimaka <kensington <AT> gentoo.org> |
12 |
|
13 |
dev-games/tiled/Manifest | 1 + |
14 |
dev-games/tiled/tiled-1.4.2.ebuild | 71 ++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 72 insertions(+) |
16 |
|
17 |
diff --git a/dev-games/tiled/Manifest b/dev-games/tiled/Manifest |
18 |
index bed85e96171..4fb5d8ca130 100644 |
19 |
--- a/dev-games/tiled/Manifest |
20 |
+++ b/dev-games/tiled/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST tiled-1.4.1.tar.gz 17481260 BLAKE2B 81bbc8026e067fe8a6fc9c474868a7097ecab574c42a679b546bf7ee9a13889898237011114852d0a69f4703c2a9a2f7bdc19221164d350a2d407ff7035e3824 SHA512 68543e70a5b601e1426b12116da47d8c9b961a1d321bdf410287149d3f5cc76e3ef9724e61ae7c9a8b1314679eacd9b34f60faf5e49a090199e4e1707fc061e6 |
23 |
+DIST tiled-1.4.2.tar.gz 17806729 BLAKE2B 9f9e6b97c6d95b1f8a1ad6da3540aaf9310a705b412005752afe72c3ce8e35025559ed0e7aaf36a1d65284c29d8406bdc58121f6c13bb658ff84ff43fde7f403 SHA512 1fddd8c8d67e4eaf116c82e276b0941e6dae7c529f2132e49da77d7e215fc7106d5fd3ef55d118f799153b57340effcf2481a131a436be7f00f61c4fc4bd45d2 |
24 |
|
25 |
diff --git a/dev-games/tiled/tiled-1.4.2.ebuild b/dev-games/tiled/tiled-1.4.2.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..fc9a62d7bd9 |
28 |
--- /dev/null |
29 |
+++ b/dev-games/tiled/tiled-1.4.2.ebuild |
30 |
@@ -0,0 +1,71 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{6,7} ) |
37 |
+inherit python-single-r1 qmake-utils xdg-utils |
38 |
+ |
39 |
+DESCRIPTION="A general purpose tile map editor" |
40 |
+HOMEPAGE="https://www.mapeditor.org/" |
41 |
+SRC_URI="https://github.com/bjorn/tiled/archive/v${PV}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="BSD BSD-2 GPL-2+" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64" |
46 |
+IUSE="examples python" |
47 |
+ |
48 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ app-arch/zstd:= |
52 |
+ >=dev-qt/qtcore-5.14:5 |
53 |
+ >=dev-qt/qtdeclarative-5.14:5 |
54 |
+ >=dev-qt/qtgui-5.14:5 |
55 |
+ >=dev-qt/qtnetwork-5.14:5 |
56 |
+ >=dev-qt/qtwidgets-5.14:5 |
57 |
+ sys-libs/zlib |
58 |
+ python? ( ${PYTHON_DEPS} ) |
59 |
+" |
60 |
+DEPEND="${RDEPEND}" |
61 |
+BDEPEND=" |
62 |
+ dev-qt/linguist-tools:5 |
63 |
+ virtual/pkgconfig |
64 |
+" |
65 |
+ |
66 |
+DOCS=( AUTHORS COPYING NEWS.md README.md ) |
67 |
+ |
68 |
+pkg_setup() { |
69 |
+ use python && python-single-r1_pkg_setup |
70 |
+} |
71 |
+ |
72 |
+src_configure() { |
73 |
+ eqmake5 \ |
74 |
+ LIBDIR="/usr/$(get_libdir)" \ |
75 |
+ PREFIX="/usr" \ |
76 |
+ SYSTEM_ZSTD="yes" \ |
77 |
+ DISABLE_PYTHON_PLUGIN="$(usex !python)" |
78 |
+} |
79 |
+ |
80 |
+src_install() { |
81 |
+ emake INSTALL_ROOT="${D}" install |
82 |
+ |
83 |
+ einstalldocs |
84 |
+ |
85 |
+ if use examples ; then |
86 |
+ docompress -x /usr/share/doc/${PF}/examples |
87 |
+ dodoc -r examples |
88 |
+ fi |
89 |
+} |
90 |
+ |
91 |
+pkg_postinst() { |
92 |
+ xdg_icon_cache_update |
93 |
+ xdg_desktop_database_update |
94 |
+ xdg_mimeinfo_database_update |
95 |
+} |
96 |
+ |
97 |
+pkg_postrm() { |
98 |
+ xdg_icon_cache_update |
99 |
+ xdg_desktop_database_update |
100 |
+ xdg_mimeinfo_database_update |
101 |
+} |