From d2d02b7e61b922d725b2bf2919772861f74e0c8d Mon Sep 17 00:00:00 2001 From: Gerben Jan Dijkman Date: Thu, 27 Apr 2023 11:40:20 +0200 Subject: [PATCH] Put back old one since Gentoo does not have a required dep yet --- media-video/snapshot/Manifest | 2 + media-video/snapshot/snapshot-20230413.ebuild | 39 +++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 media-video/snapshot/snapshot-20230413.ebuild diff --git a/media-video/snapshot/Manifest b/media-video/snapshot/Manifest index a80a504..fe91340 100644 --- a/media-video/snapshot/Manifest +++ b/media-video/snapshot/Manifest @@ -1 +1,3 @@ + DIST snapshot-20230425.tar.gz 401817 BLAKE2B 167a6b601f9e69164c04a2c0b7fcfa00e8120100e0d76a0488b6d821128074043ad2844489c4300e61bb3f7c564cf4915eb7194dc4edf3e33bb2ef33a6b81b45 SHA512 46b2eb2c72d607fd4445ec865cdbb17ae051e78234f84d92bfe9308426d6c7ea539398f7ad7609e0ea7a53c3d8643ed636645621ced6215fef7742fcc0f93147 +DIST snapshot-20230413.tar.gz 381844 BLAKE2B 4469dcfcaaca1c1a1d1bae231b04b92b2f1ca72f20d6a28492b256332c1e7c3130844b64b574edc2f1baac34ab1cfbee479fc664e97f7122744e33abb1b95cc1 SHA512 485186713f6d3633f3c487bd1f1b6197fec7620df7e49e87adac63bf237687e1f883a47b772bede49269f435d16ce6fbeeddf85e09b5e3de69af41b41ec9b905 diff --git a/media-video/snapshot/snapshot-20230413.ebuild b/media-video/snapshot/snapshot-20230413.ebuild new file mode 100644 index 0000000..db62ffb --- /dev/null +++ b/media-video/snapshot/snapshot-20230413.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License-2 + +EAPI=8 + +inherit gnome2-utils meson toolchain-funcs xdg + +COMMIT="682b0b983a56c2776318484b9e4e1835fe05ebce" +DESCRIPTION="Gnome Camera Application" +HOMEPAGE="hhttps://gitlab.gnome.org/Incubator/snapshot" +SRC_URI="https://gitlab.gnome.org/Incubator/snapshot/-/archive/${COMMIT}/snapshot-${COMMIT}.tar.gz -> ${P}.tar.gz " + +RESTRICT="network-sandbox" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +DEPEND=" + >=x11-libs/gtk+-3.0 + >=gui-libs/libadwaita-1.2.0 + >=media-libs/gstreamer-1.20.0 +" +RDEPEND="${DEPEND}" +BDEPEND="" + + +S="${WORKDIR}/snapshot-${COMMIT}" + + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +}