Added Gnome Camera

This commit is contained in:
Gerben Jan Dijkman 2023-02-20 21:26:59 +01:00
parent ac0666866f
commit 8fbc9a84d6
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST camera-20230208.tar.gz 1375043 BLAKE2B e8ac8d9f74ea0813676a2cfdf1b0c9688fdb3c53faa5e39ee8958b4d6e219fe997a25ae6c80225a3528235edbde7ebc094e45289eae5743827d4686f6d639d16 SHA512 83e8067715b0bde4982b70e7dedaa37a6adf79c240a649493a720170a93f4aef933fb63dd658f2605043d90e43a5b030b968ac53040af896a433399bf5c160fb

View File

@ -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
}