forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
- Loading branch information
Showing
2 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
DIST pch-session-40.2.tar.bz2 3610529 BLAKE2B 4ae2fa7d152edff0707c5f705c001d601a08f70a7629f3cefa53254b07eac124280d547392c80d9dad76c08fbb80e09aaaefceff06945ebdddfc8f61d31c3426 SHA512 6300e36f5914f8213ac912e1e44652c08ca90a31e3e480b5f6674ce54a798f8b3f1226d781859f7bf9fb4a64186ee11a8bc7d6f8d59017340ec3b65d10948f0b | ||
DIST pch-session-41.2.tar.bz2 3610591 BLAKE2B 0a3dc1a60ed29bb59cd30756039c4d991212443664f72a5b4684be63babfd8b052c943f403c043817d78ee34d8017cd3e2348114c79fa618ad3967d092f686af SHA512 296c92ec6efdaef7b23d3986937f9dbf01b424fc8cd69cec637cff93780b4ac8e0e1cffee1b56b30817b43cf4063a3f6626e1e5b2b91c99847b08fd73bc63103 | ||
DIST pch-session-42.0.tar.bz2 3610664 BLAKE2B c14529dd7be8854e4d24b4b4c3335c44ebd714b4dcd8ada8bf6e8da6236d962c57fb537b4a651118e8f719b7da87141a8c1512bf6a360c7998f23384ed06b14c SHA512 63a73a753cc95dc8e152a4d535674d420861e87a57a9c47b1063b9bdad410ad4c93e2ed2a5e547fae75f9e76b0f640ffc8d0f3116195afbaa18e6a2fdb9c5ae7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# Copyright 2019-2022 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 ~x86" | ||
IUSE="bluetooth qt5 webp" | ||
|
||
RDEPEND=" | ||
>=gnome-base/gnome-shell-42 | ||
>=gnome-extra/gnome-shell-extensions-42 | ||
>=gnome-extra/gnome-shell-extension-alphabetical-grid-23.0 | ||
>=gnome-extra/gnome-shell-extension-appindicator-42 | ||
>=gnome-extra/gnome-shell-extension-applications-overview-tooltip-15 | ||
>=gnome-extra/gnome-shell-extension-bing-wallpaper-40 | ||
>=gnome-extra/gnome-shell-extension-control-blur-effect-on-lock-screen-20220323 | ||
>=gnome-extra/gnome-shell-extension-dash-to-panel-47 | ||
>=gnome-extra/gnome-shell-extension-desktop-icons-ng-43.0 | ||
>=gnome-extra/gnome-shell-extension-gsconnect-50 | ||
>=gnome-extra/gnome-shell-extension-weather-in-the-clock-20211108-r1 | ||
>=gnome-extra/gnome-tweaks-40.10 | ||
gnome-extra/gnome-clocks | ||
gnome-extra/seahorse-nautilus | ||
>=media-fonts/fonts-meta-2 | ||
bluetooth? ( >=gnome-extra/gnome-shell-extension-bluetooth-quick-connect-29 ) | ||
qt5? ( x11-themes/adwaita-qt ) | ||
webp? ( gui-libs/gdk-pixbuf-loader-webp ) | ||
" | ||
BDEPEND="" | ||
DEPEND="" | ||
|
||
src_prepare() { | ||
default | ||
if ! use bluetooth; then | ||
sed -i -e \ | ||
's:"bluetooth-quick-connect@bjarosze.gmail.com",::g' \ | ||
usr/share/gnome-shell/modes/pch*.json || die | ||
fi | ||
} | ||
|
||
pkg_preinst() { | ||
gnome2_schemas_update | ||
} | ||
|
||
src_install() { | ||
insinto /usr | ||
doins -r usr/. | ||
einstalldocs | ||
} | ||
|
||
pkg_postinst() { | ||
gnome2_schemas_update | ||
} | ||
|
||
pkg_postrm() { | ||
gnome2_schemas_update | ||
} |