1 |
commit: 2920ec9b0299696ae96723dee72ab404e2e53d4a |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 30 02:56:54 2018 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 30 02:57:57 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2920ec9b |
7 |
|
8 |
media-gfx/phototonic: version bump 2.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
media-gfx/phototonic/Manifest | 1 + |
13 |
media-gfx/phototonic/phototonic-2.1.ebuild | 48 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 49 insertions(+) |
15 |
|
16 |
diff --git a/media-gfx/phototonic/Manifest b/media-gfx/phototonic/Manifest |
17 |
index 54755d05790..e1169d8ffb9 100644 |
18 |
--- a/media-gfx/phototonic/Manifest |
19 |
+++ b/media-gfx/phototonic/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST phototonic-1.6.17.tar.xz 167264 BLAKE2B 39df863da3084454fbde2f4a02f4b4251be2487d0bb7628fb20a8a6b4ade653ea93324262815ac1f2d778310941f27d73b34ed6dc71aeade9a7236350674b011 SHA512 66c537c723b114de8a92692933a3671346919dde1ce028a9c067909403d91c0a161d5887e0c07e9309d524179308364fc93403c608b3226d74e28bc744e08cde |
22 |
DIST phototonic-2.0.tar.gz 283185 BLAKE2B 0c86fa991fd2c05721d19c603becd27f93139377416ff4c9b2749488c5d5753263d3223d3bd71d3a4670289243b471ccdcb7f937d2f080cbd7dd6442cf7257f4 SHA512 e72952c76332b592043a39a4920ab941f20b3494d66e9855becf09438e36c0edbdbf1a384a08a9b825c5e48ac4c87b5e4cb7d1eaff7076140ad2537868aa4357 |
23 |
+DIST phototonic-2.1.tar.gz 488640 BLAKE2B bfbc14d06760c6f9d9244d5ed38d033a769f1eaf8116f55ea6aa5373578aa105fd28ef8e352d394939306af2ab3b617314aebc443a13f7abe9bb8be2fd0cb0cd SHA512 4789311cefa2d5a07ca5e2fd3c0530267f9ea2ffcbf6295c687db3d2aa55e0b7d91228047b2ca24590868b22ce93d0228785fcf49a105ee65c9826b0d9a8fa42 |
24 |
|
25 |
diff --git a/media-gfx/phototonic/phototonic-2.1.ebuild b/media-gfx/phototonic/phototonic-2.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..46087619b84 |
28 |
--- /dev/null |
29 |
+++ b/media-gfx/phototonic/phototonic-2.1.ebuild |
30 |
@@ -0,0 +1,48 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+inherit gnome2-utils qmake-utils xdg-utils |
37 |
+ |
38 |
+DESCRIPTION="Image viewer and organizer" |
39 |
+HOMEPAGE="https://github.com/oferkv/phototonic" |
40 |
+if [[ ${PV} = *9999* ]]; then |
41 |
+ inherit git-r3 |
42 |
+ EGIT_REPO_URI="https://github.com/oferkv/phototonic.git" |
43 |
+else |
44 |
+ SRC_URI="https://github.com/oferkv/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+ KEYWORDS="~amd64 ~x86" |
46 |
+fi |
47 |
+ |
48 |
+LICENSE="GPL-3+" |
49 |
+SLOT="0" |
50 |
+IUSE="svg tiff" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ dev-qt/qtwidgets:5 |
54 |
+ dev-qt/qtgui:5 |
55 |
+ dev-qt/qtcore:5 |
56 |
+ media-gfx/exiv2:= |
57 |
+ svg? ( dev-qt/qtsvg:5 ) |
58 |
+ tiff? ( dev-qt/qtimageformats:5 ) |
59 |
+" |
60 |
+DEPEND="${RDEPEND}" |
61 |
+ |
62 |
+src_configure() { |
63 |
+ eqmake5 |
64 |
+} |
65 |
+ |
66 |
+src_install() { |
67 |
+ emake install INSTALL_ROOT="${D}" |
68 |
+} |
69 |
+ |
70 |
+pkg_postinst() { |
71 |
+ gnome2_icon_cache_update |
72 |
+ xdg_desktop_database_update |
73 |
+} |
74 |
+ |
75 |
+pkg_postrm() { |
76 |
+ gnome2_icon_cache_update |
77 |
+ xdg_desktop_database_update |
78 |
+} |