From 8fbc9a84d69af1c69511888aa89c5f5fe864a722 Mon Sep 17 00:00:00 2001 From: Gerben Jan Dijkman Date: Mon, 20 Feb 2023 21:26:59 +0100 Subject: [PATCH] Added Gnome Camera --- media-video/camera/Manifest | 1 + media-video/camera/camera-20230208.ebuild | 41 +++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 media-video/camera/Manifest create mode 100755 media-video/camera/camera-20230208.ebuild diff --git a/media-video/camera/Manifest b/media-video/camera/Manifest new file mode 100644 index 0000000..871b7c3 --- /dev/null +++ b/media-video/camera/Manifest @@ -0,0 +1 @@ +DIST camera-20230208.tar.gz 1375043 BLAKE2B e8ac8d9f74ea0813676a2cfdf1b0c9688fdb3c53faa5e39ee8958b4d6e219fe997a25ae6c80225a3528235edbde7ebc094e45289eae5743827d4686f6d639d16 SHA512 83e8067715b0bde4982b70e7dedaa37a6adf79c240a649493a720170a93f4aef933fb63dd658f2605043d90e43a5b030b968ac53040af896a433399bf5c160fb diff --git a/media-video/camera/camera-20230208.ebuild b/media-video/camera/camera-20230208.ebuild new file mode 100755 index 0000000..c0427e7 --- /dev/null +++ b/media-video/camera/camera-20230208.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +VALA_USE_DEPEND="vapigen" + +inherit vala meson gnome2-utils xdg + +COMMIT="a13ec47d07bc9f1e714dffbc9ccf951a4c4b1aa9" +DESCRIPTION="Gnome Camera Application" +HOMEPAGE="https://gitlab.gnome.org/jwestman/camera" +SRC_URI="https://gitlab.gnome.org/jwestman/camera/-/archive/${COMMIT}/camera-${COMMIT}.tar.gz -> ${P}.tar.gz " + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="+introspection +vala" +REQUIRED_USE="vala? ( introspection )" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +S="${WORKDIR}/camera-${COMMIT}" + +src_prepare() { + default + eapply_user + use vala && vala_src_prepare + +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +}