mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net> Signed-off-by: Julien Roy <julien@jroy.ca>
40 lines
1.0 KiB
Bash
40 lines
1.0 KiB
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit desktop xdg
|
|
|
|
DESCRIPTION="Lossless video/audio editing: export media without reencoding, powered by ffmpeg"
|
|
HOMEPAGE="https://mifi.no/losslesscut/
|
|
https://github.com/mifi/lossless-cut"
|
|
SRC_URI="https://github.com/mifi/lossless-cut/releases/download/v${PV}/LosslessCut-linux-x86_64.AppImage
|
|
-> ${P}.AppImage
|
|
https://raw.githubusercontent.com/mifi/lossless-cut/v${PV}/no.mifi.losslesscut.appdata.xml
|
|
-> ${P}-metainfo.xml
|
|
"
|
|
|
|
S="${WORKDIR}"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
RESTRICT="strip"
|
|
|
|
RDEPEND="sys-fs/fuse:0
|
|
sys-libs/zlib:=
|
|
"
|
|
|
|
QA_PREBUILT="usr/bin/losslesscut-bin"
|
|
|
|
src_install() {
|
|
# keep this in sync with the Exec value in the desktop file
|
|
newbin "${DISTDIR}"/${P}.AppImage losslesscut-bin
|
|
|
|
domenu "${FILESDIR}"/no.mifi.losslesscut.desktop
|
|
doicon "${FILESDIR}"/no.mifi.losslesscut.svg
|
|
|
|
insinto /usr/share/metainfo
|
|
newins "${DISTDIR}"/${P}-metainfo.xml no.mifi.losslesscut.appdata.xml
|
|
}
|