app-text/pot-translation - 3.0.5 (fyn-overlay)

Search

Package Information

Description:
A cross-platform software for text translation and recognition.(Appimage version)
Homepage:
https://github.com/pot-app/pot-desktop
License:
GPL-3+

Ebuild Details

Version EAPI Keywords Slot
3.0.5 8 ~amd64 0
View Raw Ebuild
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit desktop pax-utils xdg

DESCRIPTION="A cross-platform software for text translation and recognition.(Appimage version)"
HOMEPAGE="https://github.com/pot-app/pot-desktop"
SRC_URI="https://github.com/pot-app/pot-desktop/releases/download/${PV}/pot_${PV}_amd64.AppImage -> pot-translation-${PV}.AppImage"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="
	sys-fs/fuse:0
"
RDEPEND="${DEPEND}"
BDEPEND=""

QA_PREBUILT="*"

S="${WORKDIR}"

src_unpack() {
	true
}

src_install() {
	dodir /opt/pot-desktop
	cp ${DISTDIR}/pot-translation-${PV}.AppImage "${ED}"/opt/pot-desktop/pot || die
	chmod +x "${ED}"/opt/pot-desktop/pot
	doicon -s 32 ${FILESDIR}/icons/hicolor/32x32/apps/pot.png
	doicon -s 128 ${FILESDIR}/icons/hicolor/128x128/apps/pot.png
	doicon -s 256 ${FILESDIR}/icons/hicolor/256x256@2/apps/pot.png
	domenu ${FILESDIR}/pot.desktop
	dostrip -x /opt/pot-desktop/pot
}

pkg_postinst() {
	xdg_pkg_postinst
}

Dependencies

DEPEND

	sys-fs/fuse:0

RDEPEND

	sys-fs/fuse:0

Manifest for 3.0.5

Type File Size Source URLs
DIST pot-translation-3.0.5.AppImage 108463296 bytes https://github.com/pot-app/pot-desktop/releases/download/3.0.5/pot_3.0.5_amd64.AppImage