1 |
commit: 6a9d842fc663496e3f5da7f89eda56087c25de54 |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 3 13:42:07 2017 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 3 13:48:20 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a9d842f |
7 |
|
8 |
dev-games/tiled: version bump 1.0.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
dev-games/tiled/Manifest | 1 + |
13 |
dev-games/tiled/tiled-1.0.0.ebuild | 64 ++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 65 insertions(+) |
15 |
|
16 |
diff --git a/dev-games/tiled/Manifest b/dev-games/tiled/Manifest |
17 |
index 077fc3755ee..3f546102b03 100644 |
18 |
--- a/dev-games/tiled/Manifest |
19 |
+++ b/dev-games/tiled/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST tiled-0.18.2.tar.gz 6409369 SHA256 575e110dd4904f785222d9a298f63eddf5c5b0b8f1450cb684ef3a9ae91292cd SHA512 6cb6844541fc4e52e05e8d12974af395161fbe0c03dddd9be362b6df7a88620ddf13c3a96f8cdb175662d3ae13f162137cf74b6b4c2664ca7dd753e3cb48cd26 WHIRLPOOL 2945156eb99f88d65fa276e1d9a52724e09c996b35fa2bf1d198a41f5785cd52da3d090c268ac4a445dbf94cac12b66ab515b0786ff8bcd9798176220cc937bf |
22 |
+DIST tiled-1.0.0.tar.gz 6575292 SHA256 a5e5f1f3ec9428f124e1fbe65ac3b7ab3c17dc13a3c0d489ff6d356f7f6ad43c SHA512 a5d8af9a1aeae5c4a9eefc865e28ad22c61dad6d04878867c495bbc0c9491723bc51ed30e428fd4d1eaed5c752f90e595d46cc46cde745588556a8b9fa2db727 WHIRLPOOL 7a8241314a60f6ad2c78b4067772475e151645d6668a0f975d177332334f52e79b5ee7e648395e67214d98889bf9d73da5a82d60c4a52a35c5e7cba05df6932d |
23 |
|
24 |
diff --git a/dev-games/tiled/tiled-1.0.0.ebuild b/dev-games/tiled/tiled-1.0.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..065606a2484 |
27 |
--- /dev/null |
28 |
+++ b/dev-games/tiled/tiled-1.0.0.ebuild |
29 |
@@ -0,0 +1,64 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python2_7 ) |
36 |
+inherit gnome2-utils multilib python-single-r1 qmake-utils xdg |
37 |
+ |
38 |
+DESCRIPTION="A general purpose tile map editor" |
39 |
+HOMEPAGE="http://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.6:5 |
51 |
+ >=dev-qt/qtgui-5.6:5 |
52 |
+ >=dev-qt/qtnetwork-5.6:5 |
53 |
+ >=dev-qt/qtopengl-5.6:5 |
54 |
+ >=dev-qt/qtwidgets-5.6:5 |
55 |
+ sys-libs/zlib |
56 |
+ python? ( ${PYTHON_DEPS} ) |
57 |
+" |
58 |
+DEPEND="${RDEPEND} |
59 |
+ dev-qt/linguist-tools:5 |
60 |
+" |
61 |
+ |
62 |
+DOCS=( AUTHORS COPYING NEWS.md README.md ) |
63 |
+ |
64 |
+pkg_setup() { |
65 |
+ use python && python-single-r1_pkg_setup |
66 |
+} |
67 |
+ |
68 |
+src_configure() { |
69 |
+ eqmake5 LIBDIR="/usr/$(get_libdir)" PREFIX="/usr" DISABLE_PYTHON_PLUGIN="$(usex !python)" |
70 |
+} |
71 |
+ |
72 |
+src_install() { |
73 |
+ emake INSTALL_ROOT="${D}" install |
74 |
+ |
75 |
+ einstalldocs |
76 |
+ |
77 |
+ if use examples ; then |
78 |
+ docompress -x /usr/share/doc/${PF}/examples |
79 |
+ dodoc -r examples |
80 |
+ fi |
81 |
+} |
82 |
+ |
83 |
+pkg_postinst() { |
84 |
+ gnome2_icon_cache_update |
85 |
+ xdg_desktop_database_update |
86 |
+ xdg_mimeinfo_database_update |
87 |
+} |
88 |
+ |
89 |
+pkg_postrm() { |
90 |
+ gnome2_icon_cache_update |
91 |
+ xdg_desktop_database_update |
92 |
+ xdg_mimeinfo_database_update |
93 |
+} |