media-video/ciano: add runtime dependencies

Closes: https://bugs.gentoo.org/932813
Signed-off-by: tea <gentoo@tastytea.de>
This commit is contained in:
tea 2024-05-27 07:57:14 +02:00
parent dbd3e3c0b1
commit 5efa7a017a
No known key found for this signature in database
GPG Key ID: CFC39497F1B26E07

View File

@ -0,0 +1,48 @@
# Copyright 2020-2022,2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
inherit gnome2-utils meson python-any-r1 vala xdg
DESCRIPTION="A multimedia file converter focused on simplicity"
HOMEPAGE="https://robertsanseries.github.io/ciano/"
SRC_URI="https://github.com/robertsanseries/ciano/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="dev-libs/granite"
BDEPEND="${PYTHON_DEPS}"
RDEPEND="
${DEPEND}
dev-libs/glib
dev-libs/libgee
media-video/ffmpeg
virtual/imagemagick-tools
x11-libs/gtk+:3
x11-libs/pango
"
src_prepare() {
vala_setup
default
}
src_install() {
meson_src_install
dosym com.github.robertsanseries.ciano usr/bin/ciano
}
pkg_postinst() {
gnome2_schemas_update
xdg_pkg_postinst
}
pkg_postrm() {
gnome2_schemas_update
xdg_pkg_postrm
}