speedie-overlay/x11-misc/spde/spde-9999.ebuild

123 lines
4.1 KiB
Bash
Raw Normal View History

2022-11-11 15:48:06 +01:00
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Metapackage containing the spDE desktop environment."
2022-12-12 20:21:19 +01:00
HOMEPAGE="https://speedie.gq/projects/spde.php"
2022-11-11 15:48:06 +01:00
LICENSE="GPL-3"
SLOT="0"
2023-02-24 23:17:22 +01:00
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://codeberg.org/speedie/${PN}.git"
else
KEYWORDS="~amd64 ~x86 ~arm ~arm64 ~ppc ~ppc64 ~riscv"
SRC_URI="https://codeberg.org/speedie/${PN}/releases/download/${PV}/${P}.tar.gz"
fi
2023-02-25 00:52:10 +01:00
USE="+xinit sx +server +pywal +shells +fonts +editor +wm +extras +terminal +runlauncher +locker +filemanager +email +temp +visualizer +pdf +music +video +flac +mixer +volumeicon +network +wifi +bluetooth +pipewire pulseaudio +compositor +image +irc +rss +torrent +browser +notification +xdg +locker +clipboard +screenshot +dev +wallpaper +git +pass +otp +htop btop +exa +conky +redshift +display +xrdb +remap"
2022-11-11 15:48:06 +01:00
IUSE="${USE}"
2023-03-10 20:08:28 +01:00
DEPEND=""
BDEPEND=""
RDEPEND="wm? ( x11-wm/speedwm-spde )
2023-02-25 00:52:10 +01:00
extras? ( x11-wm/libspeedwm x11-wm/speedwm-extras )
2022-11-11 15:48:06 +01:00
terminal? ( x11-terms/st-spde )
2023-02-23 16:17:32 +01:00
runlauncher? ( x11-misc/spmenu )
2022-11-11 15:48:06 +01:00
locker? ( x11-misc/slock-spde )
runlauncher? ( x11-misc/j4-dmenu-desktop-spde )
editor? ( app-editors/neovim )
shells? ( app-shells/dash app-shells/zsh-resizing )
2022-12-12 20:21:19 +01:00
pdf? ( app-text/zathura app-text/zathura-pdf-poppler )
git? ( dev-vcs/git )
2022-12-14 18:52:10 +01:00
email? ( mail-client/neomutt mail-client/mutt-wizard )
2023-02-23 17:45:05 +01:00
fonts? ( media-fonts/fantasque-sans-mono media-fonts/noto media-fonts/noto-cjk media-fonts/noto-emoji )
2023-02-23 16:17:32 +01:00
screenshot? ( media-gfx/flameshot )
2022-11-11 18:06:13 +01:00
filemanager? ( media-gfx/ueberzug app-misc/vifm app-misc/vifm-ueberzug )
2022-11-11 15:48:06 +01:00
image? ( media-gfx/nsxiv )
2023-02-23 17:45:05 +01:00
conky? ( app-admin/conky )
2022-11-11 15:48:06 +01:00
pywal? ( media-sound/cli-visualizer-pywal )
visualizer? ( media-sound/cli-visualizer )
2022-12-12 20:21:19 +01:00
music? ( media-sound/cmus app-misc/tmux )
2022-11-11 15:48:06 +01:00
flac? ( media-sound/flacon )
mixer? ( media-sound/pulsemixer )
volumeicon? ( media-sound/volumeicon )
media-video/ffmpeg
2023-02-23 17:45:05 +01:00
pass? ( app-admin/pass )
otp? ( app-admin/pass app-admin/pass-otp )
2022-11-11 15:48:06 +01:00
filemanager? ( media-video/ffmpegthumbnailer )
video? ( media-video/mpv )
network? ( net-analyzer/bmon )
2022-12-12 20:21:19 +01:00
irc? ( net-irc/weechat app-misc/tmux )
2023-02-23 17:45:05 +01:00
rss? ( net-news/newsboat )
2022-11-11 15:48:06 +01:00
torrent? ( net-p2p/qbittorrent )
2023-02-23 17:45:05 +01:00
bluetooth? ( net-wireless/bluez net-wireless/bluez-tools )
exa? ( sys-apps/exa )
2022-11-11 15:48:06 +01:00
temp? ( sys-apps/lm-sensors )
2023-02-23 17:45:05 +01:00
htop? ( sys-process/htop-vim )
btop? ( sys-process/btop )
2022-12-12 20:21:19 +01:00
browser? ( www-client/chromium-bin )
2022-11-11 15:48:06 +01:00
x11-apps/xdpyinfo
2023-02-23 17:45:05 +01:00
xrdb? ( x11-apps/xrdb )
xinit? ( x11-apps/xinit )
sx? ( x11-apps/sx )
fonts? ( app-misc/fontctrl x11-apps/xfontsel )
display? ( x11-misc/arandr x11-apps/xrandr )
notification? ( x11-libs/libnotify x11-misc/dunst )
2022-11-11 15:48:06 +01:00
compositor? ( x11-misc/picom-animations )
locker? ( x11-misc/xautolock )
clipboard? ( x11-misc/xclip )
xdg? ( x11-misc/xdg-user-dirs )
2022-12-12 20:21:19 +01:00
wallpaper? ( x11-misc/xwallpaper )
2022-11-11 15:48:06 +01:00
wifi? ( net-wireless/iwd )
2022-12-17 10:51:11 +01:00
pulseaudio? ( media-sound/pulseaudio )
2023-02-23 17:45:05 +01:00
pipewire? ( media-video/pipewire )
redshift? ( x11-misc/redshift )
server? ( x11-base/xorg-server x11-base/xorg-drivers x11-apps/xprop )
remap? ( x11-apps/xmodmap )
2022-11-11 15:48:06 +01:00
pywal? ( app-misc/pywal )
2022-12-12 20:21:19 +01:00
dev? ( dev-util/shellcheck-bin app-text/pandoc-bin app-text/ansifilter )
2022-11-11 15:48:06 +01:00
"
2023-02-23 17:45:05 +01:00
pkg_postinst() {
if use bluetooth; then
elog "You must enable the bluetooth service. To enable it run:"
2023-02-24 23:17:22 +01:00
2023-02-23 17:45:05 +01:00
if use systemd; then
elog " systemctl enable bluetooth"
else
elog " rc-update add bluetooth default"
fi
fi
2023-02-24 23:17:22 +01:00
if use editor; then
elog "You have USE 'editor' enabled which pulls neovim as a dependency. To use it properly, you must run ':PlugInstall' before using it."
fi
elog "After installation, you need to install spDE configuration files. The spDE ebuild provides a convenient shell script for this. To install spDE configuration files run:"
elog " spde -i"
elog " "
elog "Then finally add your user to the spDE list using the following command:"
elog " spde -a <user>"
elog " "
elog "To start spDE, run this command:"
if use xinit; then
elog " startx /usr/bin/spde -r"
else
elog " sx sh /usr/bin/spde -r"
fi
}
src_prepare() {
default
2023-02-23 17:45:05 +01:00
}
2023-02-24 23:17:22 +01:00
src_install() {
newbin "${WORKDIR}/${P}/${PN}" ${PN}
}