From 7099c2d68980b42520b13698dfef5e40f0b31f97 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20Santos?= Date: Sun, 20 Jan 2019 10:12:18 +0000 Subject: [PATCH] app-text/master-pdf-editor: version bump to 5.2.20. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: João Santos Package-Manager: Portage-2.3.56, Repoman-2.3.12 Signed-off-by: Patrice Clement --- app-text/master-pdf-editor/Manifest | 1 + .../master-pdf-editor-5.2.20.ebuild | 50 +++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 app-text/master-pdf-editor/master-pdf-editor-5.2.20.ebuild 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 +} -- 2.26.2