summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoão Santos <joaompssantos@gmail.com>2019-01-20 10:12:18 +0000
committerPatrice Clement <monsieurp@gentoo.org>2019-01-21 23:49:13 +0100
commit7099c2d68980b42520b13698dfef5e40f0b31f97 (patch)
treebae2030f803698cc8c15fdcff8181eb2d275c1d8 /app-text/master-pdf-editor
parentapp-text/master-pdf-editor: removed 5.1.42 version. (diff)
downloadgentoo-7099c2d68980b42520b13698dfef5e40f0b31f97.tar.gz
gentoo-7099c2d68980b42520b13698dfef5e40f0b31f97.tar.bz2
gentoo-7099c2d68980b42520b13698dfef5e40f0b31f97.zip
app-text/master-pdf-editor: version bump to 5.2.20.
Signed-off-by: João Santos <joaompssantos@gmail.com> Package-Manager: Portage-2.3.56, Repoman-2.3.12 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'app-text/master-pdf-editor')
-rw-r--r--app-text/master-pdf-editor/Manifest1
-rw-r--r--app-text/master-pdf-editor/master-pdf-editor-5.2.20.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/app-text/master-pdf-editor/Manifest b/app-text/master-pdf-editor/Manifest
index 70a3ca30eddf..e1e61257b8e4 100644
--- a/app-text/master-pdf-editor/Manifest
+++ b/app-text/master-pdf-editor/Manifest
@@ -1 +1,2 @@
DIST master-pdf-editor-5.2.00_qt5.amd64.tar.gz 16173634 BLAKE2B a29d1bcb1d0497a33cad98394c7d0b6a2f057d58eb9b403b02907bd6d436413aa01a5dbfc59d79771622af9c4acee43500b36f18cc74a00ba52f8bd61b251f90 SHA512 7d97c97dc744310e8af10e54ee10cca73ad4712bcb566165684dbe89f28f32f5b947b8fab715260280960a65c1f260675c075c21638367697f69a461cf88c0ef
+DIST master-pdf-editor-5.2.20_qt5.amd64.tar.gz 16261577 BLAKE2B 112c8d308875d36e3a71d28ae407eb78a0f714383fc005dc020cdb911a5596548274a55466133d8e03cbf47df29c062973f243f88ad0b1e9caa8410fbdfe2b8d SHA512 85b095603da1114cd4749ddbcf7bdd513c868ee17434df47037f7e0b914546fd13a6911949579ee981b5c33dcb13eb0ffa9585d4cbedd9bff4dc56e32bdcf4cb
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
new file mode 100644
index 000000000000..96ecd510bd39
--- /dev/null
+++ b/app-text/master-pdf-editor/master-pdf-editor-5.2.20.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit xdg-utils desktop
+
+DESCRIPTION="A complete solution for viewing and editing PDF files"
+HOMEPAGE="https://code-industry.net/free-pdf-editor/"
+SRC_URI="https://code-industry.net/public/${P}_qt5.amd64.tar.gz"
+
+LICENSE="master-pdf-editor"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="mirror"
+
+RDEPEND="
+ >=dev-qt/qtcore-5.4.1:5
+ >=dev-qt/qtgui-5.4.1:5
+ >=dev-qt/qtnetwork-5.4.1:5
+ >=dev-qt/qtprintsupport-5.4.1:5
+ >=dev-qt/qtsvg-5.4.1:5
+ >=media-gfx/sane-backends-1.0
+"
+
+QA_PREBUILT="/opt/${PN}/masterpdfeditor5"
+
+S="${WORKDIR}/${PN}-${PV%%.*}"
+
+src_install() {
+ insinto /opt/${PN}
+ doins -r fonts lang stamps templates masterpdfeditor5.png
+
+ exeinto /opt/${PN}
+ doexe masterpdfeditor5
+ dosym ../${PN}/masterpdfeditor5 /opt/bin/masterpdfeditor5
+
+ make_desktop_entry "masterpdfeditor5 %f" \
+ "Master PDF Editor ${PV}" /opt/${PN}/masterpdfeditor5.png \
+ "Office;Graphics;Viewer" \
+ "MimeType=application/pdf;application/x-bzpdf;application/x-gzpdf;\nTerminal=false"
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+}