diff --git a/app-misc/brightnessctl/brightnessctl-9999.ebuild b/app-misc/brightnessctl/brightnessctl-9999.ebuild new file mode 100644 index 0000000..0374e6f --- /dev/null +++ b/app-misc/brightnessctl/brightnessctl-9999.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit git-r3 + +DESCRIPTION="This program allows you read and control device brightness." +HOMEPAGE="https://github.com/Hummer12007/brightnessctl" +SRC_URI="" +EGIT_REPO_URI="https://github.com/Hummer12007/brightnessctl" + +if [[ ${PV} = 9999 ]] ; then + EGIT_COMMIT="" +else + EGIT_COMMIT="${PV}" +fi + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="systemd udev" + +DEPEND=" +systemd? ( sys-apps/systemd:= ) +udev? ( virtual/udev ) +" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_install() { + local myconf + if use systemd && use udev ; then + myconf="${myconf} ENABLE_SYSTEMD=1 INSTALL_UDEV_RULES=0" + einfo "Both systemd and udev are specified, defaulting to systemd only" + elif use udev && ! use systemd; then + myconf="${myconf} ENABLE_SYSTEMD=0 INSTALL_UDEV_RULES=1" + elif ! use udev ; then + myconf="${myconf} INSTALL_UDEV_RULES=0" + fi + + emake install ${myconf} DESTDIR="${D}" +} diff --git a/dev-python/materialyoucolor/materialyoucolor-9999.ebuild b/dev-python/materialyoucolor/materialyoucolor-9999.ebuild new file mode 100644 index 0000000..aa06ba3 --- /dev/null +++ b/dev-python/materialyoucolor/materialyoucolor-9999.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..12} ) + +inherit distutils-r1 + +DESCRIPTION="Material You color algorithms for python" +HOMEPAGE="https://github.com/T-Dynamos/materialyoucolor-python" + +LICENSE="MIT" +SLOT="0" +IUSE="" +REQUIRED_USE="" + +BEPEND=" + virtual/pkgconfig + >=dev-python/cython-0.24.0[${PYTHON_USEDEP}] +" +DEPEND=" + dev-python/Kivy[${PYTHON_USEDEP}] +" +RDEPEND="${DEPEND}" + +DISTUTILS_IN_SOURCE_BUILD= + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/T-Dynamos/materialyoucolor-python.git" + EGIT_BRANCH="main" + SRC_URI="" + KEYWORDS="" +else + # Strip all underscores from this package's version (e.g., reduce + # "2.3.0_rc3" to "2.3.0rc3"). + MY_PV=${PV//_} + MY_P=${PN}-${MY_PV} + MY_P2=${MY_PV}/${PN}-${MY_PV} + + #SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" + SRC_URI="https://github.com/T-Dynamos/materialyoucolor-python/releases/download/v${MY_P2}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" + + S="${WORKDIR}/${MY_P}" +fi + +python_prepare_all() { + distutils-r1_python_prepare_all +} + +python_compile() { + distutils-r1_python_compile +} + +python_install_all() { + distutils-r1_python_install_all +} \ No newline at end of file diff --git a/gui-apps/fuzzel/fuzzel-9999.ebuild b/gui-apps/fuzzel/fuzzel-9999.ebuild new file mode 100644 index 0000000..0facba8 --- /dev/null +++ b/gui-apps/fuzzel/fuzzel-9999.ebuild @@ -0,0 +1,58 @@ +# Copyright 2021 Aisha Tammy +# Copyright 2021 Erik Rodriguez +# Copyright 2022 Ryan Fox +# Distributed under the terms of the ISC License + +EAPI=8 + +inherit meson xdg + +DESCRIPTION="Application launcher similar to rofi's 'drun' mode" +HOMEPAGE="https://codeberg.org/dnkl/fuzzel" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://codeberg.org/dnkl/fuzzel.git" +else + SRC_URI="https://codeberg.org/dnkl/fuzzel/archive/${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}"/${PN} + KEYWORDS="~amd64" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="cairo png svg" + +RDEPEND=" + dev-libs/wayland + media-libs/fcft + x11-libs/libxkbcommon + cairo? ( x11-libs/cairo ) + png? ( media-libs/libpng ) + svg? ( gnome-base/librsvg ) +" +DEPEND="${RDEPEND} + dev-libs/tllist +" +BDEPEND=" + app-text/scdoc + dev-libs/wayland-protocols + virtual/pkgconfig +" + +src_configure() { + local emesonargs=( + -Dwerror=false + -Dpng-backend=$(usex png libpng none) + -Dsvg-backend=$(usex svg librsvg none) + $(meson_feature cairo enable-cairo) + ) + meson_src_configure +} + +src_install() { + meson_src_install + rm -r "${ED}/usr/share/doc/fuzzel" || die + local -x DOCS=( LICENSE README.md CHANGELOG.md ) + einstalldocs +} diff --git a/gui-apps/quickshell/quickshell-9999.ebuild b/gui-apps/quickshell/quickshell-9999.ebuild new file mode 100644 index 0000000..1b7803a --- /dev/null +++ b/gui-apps/quickshell/quickshell-9999.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Toolkit for building desktop widgets using QtQuick" +HOMEPAGE="https://quickshell.org/" + +if [[ "${PV}" = *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/quickshell-mirror/${PN^}.git" +else + SRC_URI="https://github.com/quickshell-mirror/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="LGPL-3" +SLOT="0" +# Upstream recommends leaving all build options enabled by default +IUSE="+breakpad +jemalloc +sockets +wayland +layer-shell +session-lock +toplevel-management +screencopy +X +pipewire +tray +mpris +pam +hyprland +hyprland-global-shortcuts +hyprland-focus-grab +i3 +i3-ipc +bluetooth" + +RDEPEND=" + dev-qt/qtbase:6 + dev-qt/qtsvg:6 + jemalloc? ( dev-libs/jemalloc ) + wayland? ( + dev-libs/wayland + dev-qt/qtwayland:6 + ) + screencopy? ( + x11-libs/libdrm + media-libs/mesa + ) + X? ( x11-libs/libxcb ) + pipewire? ( media-video/pipewire ) + mpris? ( dev-qt/qtdbus ) + pam? ( sys-libs/pam ) + bluetooth? ( net-wireless/bluez ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + || ( >=sys-devel/gcc-14:* >=llvm-core/clang-17:* ) + dev-build/cmake + dev-build/ninja + virtual/pkgconfig + dev-cpp/cli11 + dev-util/spirv-tools + dev-qt/qtshadertools:6 + breakpad? ( dev-util/breakpad ) + wayland? ( + dev-util/wayland-scanner + dev-libs/wayland-protocols + ) +" + +src_configure(){ + mycmakeargs=( + -DCMAKE_BUILD_TYPE=RelWithDebInfo + -DDISTRIBUTOR="Gentoo GURU" + -DINSTALL_QML_PREFIX="lib64/qt6/qml" + -DCRASH_REPORTER=$(usex breakpad ON OFF) + -DUSE_JEMALLOC=$(usex jemalloc ON OFF) + -DSOCKETS=$(usex sockets ON OFF) + -DWAYLAND=$(usex wayland ON OFF) + -DWAYLAND_WLR_LAYERSHELL=$(usex layer-shell ON OFF) + -DWAYLAND_SESSION_LOCK=$(usex session-lock ON OFF) + -DWAYLAND_TOPLEVEL_MANAGEMENT=$(usex toplevel-management ON OFF) + -DSCREENCOPY=$(usex screencopy ON OFF) + -DX11=$(usex X ON OFF) + -DSERVICE_PIPEWIRE=$(usex pipewire ON OFF) + -DSERVICE_STATUS_NOTIFIER=$(usex tray ON OFF) + -DSERVICE_MPRIS=$(usex mpris ON OFF) + -DSERVICE_PAM=$(usex pam ON OFF) + -DHYPRLAND=$(usex hyprland ON OFF) + -DHYPRLAND_GLOBAL_SHORTCUTS=$(usex hyprland-global-shortcuts) + -DHYPRLAND_FOCUS_GRAB=$(usex hyprland-focus-grab) + -DI3=$(usex i3 ON OFF) + -DI3_IPC=$(usex i3-ipc ON OFF) + -DBLUETOOTH=$(usex bluetooth ON OFF) + ) + cmake_src_configure +} diff --git a/gui-wm/caelestia-meta/caelestia-meta-9999.ebuild b/gui-wm/caelestia-meta/caelestia-meta-9999.ebuild index eb920ff..2839a9b 100644 --- a/gui-wm/caelestia-meta/caelestia-meta-9999.ebuild +++ b/gui-wm/caelestia-meta/caelestia-meta-9999.ebuild @@ -20,7 +20,27 @@ RDEPEND="sys-apps/caelestia-cli app-misc/cliphist net-wireless/bluez-tools sys-fs/inotify-tools - + sys-apps/app2unit + media-video/wireplumber + app-misc/trash-cli + gui-apps/foot + app-shells/fish + app-misc/fastfetch + app-shells/starship + sys-process/btop + app-misc/jq + net-misc/socat + media-gfx/imagemagick + net-misc/curl + x11-themes/adw-gtk3 + x11-themes/papirus-icon-theme + x11-misc/qt5ct + gui-apps/qt6ct + media-fonts/jetbrains-mono + media-fonts/symbols-nerd-font + uswm? ( gui-apps/uwsm ) + gnome-keyring? ( gnome-base/gnome-keyring ) + polkit-gnome? ( gnome-extra/polkit-gnome ) " DEPEND="" diff --git a/gui-wm/caelestia-shell/caelestia-shell-9999.ebuild b/gui-wm/caelestia-shell/caelestia-shell-9999.ebuild index e69de29..2fc5061 100644 --- a/gui-wm/caelestia-shell/caelestia-shell-9999.ebuild +++ b/gui-wm/caelestia-shell/caelestia-shell-9999.ebuild @@ -0,0 +1,53 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit git-r3 + +DESCRIPTION="The desktop shell for the Caelestia dotfiles" +HOMEPAGE="https://github.com/caelestia-dots/shell" + +EGIT_REPO_URI="https://github.com/caelestia-dots/shell.git" + +LICENSE="GPL-3.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +S="${WORKDIR}/${PN}" + +DEPEND="sys-apps/caelestia-cli + gui-apps/quickshell + app-misc/ddcutil + sys-apps/app2unit + media-sound/cava + net-misc/networkmanager + sys-apps/lm-sensors + app-shells/fish + media-libs/aubio + media-video/pipewire + sys-libs/glibc + sys-power/power-profiles-daemon + media-fonts/rubik + gui-apps/grim + gui-apps/swappy + sci-libs/libqalculate + " +RDEPEND=${DEPEND} + +BDEPEND="dev-vcs/git + sys-devel/gcc" + +src_compile() { + cd ${S}/assets + g++ $CXXFLAGS -std=c++17 -Wall -Wextra -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/aubio -o beat_detector beat_detector.cpp -lpipewire-0.3 -laubio $LDFLAGS +} + +src_install() { + cd ${S} + install -Dm755 ${D}./assets/beat_detector /usr/lib/caelestia/beat_detector + rm ./assets/beat_detector + + install -dm755 ${D}/etc/xdg/quickshell/caelestia + cp -r ./* ${D}/etc/xdg/quickshell/caelestia/ +} \ No newline at end of file diff --git a/media-fonts/rubik/rubik-9999.ebuild b/media-fonts/rubik/rubik-9999.ebuild new file mode 100644 index 0000000..abb45cb --- /dev/null +++ b/media-fonts/rubik/rubik-9999.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +FONTDIR_BIN=( fonts/variable ) +if [[ -z ${PV%%*9999} ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/googlefonts/${PN}.git" +else + MY_PV="e337a5f" + SRC_URI=" + mirror://githubcl/googlefonts/${PN}/tar.gz/${MY_PV} -> ${P}.tar.gz + " + KEYWORDS="~amd64" + S="${WORKDIR}/${PN}-${MY_PV#v}" +fi +inherit fontmake + +DESCRIPTION="A sans serif font family with slightly rounded corners" +HOMEPAGE="https://github.com/googlefonts/${PN}" + +LICENSE="OFL-1.1" +SLOT="0" +REQUIRED_USE+=" + binary? ( + variable + font_types_ttf + ) +" diff --git a/media-video/wl-screenrec/wl-screenrec-0.1.7.ebuild b/media-video/wl-screenrec/wl-screenrec-0.1.7.ebuild new file mode 100644 index 0000000..90fdeff --- /dev/null +++ b/media-video/wl-screenrec/wl-screenrec-0.1.7.ebuild @@ -0,0 +1,173 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + aho-corasick@1.1.3 + anstream@0.6.18 + anstyle-parse@0.2.6 + anstyle-query@1.1.2 + anstyle-wincon@3.0.7 + anstyle@1.0.10 + anyhow@1.0.97 + bindgen@0.70.1 + bitflags@2.9.0 + bytemuck@1.22.0 + bytemuck_derive@1.9.2 + cc@1.2.17 + cexpr@0.6.0 + cfg-if@1.0.0 + cfg_aliases@0.2.1 + clang-sys@1.8.1 + clap@4.5.32 + clap_builder@4.5.32 + clap_complete@4.5.47 + clap_derive@4.5.32 + clap_lex@0.7.4 + colorchoice@1.0.3 + deranged@0.4.0 + downcast-rs@1.2.1 + drm-ffi@0.9.0 + drm-fourcc@2.2.0 + drm-sys@0.8.0 + drm@0.14.1 + either@1.15.0 + errno@0.3.10 + ffmpeg-next@7.1.0 + ffmpeg-sys-next@7.1.0 + glob@0.3.2 + heck@0.5.0 + hermit-abi@0.3.9 + human-size@0.4.3 + is_terminal_polyfill@1.70.1 + itertools@0.13.0 + itoa@1.0.15 + libc@0.2.171 + libloading@0.8.6 + linux-raw-sys@0.4.15 + linux-raw-sys@0.6.5 + log-once@0.4.1 + log@0.4.26 + memchr@2.7.4 + minimal-lexical@0.2.1 + nix@0.29.0 + nom@7.1.3 + num-conv@0.1.0 + num_cpus@1.16.0 + num_threads@0.1.7 + once_cell@1.21.1 + pkg-config@0.3.32 + powerfmt@0.2.0 + proc-macro2@1.0.94 + quick-xml@0.37.2 + quote@1.0.40 + regex-automata@0.4.9 + regex-syntax@0.8.5 + regex@1.11.1 + rustc-hash@1.1.0 + rustix@0.38.44 + ryu@1.0.20 + serde@1.0.219 + serde_derive@1.0.219 + serde_json@1.0.140 + shlex@1.3.0 + signal-hook-registry@1.4.2 + signal-hook@0.3.17 + simplelog@0.12.2 + smallvec@1.14.0 + strsim@0.11.1 + syn@2.0.100 + termcolor@1.4.1 + thiserror-impl@2.0.12 + thiserror@2.0.12 + time-core@0.1.4 + time-macros@0.2.21 + time@0.3.40 + unicode-ident@1.0.18 + utf8parse@0.2.2 + vcpkg@0.2.15 + wayland-backend@0.3.8 + wayland-client@0.31.8 + wayland-protocols-wlr@0.3.6 + wayland-protocols@0.32.6 + wayland-scanner@0.31.6 + wayland-sys@0.31.6 + winapi-util@0.1.9 + windows-sys@0.59.0 + windows-targets@0.52.6 + windows_aarch64_gnullvm@0.52.6 + windows_aarch64_msvc@0.52.6 + windows_i686_gnu@0.52.6 + windows_i686_gnullvm@0.52.6 + windows_i686_msvc@0.52.6 + windows_x86_64_gnu@0.52.6 + windows_x86_64_gnullvm@0.52.6 + windows_x86_64_msvc@0.52.6 +" + +LLVM_COMPAT=( {16..19} ) +RUST_NEEDS_LLVM=1 + +inherit cargo shell-completion llvm-r1 + +DESCRIPTION="High performance screen/audio recorder for wlroots" +HOMEPAGE="https://github.com/russelltg/wl-screenrec" +SRC_URI=" + https://github.com/russelltg/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" + +LICENSE="Apache-2.0 BSD ISC MIT Unicode-3.0 WTFPL-2" +SLOT="0" +KEYWORDS="~amd64" +# We need a running Wayland compositor for the tests to work +RESTRICT="test" + +BDEPEND=" + $(llvm_gen_dep ' + llvm-core/clang:${LLVM_SLOT} + ') +" +RDEPEND=" + media-video/ffmpeg:=[vaapi] + x11-libs/libdrm +" +DEPEND=" + ${RDEPEND} +" + +QA_FLAGS_IGNORED="usr/bin/${PN}" + +pkg_setup() { + llvm-r1_pkg_setup + rust_pkg_setup +} + +src_compile() { + cargo_src_compile + + ./"$(cargo_target_dir)/${PN}" --generate-completions bash > "${S}/wl-screenrec" || \ + die "Could not generate bash completion" + ./"$(cargo_target_dir)/${PN}" --generate-completions fish > "${S}/wl-screenrec.fish" || \ + die "Could not generate fish completion" + ./"$(cargo_target_dir)/${PN}" --generate-completions zsh > "${S}/_wl-screenrec" || \ + die "Could not generate zsh completion" +} + +src_install() { + cargo_src_install + + dobashcomp "${S}/wl-screenrec" || die "Could not install bash completion" + dofishcomp "${S}/wl-screenrec.fish" || die "Could not install fish completion" + dozshcomp "${S}/_wl-screenrec" || die "Could not install zsh completion" +} + +pkg_postinst() { + elog "You need a wayland compositor that supports the" + elog "following unstable protocols:" + elog " - wlr-output-management-unstable-v1" + elog " - wlr-screencopy-unstable-v1" + elog "You should also make sure you have the correct librairies" + elog "installed. See: https://trac.ffmpeg.org/wiki/Hardware/VAAPI" +} diff --git a/sys-apps/caelestia-cli/caelestia-cli-9999.ebuild b/sys-apps/caelestia-cli/caelestia-cli-9999.ebuild index e69de29..9b3e426 100644 --- a/sys-apps/caelestia-cli/caelestia-cli-9999.ebuild +++ b/sys-apps/caelestia-cli/caelestia-cli-9999.ebuild @@ -0,0 +1,45 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling + +inherit git-r3 distutils-r1 shell-completion + +DESCRIPTION="The main cli for the Caelestia dotfiles" +HOMEPAGE="https://github.com/caelestia-dots/cli" + +EGIT_REPO_URI="https://github.com/caelestia-dots/cli.git" + +LICENSE="GPL-3.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +DEPEND="dev-lang/python + dev-python/pillow + dev-python/materialyoucolor + x11-libs/libnotify + gui-apps/swappy + gui-apps/grim + dev-ruby/sass + sys-apps/app2unit + gui-apps/wl-clipboard + gui-apps/slurp + media-video/wl-screenrec + gnome-base/dconf + media-libs/libpulse + app-misc/cliphist + " +RDEPEND=${DEPEND} + +BDEPEND="dev-vcs/git" + +src_compile() { + disutils-r1_python_compile +} + +src_install() { + distutils-r1_python_install + dofishcomp completions/caelestia.fish +} \ No newline at end of file diff --git a/x11-themes/adw-gtk3/adw-gtk3-5.6.ebuild b/x11-themes/adw-gtk3/adw-gtk3-5.6.ebuild new file mode 100644 index 0000000..b5cfbcc --- /dev/null +++ b/x11-themes/adw-gtk3/adw-gtk3-5.6.ebuild @@ -0,0 +1,17 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="The theme from libadwaita ported to GTK-3" +HOMEPAGE="https://github.com/lassekongo83/adw-gtk3" +SRC_URI="https://github.com/lassekongo83/adw-gtk3/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +IDEPEND=">=dev-lang/sassc-3.6.2" +RDEPEND=">=gui-libs/gtk-4.16.0:4"