guru/media-video/walksnail-osd-tool/walksnail-osd-tool-9999.ebuild
Takuya Wakazono eb317ddb43
*/*: update for slotted Rust
guru version of this commit:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01ba4dc61965ef7658a24728841c04c9a1ce4871

Closes: https://bugs.gentoo.org/943170
Closes: https://bugs.gentoo.org/943223
Closes: #260
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
2024-11-12 22:17:16 +09:00

45 lines
1.0 KiB
Bash

# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
RUST_MIN_VER="1.71.1"
inherit cargo desktop git-r3 xdg-utils
DESCRIPTION="Tool for rendering OSDs over Walksnail DVR recordings"
HOMEPAGE="https://github.com/avsaase/walksnail-osd-tool"
EGIT_REPO_URI="https://github.com/avsaase/walksnail-osd-tool.git"
LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD BSD-2 Boost-1.0 GPL-3 ISC UbuntuFontLicense-1.0 MIT MPL-2.0 OFL-1.1 Unicode-DFS-2016 Unlicense XC ZLIB"
SLOT="0"
RDEPEND="media-video/ffmpeg"
QA_FLAGS_IGNORED="usr/bin/${PN}"
src_unpack() {
git-r3_src_unpack
cargo_live_src_unpack
}
src_configure() {
cargo_src_configure --frozen
}
src_install() {
cargo_src_install --path ./ui
cp resources/icons/app-icon.svg walksnail-osd-tool.svg
doicon -s scalable walksnail-osd-tool.svg
make_desktop_entry walksnail-osd-tool 'Walksnail OSD Tool' walksnail-osd-tool
}
pkg_postinst() {
xdg_icon_cache_update
}
pkg_postrm() {
xdg_icon_cache_update
}