budgie-extra/budgie-screenshot-applet - 0.4.3 (SarahMiaOverlay)

Search

Package Information

Description:
Take a screenshot of your desktop, a window or region, save to disk and upload. Made for Budgie Desktop.
Homepage:
https://github.com/cybre/budgie-screenshot-applet
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
0.4.3 8 amd64 x86 ~arm ~arm64 0
View Raw Ebuild
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

VALA_MIN_API_VERSION="0.48"

inherit meson vala gnome2-utils xdg

DESCRIPTION="Take a screenshot of your desktop, a window or region, save to disk and upload. Made for Budgie Desktop."
HOMEPAGE="https://github.com/cybre/${PN}"

SRC_URI="https://github.com/cybre/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86 ~arm ~arm64"

DEPEND="
	=budgie-base/budgie-desktop-10.9.3
	>=dev-libs/json-glib-1.0
	net-libs/libsoup:2.4
"
RDEPEND="${DEPEND}"
BDEPEND="$(vala_depend)"

src_unpack() {
	unpack ${P}.tar.gz
}

PATCHES=(
	"${FILESDIR}/fix_weak_uploader.patch"
	"${FILESDIR}/gtk_render_fix.patch"
)

src_prepare() {
	vala_setup
	default
}

src_configure() {
	meson_src_configure
}

src_compile() {
	meson_src_compile
}

pkg_postinst() {
	xdg_pkg_postinst
	gnome2_schemas_update

	elog "In order for the applet to appear after installation without relogging it is recommended to run the following as your current logged in user:"
	elog "  nohup budgie-panel --replace > /dev/null 2>&1 &"
}

pkg_postrm() {
	xdg_pkg_postrm
	gnome2_schemas_update

	elog "In order for the applet to be removed from the budgie-settings applets without relogging it is recommended to run the following as your current logged in user in budgie:"
	elog "  nohup budgie-panel --replace > /dev/null 2>&1 &"
}

Dependencies

DEPEND

	=budgie-base/budgie-desktop-10.9.3
	>=dev-libs/json-glib-1.0
	net-libs/libsoup:2.4

RDEPEND

	=budgie-base/budgie-desktop-10.9.3
	>=dev-libs/json-glib-1.0
	net-libs/libsoup:2.4

BDEPEND

$(vala_depend)

Manifest for 0.4.3

Type File Size Source URLs
DIST budgie-screenshot-applet-0.4.3.tar.gz 190059 bytes https://github.com/cybre/budgie-screenshot-applet/archive/refs/tags/v0.4.3.tar.gz