| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 4.0.0 | 8 | amd64 x86 ~arm ~arm64 | 0 |
# 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="This applet hides the title bar from maximized windows and creates a new one inside the panel. Inspired from gnome extension pixel-saver."
HOMEPAGE="https://github.com/ilgarmehmetali/${PN}"
SRC_URI="https://github.com/ilgarmehmetali/${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
>=x11-libs/libwnck-3.0
x11-apps/xprop
"
RDEPEND="${DEPEND}"
BDEPEND="$(vala_depend)"
PATCHES=(
"${FILESDIR}/fix_post_install_script.patch"
)
src_unpack() {
unpack ${P}.tar.gz
}
src_prepare() {
cp ${FILESDIR}/meson_post_install.py ${WORKDIR}/${P}/
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 &"
}
=budgie-base/budgie-desktop-10.9.3 >=x11-libs/libwnck-3.0 x11-apps/xprop
=budgie-base/budgie-desktop-10.9.3 >=x11-libs/libwnck-3.0 x11-apps/xprop
$(vala_depend)
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | budgie-pixel-saver-applet-4.0.0.tar.gz | 38850 bytes | https://github.com/ilgarmehmetali/budgie-pixel-saver-applet/archive/refs/tags/v4.0.0.tar.gz |