gentoo-ebuilds/gnome-extra/pch-session/pch-session-48.0-r1.ebuild
Kenton Groombridge 6ccfda768c
gnome-extra/pch-session: allow sys-apps/tuned as a dependency
Also default to tuned-ppd. Development of power-profiles-daemon appears
to have stalled, with no activity in >6 months, meanwhile other distros
have begun switching to using tuned as the default p-p-d implementation.

Signed-off-by: Kenton Groombridge <concord@gentoo.org>
2025-11-12 12:17:51 -05:00

61 lines
1.5 KiB
Bash

# Copyright 2019-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gnome2-utils
DESCRIPTION="Unofficial gnome based session with different default settings and extensions"
HOMEPAGE="https://gitlab.com/pachoramos/pch-session"
SRC_URI="https://gitlab.com/pachoramos/${PN}/-/archive/${PV}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64"
IUSE="breeze qt6 wayland webp"
RDEPEND="
>=gnome-base/gnome-shell-${PV}
>=gnome-extra/gnome-shell-extensions-${PV}
>=gnome-extra/gnome-shell-extension-alphabetical-grid-42.0
>=gnome-extra/gnome-shell-extension-appindicator-60
>=gnome-extra/gnome-shell-extension-applications-overview-tooltip-23
>=gnome-extra/gnome-shell-extension-bing-wallpaper-51
>=gnome-extra/gnome-shell-extension-dash-to-panel-68
>=gnome-extra/gnome-shell-extension-desktop-icons-ng-48.0.0
>=gnome-extra/gnome-shell-extension-gsconnect-62
>=gnome-extra/gnome-shell-extension-weather-oclock-49.0
>=gnome-extra/gnome-tweaks-46
>=gnome-extra/gnome-clocks-${PV}
>=media-fonts/fonts-meta-2
|| (
sys-apps/tuned[ppd]
sys-power/power-profiles-daemon
)
x11-themes/papirus-icon-theme
breeze? ( kde-plasma/breeze:6 )
qt6? (
x11-themes/QGnomePlatform
wayland? ( x11-themes/QAdwaitaDecorations )
)
webp? ( gui-libs/gdk-pixbuf-loader-webp )
"
pkg_preinst() {
gnome2_schemas_update
}
src_install() {
insinto /
doins -r usr/ etc/
einstalldocs
}
pkg_postinst() {
gnome2_schemas_update
}
pkg_postrm() {
gnome2_schemas_update
}