Added snapshot

This commit is contained in:
Gerben Jan Dijkman 2023-03-29 14:06:08 +02:00
parent eeedbd4a9d
commit 242a7cd8d8
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST snapshot-20230329.tar.gz 122726 BLAKE2B 766b1123e3d51b7ad025742756cddb372cd37bc8d616c4b711bb1f9a1bc2bebac19159a9f8c2c4560c3db3721077d301e1dded8398cfd1880f9f49b0a472a0a7 SHA512 95757bbb29ce825123cb6557a519563afe50607bfc8976b55af0642cf0d3b19708dc9157203609ad74c2dd889921c8fe8911b369043ca809c61b74d98a5c3e4d

View File

@ -0,0 +1,45 @@
# 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="7aa6b9f7e48665739f718d615a4ee7cfa6fd282b"
DESCRIPTION="Gnome Camera Application"
HOMEPAGE="https://gitlab.gnome.org/msandova/snapshot"
SRC_URI="https://gitlab.gnome.org/msandova/snapshot/-/archive/${COMMIT}/snapshot-${COMMIT}.tar.gz -> ${P}.tar.gz "
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="+introspection +vala"
REQUIRED_USE="vala? ( introspection )"
DEPEND="
>=x11-libs/gtk+-3.0
>=gui-libs/libadwaita-1.2.0
media-libs/aperture
"
RDEPEND="${DEPEND}"
BDEPEND=""
S="${WORKDIR}/snapshot-${COMMIT}"
src_prepare() {
default
eapply_user
use vala && vala_src_prepare
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
}
pkg_postrm() {
xdg_pkg_postrm
}