From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B1476138350 for ; Mon, 4 May 2020 14:11:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 03204E09A8; Mon, 4 May 2020 14:11:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D0DCDE09A8 for ; Mon, 4 May 2020 14:11:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AA6C434F57D for ; Mon, 4 May 2020 14:11:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 41552216 for ; Mon, 4 May 2020 14:11:23 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1588601461.39eebea2b3eeae3e6504bf1fff50cd76f7158b0e.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/master-pdf-editor/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/master-pdf-editor/Manifest app-text/master-pdf-editor/master-pdf-editor-5.4.38-r1.ebuild X-VCS-Directories: app-text/master-pdf-editor/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 39eebea2b3eeae3e6504bf1fff50cd76f7158b0e X-VCS-Branch: master Date: Mon, 4 May 2020 14:11:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 74e9a82d-4a99-4553-ad3b-d33aeb8d7f33 X-Archives-Hash: 0735caf49821960b9fb5faaa993294de commit: 39eebea2b3eeae3e6504bf1fff50cd76f7158b0e Author: Joao Santos gmail com> AuthorDate: Fri Apr 10 16:30:20 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Mon May 4 14:11:01 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39eebea2 app-text/master-pdf-editor: fixes version 5.4.38 Makes master-pdf-editor use the bundled libraries Closes: https://bugs.gentoo.org/715288 Signed-off-by: João Santos gmail.com> Package-Manager: Portage-2.3.98, Repoman-2.3.22 Closes: https://github.com/gentoo/gentoo/pull/15290 Signed-off-by: Joonas Niilola gentoo.org> app-text/master-pdf-editor/Manifest | 1 + .../master-pdf-editor-5.4.38-r1.ebuild | 57 ++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/app-text/master-pdf-editor/Manifest b/app-text/master-pdf-editor/Manifest index d71a6144da7..0e5e99aed5c 100644 --- a/app-text/master-pdf-editor/Manifest +++ b/app-text/master-pdf-editor/Manifest @@ -1,2 +1,3 @@ DIST master-pdf-editor-5.2.20_qt5.amd64.tar.gz 16261577 BLAKE2B 112c8d308875d36e3a71d28ae407eb78a0f714383fc005dc020cdb911a5596548274a55466133d8e03cbf47df29c062973f243f88ad0b1e9caa8410fbdfe2b8d SHA512 85b095603da1114cd4749ddbcf7bdd513c868ee17434df47037f7e0b914546fd13a6911949579ee981b5c33dcb13eb0ffa9585d4cbedd9bff4dc56e32bdcf4cb DIST master-pdf-editor-5.3.22_qt5.amd64.tar.gz 16410658 BLAKE2B fc9cb09e58625534d12b8fe4ff657917f76a14578341c678d6be909a5f2e7a75b4587c2f1abfac66741c088b43943a30874f6ae1414ae735ee01254f019c02b3 SHA512 033914e94c9ae4114243e79be445f523a6bbc6c39527db786613ef7220bedb2412ea75c83210ed8b6096d045afce73bc8f6141b55995f2f9c464ef4a7fd69d16 +DIST master-pdf-editor-5.4.38-qt5-all.amd64.tar.gz 38044035 BLAKE2B 60fbbaaaea47a1a572ea39a0c15e0d5a9b8a2f6d9fa68c06eea6279e5728cc84016514db5e91fc2a2a0b35a462325fc8cd66b1f9eb5bff5b4815c926587eeec5 SHA512 1f94bdd6a70d352c246081a40cd81801cf9b658ff1121572a91ee5bb3589e36d6db3c5db7ad54692334e04487c29ce6ef0b9381a6895467f1bb6ef0d9e00e00e diff --git a/app-text/master-pdf-editor/master-pdf-editor-5.4.38-r1.ebuild b/app-text/master-pdf-editor/master-pdf-editor-5.4.38-r1.ebuild new file mode 100644 index 00000000000..e5bb5285e55 --- /dev/null +++ b/app-text/master-pdf-editor/master-pdf-editor-5.4.38-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop xdg-utils + +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-all.amd64.tar.gz" + +LICENSE="master-pdf-editor" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="mirror" + +RDEPEND=">=media-gfx/sane-backends-1.0" + +QA_PREBUILT="/opt/${PN}/masterpdfeditor5 + /opt/${PN}/lib/*.so* + /opt/${PN}/iconengines/*.so* + /opt/${PN}/platformthemes/*.so* + /opt/${PN}/printsupport/*.so* + /opt/${PN}/platforms/*.so* + /opt/${PN}/imageformats/*.so* +" + +S="${WORKDIR}/${PN}-${PV%%.*}" + +src_prepare() { + sed -i 's/libpath=$(cd "$(dirname "$0")"; pwd)/libpath=$(cd "$(dirname $(readlink -f `which "$0"`))"; pwd)/' "${WORKDIR}"/*/masterpdfeditor5.sh || die + sed -i 's/dirname=`dirname $0`/dirname=$libpath/' "${WORKDIR}"/*/masterpdfeditor5.sh || die + + eapply_user +} + +src_install() { + insinto /opt/${PN} + doins -r fonts iconengines imageformats lang lib platforms platformthemes printsupport stamps templates masterpdfeditor5.png + + exeinto /opt/${PN} + doexe masterpdfeditor5 masterpdfeditor5.sh + dosym ../${PN}/masterpdfeditor5.sh /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 +}