app-text/master-pdf-editor: version bump to 5.2.20.
authorJoão Santos <joaompssantos@gmail.com>
Sun, 20 Jan 2019 10:12:18 +0000 (10:12 +0000)
committerPatrice Clement <monsieurp@gentoo.org>
Mon, 21 Jan 2019 22:49:13 +0000 (23:49 +0100)
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>
app-text/master-pdf-editor/Manifest
app-text/master-pdf-editor/master-pdf-editor-5.2.20.ebuild [new file with mode: 0644]

index 70a3ca30eddf97212fed5a25f66d2acac1a9654d..e1e61257b8e412020b200ecfdef696c00c208819 100644 (file)
@@ -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 (file)
index 0000000..96ecd51
--- /dev/null
@@ -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
+}