gjdwebserver-overlay/media-video/camera/camera-20230208.ebuild

45 lines
860 B
Bash
Raw Normal View History

2023-02-20 21:26:59 +01:00
# 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 )"
2023-02-21 14:55:46 +01:00
DEPEND="
>=x11-libs/gtk+-3.0
>=gui-libs/libadwaita-1.2.0
2023-02-21 14:58:14 +01:00
media-libs/aperture
2023-02-21 14:55:46 +01:00
"
2023-02-20 21:26:59 +01:00
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
}