On 9/25/21 09:45, Marco Rebhan wrote:
On Saturday, 25 September 2021 09:06:20 CEST [email protected]
wrote:
Any idea where I can find "Master PDF Editor - version 4" ebuild?
Ver. 4 is without watermark.
You can find it in the git repository history:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?
id=56e7e82af65de580969758794453066a29ecbf85

The command I used to find that was git log 'app-text/master-pdf-editor/
master-pdf-editor-4*' in case you need to do that in the future.

Due to the commit message, I don't think you'll have much luck unless
you have the source files:

app-text/master-pdf-editor: removed 4.3.82 as sources are no longer
available.
-Marco


It appears that the binaries for a slightly newer version are still available on the website, just under a different name:

http://code-industry.net/public/master-pdf-editor-4.3.89_qt5.amd64.tar.gz

I attached an ebuild that might work, haven't tested it.

--
Charlotte

https://keybase.io/darkkirb • GPG Key 3CEF5DDA915AECB0 • https://darkkirb.de

# 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="http://code-industry.net/public/${P}_qt5.amd64.tar.gz";

LICENSE="master-pdf-editor"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="mirror"

COMMON_DEPEND="
        app-arch/bzip2
        dev-libs/double-conversion
        dev-libs/glib
        dev-libs/icu
        dev-libs/openssl
        media-gfx/graphite2
        media-gfx/sane-backends
        media-libs/freetype
        media-libs/harfbuzz
        media-libs/libjpeg-turbo
        media-libs/libpng
        media-libs/tiff
        x11-libs/libX11
        x11-libs/libXau
        x11-libs/libxcb
        x11-libs/libXdmcp
        x11-libs/libXext
        >=dev-qt/qtsvg-5.4:5
        >=dev-qt/qtnetwork-5.4:5
        >=dev-qt/qtgui-5.4:5
        >=dev-qt/qtprintsupport-5.4:5
"

RDEPEND="${COMMON_DEPEND}"

S="${WORKDIR}/${PN}-${PV%%.*}"

src_install() {
        insinto /opt/${PN}
        doins -r fonts lang stamps templates masterpdfeditor4.png

        exeinto /opt/${PN}
        doexe masterpdfeditor4

        dosym ../${PN}/masterpdfeditor4 /opt/bin/masterpdfeditor4
        make_desktop_entry "masterpdfeditor4 %f" \
                "Master PDF Editor ${PV}" /opt/${PN}/masterpdfeditor4.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
}

Attachment: OpenPGP_0x3CEF5DDA915AECB0.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to