Install this version:
emerge -a =gui-apps/noctalia-4.7.7-r1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =gui-apps/noctalia-4.7.7-r1
Or alternatively:
emerge --autounmask-write -a =gui-apps/noctalia-4.7.7-r1
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 4.7.7-r1 | 8 | ~amd64 | 0 |
# Copyright 2025-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_12 python3_13 )
inherit optfeature python-single-r1
DESCRIPTION="A sleek and minimal desktop shell thoughtfully crafted for Wayland"
HOMEPAGE="https://noctalia.dev/ https://github.com/noctalia-dev/noctalia"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/noctalia-dev/noctalia.git"
EGIT_BRANCH="legacy-v4"
else
SRC_URI="https://github.com/noctalia-dev/noctalia/releases/download/v${PV}/noctalia-v${PV}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/noctalia-release"
fi
LICENSE="MIT"
SLOT="0"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
${PYTHON_DEPS}
gui-apps/noctalia-qs
app-misc/brightnessctl
dev-vcs/git
media-gfx/imagemagick
"
src_install() {
# Install entry point and directories (default 0644 files, 0755 dirs)
insinto /etc/xdg/quickshell/${PN}
doins shell.qml
local d
for d in Assets Commons Helpers Modules Services Shaders Widgets; do
doins -r "${d}"
done
# Install Python scripts
# Library files under lib/ should remain non-executable (0644)
insinto /etc/xdg/quickshell/${PN}/Scripts/python/src
doins -r Scripts/python/src/theming/lib
# Runnable python scripts need executable permissions (0755)
exeinto /etc/xdg/quickshell/${PN}/Scripts/python/src/calendar
doexe Scripts/python/src/calendar/*.py
exeinto /etc/xdg/quickshell/${PN}/Scripts/python/src/network
doexe Scripts/python/src/network/*.py
exeinto /etc/xdg/quickshell/${PN}/Scripts/python/src/theming
doexe Scripts/python/src/theming/*.py
# Fix the python shebangs recursively for all scripts
python_fix_shebang "${ED}/etc/xdg/quickshell/${PN}/Scripts/python/src"
# Install docs using standard Portage helpers
dodoc README.md CREDITS.md
}
pkg_postinst() {
optfeature "clipboard history support" app-misc/cliphist
optfeature "night light functionality" gui-apps/wlsunset
optfeature "power profile management" sys-power/power-profiles-daemon
optfeature "external display brightness control" app-misc/ddcutil
}