commit: 0546a62edb5fbac77b191b158a425fa32f466734 Author: João Santos <joaompssantos <AT> gmail <DOT> com> AuthorDate: Tue Aug 7 17:20:31 2018 +0000 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> CommitDate: Tue Aug 7 22:20:17 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0546a62e
app-text/master-pdf-editor: version bump to 5.1.00. Closes: https://github.com/gentoo/gentoo/pull/9494 app-text/master-pdf-editor/Manifest | 1 + .../master-pdf-editor-5.1.00.ebuild | 51 ++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/app-text/master-pdf-editor/Manifest b/app-text/master-pdf-editor/Manifest index f387cc6bd23..fb2417626b6 100644 --- a/app-text/master-pdf-editor/Manifest +++ b/app-text/master-pdf-editor/Manifest @@ -1,2 +1,3 @@ DIST master-pdf-editor-4.3.82_qt5.amd64.tar.gz 14934502 BLAKE2B f93c756f9270b2857af02047c6ebd242d35ddaf23b70118d440c21cc7a0718937aa9945bb24adad6544e984f9390e9f49bfce5298bb8bc54f3c705372aff0fd4 SHA512 9bc6b056bdc8ce349dbab139f64c90948f3e0498918f07df6249fee2fad98a35b133aa7913e375366d062e134878feed0fadd097ab1d5504e97884ffa2c37b24 DIST master-pdf-editor-5.0.36_qt5.amd64.tar.gz 16021838 BLAKE2B d46b9f6205e2832535060584a8841e3fa35d3b59c99a7fc2bcca5f913771633eed0d987a94141ef186b2077b65c781509b5f9938a033a5a856a9b0ad914bd5fc SHA512 31bae232d4629e10b29a4c7273ef7635bb7ec7cce9dc837355fc0d9aacc98943ec009eeac7b445f022831da8a2c400a7ce2b1de82b4e780d625ff49120e2a964 +DIST master-pdf-editor-5.1.00_qt5.amd64.tar.gz 16045580 BLAKE2B 89696a74d2df83836b1e9201d1bee8ba6a30a41f6a39664a975f9bbfb061b4536558d8746e24c57bfcb495f5324ed9d851471276f0da9f9f1d8caa454bf48c38 SHA512 a67d0668cb4c9daa0287af7bce4f24436c31b1636d29aed03503c0976c3efbc2df9ff34c2e65421e5e4cd3e184544bd78a4312b85aa6aee6af0cdaa18ba9c4a2 diff --git a/app-text/master-pdf-editor/master-pdf-editor-5.1.00.ebuild b/app-text/master-pdf-editor/master-pdf-editor-5.1.00.ebuild new file mode 100644 index 00000000000..6ef28a8e6ba --- /dev/null +++ b/app-text/master-pdf-editor/master-pdf-editor-5.1.00.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit xdg-utils desktop + +DESCRIPTION="Master PDF Editor is a complete solution for viewing and editing PDF files" +HOMEPAGE="https://code-industry.net/free-pdf-editor/" +SRC_URI="http://code-industry.net/public/${P}_qt5.amd64.tar.gz" + +LICENSE="master-pdf-editor" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="mirror" + +COMMON_DEPEND=" + >=media-gfx/sane-backends-1.0 + >=dev-qt/qtsvg-5.4.1:5 + >=dev-qt/qtnetwork-5.4.1:5 + >=dev-qt/qtgui-5.4.1:5 + >=dev-qt/qtprintsupport-5.4.1:5 +" + +RDEPEND="${COMMON_DEPEND}" + +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 +}