Skip to content

Commit

Permalink
media-gfx/gnome-screenshot: Version bump to 3.38.0
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Turner <[email protected]>
  • Loading branch information
mattst88 committed Jan 10, 2021
1 parent d74142d commit 3b3b3f8
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 0 deletions.
1 change: 1 addition & 0 deletions media-gfx/gnome-screenshot/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST gnome-screenshot-3.36.0.tar.xz 231420 BLAKE2B ce916d4d221252f47c84ebdec52ddcc2e25c2481df848cb6199842857c7ba537f56c22bdcb2a8e5b988d767fbc242d0c727119bc1ae9d569644eae15688aebf5 SHA512 fda599e7c50b37d8356352085b2f45f3b8c868af897352810998e127bd7333d5a1383369ec1cb980064f7e0aafa0e01bc5cdb31563ea56b1a7e4099fc18cc6b4
DIST gnome-screenshot-3.38.0.tar.xz 356716 BLAKE2B 31f2a0cdf16a9f967c789ec1f698140f78a5c4d66489bc8a47b8b61b5e536e6b67fd60b9cb241221262eef5b3117ce3e1a59fa162a7f193de440f7de9db0afc3 SHA512 183f81b9b481d1afb4a3c8e37b25a78652e599d4c5a4f1a2cc9449cd1efdf3b613018c17de9ab61304ba19ad7152d696aeed475c0184a4728ea1359ca2be2ecf
62 changes: 62 additions & 0 deletions media-gfx/gnome-screenshot/gnome-screenshot-3.38.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
inherit gnome.org gnome2-utils meson readme.gentoo-r1 xdg

DESCRIPTION="Screenshot utility for GNOME"
HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-screenshot"

LICENSE="GPL-2+"
SLOT="0"
IUSE="X"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"

# libcanberra 0.26-r2 is needed for gtk+:3 fixes
DEPEND="
X? (
x11-libs/libX11
x11-libs/libXext
)
>=dev-libs/glib-2.35.1:2[dbus]
>=x11-libs/gtk+-3.12.0:3
>=media-libs/libcanberra-0.26-r2[gtk3]
>=gui-libs/libhandy-1:1=
"
RDEPEND="${DEPEND}
>=gnome-base/gsettings-desktop-schemas-0.1.0
"
BDEPEND="
dev-libs/appstream-glib
dev-libs/libxml2:2
>=sys-devel/gettext-0.19.8
virtual/pkgconfig
x11-base/xorg-proto
"

DOC_CONTENTS="${P} saves screenshots in ~/Pictures/ and defaults to
non-interactive mode when launched from a terminal. If you want to choose
where to save the screenshot, run 'gnome-screenshot --interactive'"

src_configure() {
local emesonargs=(
$(meson_feature X x11)
)
meson_src_configure
}

src_install() {
meson_src_install
readme.gentoo_create_doc
}

pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
readme.gentoo_print_elog
}

pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
}

0 comments on commit 3b3b3f8

Please sign in to comment.