summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoão Santos <joaompssantos@gmail.com>2018-11-23 14:35:59 +0000
committerAndreas Sturmlechner <asturm@gentoo.org>2019-01-16 22:00:11 +0100
commitec339768ce63fea3582601f714c539432a0749c6 (patch)
tree272fe722f56d0195736f711805b1ca3c5e2911a4 /app-text/master-pdf-editor
parentmedia-libs/gexiv2: fix vapi file generation and install (diff)
downloadgentoo-ec339768ce63fea3582601f714c539432a0749c6.tar.gz
gentoo-ec339768ce63fea3582601f714c539432a0749c6.tar.bz2
gentoo-ec339768ce63fea3582601f714c539432a0749c6.zip
app-text/master-pdf-editor: version bump to 5.2.00
Signed-off-by: João Santos <joaompssantos@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/10467 Signed-off-by: Andreas Sturmlechner <asturm@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.00.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 db745e4b3c26..4d5391367ad0 100644
--- a/app-text/master-pdf-editor/Manifest
+++ b/app-text/master-pdf-editor/Manifest
@@ -1,3 +1,4 @@
DIST master-pdf-editor-5.1.30_qt5.amd64.tar.gz 16150271 BLAKE2B dfbdacb6df75d268c57cc5d7f6c949c796abecd09394a80694dfc05b5e666c4e836f636b5af6a17a309625ed243e88c1871347e8f7162b6e3f8c47fc27d83e26 SHA512 3cc0a85e9518e75581cfdc05ac8dbdbd534fa11b4f4cfb490a0e9b411b84c073d52e9a5a3aa620507c88117cc04e033f5e860e335b37aef49eec95f2352e9b21
DIST master-pdf-editor-5.1.36_qt5.amd64.tar.gz 16149439 BLAKE2B 882f399bfb5cf7b2a39c8174f541a1124953df5bc3bf5ded27bba1eec3ebc966e1b5c0174219759995d939ff203426a2004be61989fa7d062c26dc64320769b5 SHA512 934e9d856476e412a7b40858365e843a8350f638b48a9b593faeab12cd9032243042fd11929e826a294a29ab3810110c40fdd07f56e8c5d0fb6fa2f957a36c21
DIST master-pdf-editor-5.1.42_qt5.amd64.tar.gz 16150053 BLAKE2B bd536d34621d79dae596127418b23495ea2daa2906668ee006ed2ba32e61d8cd71fa1471e90496e615ae67108cd90e072c01f6dbf53671d3f0d783421e63c06c SHA512 c1c53af9235a4f31cd108643fcafab9265de56ffe1a0949af1a39aaf0df8dec50cd8f5bd426fbd1750d6e59323628bd626c0acd7a788324c81b01e6793e0f5f3
+DIST master-pdf-editor-5.2.00_qt5.amd64.tar.gz 16173634 BLAKE2B a29d1bcb1d0497a33cad98394c7d0b6a2f057d58eb9b403b02907bd6d436413aa01a5dbfc59d79771622af9c4acee43500b36f18cc74a00ba52f8bd61b251f90 SHA512 7d97c97dc744310e8af10e54ee10cca73ad4712bcb566165684dbe89f28f32f5b947b8fab715260280960a65c1f260675c075c21638367697f69a461cf88c0ef
diff --git a/app-text/master-pdf-editor/master-pdf-editor-5.2.00.ebuild b/app-text/master-pdf-editor/master-pdf-editor-5.2.00.ebuild
new file mode 100644
index 000000000000..e7b7b1117c30
--- /dev/null
+++ b/app-text/master-pdf-editor/master-pdf-editor-5.2.00.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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
+}