Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/master-pdf-editor/
Date: Mon, 21 Jan 2019 22:51:44
Message-Id: 1548110953.7099c2d68980b42520b13698dfef5e40f0b31f97.monsieurp@gentoo
1 commit: 7099c2d68980b42520b13698dfef5e40f0b31f97
2 Author: João Santos <joaompssantos <AT> gmail <DOT> com>
3 AuthorDate: Sun Jan 20 10:12:18 2019 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 21 22:49:13 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7099c2d6
7
8 app-text/master-pdf-editor: version bump to 5.2.20.
9
10 Signed-off-by: João Santos <joaompssantos <AT> gmail.com>
11 Package-Manager: Portage-2.3.56, Repoman-2.3.12
12 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
13
14 app-text/master-pdf-editor/Manifest | 1 +
15 .../master-pdf-editor-5.2.20.ebuild | 50 ++++++++++++++++++++++
16 2 files changed, 51 insertions(+)
17
18 diff --git a/app-text/master-pdf-editor/Manifest b/app-text/master-pdf-editor/Manifest
19 index 70a3ca30edd..e1e61257b8e 100644
20 --- a/app-text/master-pdf-editor/Manifest
21 +++ b/app-text/master-pdf-editor/Manifest
22 @@ -1 +1,2 @@
23 DIST master-pdf-editor-5.2.00_qt5.amd64.tar.gz 16173634 BLAKE2B a29d1bcb1d0497a33cad98394c7d0b6a2f057d58eb9b403b02907bd6d436413aa01a5dbfc59d79771622af9c4acee43500b36f18cc74a00ba52f8bd61b251f90 SHA512 7d97c97dc744310e8af10e54ee10cca73ad4712bcb566165684dbe89f28f32f5b947b8fab715260280960a65c1f260675c075c21638367697f69a461cf88c0ef
24 +DIST master-pdf-editor-5.2.20_qt5.amd64.tar.gz 16261577 BLAKE2B 112c8d308875d36e3a71d28ae407eb78a0f714383fc005dc020cdb911a5596548274a55466133d8e03cbf47df29c062973f243f88ad0b1e9caa8410fbdfe2b8d SHA512 85b095603da1114cd4749ddbcf7bdd513c868ee17434df47037f7e0b914546fd13a6911949579ee981b5c33dcb13eb0ffa9585d4cbedd9bff4dc56e32bdcf4cb
25
26 diff --git a/app-text/master-pdf-editor/master-pdf-editor-5.2.20.ebuild b/app-text/master-pdf-editor/master-pdf-editor-5.2.20.ebuild
27 new file mode 100644
28 index 00000000000..96ecd510bd3
29 --- /dev/null
30 +++ b/app-text/master-pdf-editor/master-pdf-editor-5.2.20.ebuild
31 @@ -0,0 +1,50 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +inherit xdg-utils desktop
38 +
39 +DESCRIPTION="A complete solution for viewing and editing PDF files"
40 +HOMEPAGE="https://code-industry.net/free-pdf-editor/"
41 +SRC_URI="https://code-industry.net/public/${P}_qt5.amd64.tar.gz"
42 +
43 +LICENSE="master-pdf-editor"
44 +SLOT="0"
45 +KEYWORDS="~amd64"
46 +RESTRICT="mirror"
47 +
48 +RDEPEND="
49 + >=dev-qt/qtcore-5.4.1:5
50 + >=dev-qt/qtgui-5.4.1:5
51 + >=dev-qt/qtnetwork-5.4.1:5
52 + >=dev-qt/qtprintsupport-5.4.1:5
53 + >=dev-qt/qtsvg-5.4.1:5
54 + >=media-gfx/sane-backends-1.0
55 +"
56 +
57 +QA_PREBUILT="/opt/${PN}/masterpdfeditor5"
58 +
59 +S="${WORKDIR}/${PN}-${PV%%.*}"
60 +
61 +src_install() {
62 + insinto /opt/${PN}
63 + doins -r fonts lang stamps templates masterpdfeditor5.png
64 +
65 + exeinto /opt/${PN}
66 + doexe masterpdfeditor5
67 + dosym ../${PN}/masterpdfeditor5 /opt/bin/masterpdfeditor5
68 +
69 + make_desktop_entry "masterpdfeditor5 %f" \
70 + "Master PDF Editor ${PV}" /opt/${PN}/masterpdfeditor5.png \
71 + "Office;Graphics;Viewer" \
72 + "MimeType=application/pdf;application/x-bzpdf;application/x-gzpdf;\nTerminal=false"
73 +}
74 +
75 +pkg_postinst() {
76 + xdg_desktop_database_update
77 +}
78 +
79 +pkg_postrm() {
80 + xdg_desktop_database_update
81 +}