From ea92b3f8d2ea28a7b05e0f28a1b2989212389ce3 Mon Sep 17 00:00:00 2001 From: Paddy Milner Date: Mon, 18 Aug 2025 17:21:34 +0100 Subject: [PATCH] Add packages --- app-misc/cliphist/cliphist-0.6.1.ebuild | 29 ++++++++ gui-apps/hypridle/hypridle-9999.ebuild | 37 ++++++++++ gui-apps/hyprpicker/hyprpicker-9999.ebuild | 37 ++++++++++ .../xdg-desktop-portal-hyprland-9999.ebuild | 72 +++++++++++++++++++ .../caelestia-meta/caelestia-meta-9999.ebuild | 27 +++++++ .../caelestia-shell-9999.ebuild | 0 sys-apps/app2unit/app2unit-9999.ebuild | 22 ++++++ .../caelestia-cli/caelestia-cli-9999.ebuild | 0 8 files changed, 224 insertions(+) create mode 100644 app-misc/cliphist/cliphist-0.6.1.ebuild create mode 100644 gui-apps/hypridle/hypridle-9999.ebuild create mode 100644 gui-apps/hyprpicker/hyprpicker-9999.ebuild create mode 100644 gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild create mode 100644 gui-wm/caelestia-meta/caelestia-meta-9999.ebuild create mode 100644 gui-wm/caelestia-shell/caelestia-shell-9999.ebuild create mode 100644 sys-apps/app2unit/app2unit-9999.ebuild create mode 100644 sys-apps/caelestia-cli/caelestia-cli-9999.ebuild diff --git a/app-misc/cliphist/cliphist-0.6.1.ebuild b/app-misc/cliphist/cliphist-0.6.1.ebuild new file mode 100644 index 0000000..6031523 --- /dev/null +++ b/app-misc/cliphist/cliphist-0.6.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="Wayland clipboard manager with support for multimedia" +HOMEPAGE="https://github.com/sentriz/cliphist" +SRC_URI="https://github.com/henri-gasc/cliphist/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="GPL-3 MIT BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + gui-apps/wl-clipboard + x11-misc/xdg-utils +" +DEPEND="${RDEPEND}" + +src_compile() { + ego build +} + +src_install() { + dobin "${PN}" + default +} diff --git a/gui-apps/hypridle/hypridle-9999.ebuild b/gui-apps/hypridle/hypridle-9999.ebuild new file mode 100644 index 0000000..e0a76af --- /dev/null +++ b/gui-apps/hypridle/hypridle-9999.ebuild @@ -0,0 +1,37 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Hyprland's idle daemon" +HOMEPAGE="https://github.com/hyprwm/hypridle" + +if [[ "${PV}" = *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/hyprwm/${PN^}.git" +else + SRC_URI="https://github.com/hyprwm/${PN^}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="BSD" +SLOT="0" + +RDEPEND=" + dev-cpp/sdbus-c++:0/2 + >=dev-libs/hyprlang-0.4.0 + dev-libs/wayland + gui-libs/hyprutils:= +" +DEPEND=" + ${RDEPEND} + >=dev-libs/hyprland-protocols-0.6.0 + dev-libs/wayland-protocols +" + +BDEPEND=" + dev-util/wayland-scanner + virtual/pkgconfig +" diff --git a/gui-apps/hyprpicker/hyprpicker-9999.ebuild b/gui-apps/hyprpicker/hyprpicker-9999.ebuild new file mode 100644 index 0000000..ac26884 --- /dev/null +++ b/gui-apps/hyprpicker/hyprpicker-9999.ebuild @@ -0,0 +1,37 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="A wlroots-compatible Wayland color picker that does not suck" +HOMEPAGE="https://github.com/hyprwm/hyprpicker" + +if [[ "${PV}" = *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/hyprwm/${PN^}.git" +else + SRC_URI="https://github.com/hyprwm/${PN^}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="BSD" +SLOT="0" + +RDEPEND=" + dev-libs/wayland + >=dev-util/hyprwayland-scanner-0.4.2 + gui-libs/hyprutils:= + x11-libs/cairo + x11-libs/libxkbcommon + x11-libs/pango +" +DEPEND="${RDEPEND}" + +BDEPEND=" + dev-libs/wayland-protocols + dev-util/wayland-scanner + media-libs/libglvnd + media-libs/libjpeg-turbo +" diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild new file mode 100644 index 0000000..e8d75fa --- /dev/null +++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild @@ -0,0 +1,72 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake toolchain-funcs + +DESCRIPTION="xdg-desktop-portal backend for Hyprland" +HOMEPAGE="https://github.com/hyprwm/xdg-desktop-portal-hyprland" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/hyprwm/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/hyprwm/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="elogind systemd" +REQUIRED_USE="?? ( elogind systemd )" + +DEPEND=" + >=dev-cpp/sdbus-c++-2.0.0 + dev-libs/hyprlang:= + dev-libs/inih + dev-libs/wayland + dev-qt/qtbase:6[gui,widgets] + dev-qt/qtwayland:6 + gui-libs/hyprutils:= + media-libs/mesa + >=media-video/pipewire-1.2.0:= + x11-libs/libdrm + || ( + sys-libs/basu + elogind? ( >=sys-auth/elogind-237 ) + systemd? ( >=sys-apps/systemd-237 ) + ) +" + +RDEPEND=" + ${DEPEND} + sys-apps/xdg-desktop-portal +" + +BDEPEND=" + dev-libs/hyprland-protocols + >=dev-libs/wayland-protocols-1.24 + >=dev-util/hyprwayland-scanner-0.4.2 + virtual/pkgconfig + || ( >=sys-devel/gcc-14:* >=llvm-core/clang-17:* ) +" + +pkg_setup() { + [[ ${MERGE_TYPE} == binary ]] && return + + if tc-is-gcc && ver_test $(gcc-version) -lt 14 ; then + eerror "XDPH needs >=gcc-14 or >=clang-17 to compile." + eerror "Please upgrade GCC: emerge -v1 sys-devel/gcc" + die "GCC version is too old to compile XDPH!" + elif tc-is-clang && ver_test $(clang-version) -lt 17 ; then + eerror "XDPH needs >=gcc-14 or >=clang-17 to compile." + eerror "Please upgrade Clang: emerge -v1 llvm-core/clang" + die "Clang version is too old to compile XDPH!" + fi +} + +src_prepare() { + sed -i "/add_compile_options(-O3)/d" "${S}/CMakeLists.txt" || die + cmake_src_prepare +} \ No newline at end of file diff --git a/gui-wm/caelestia-meta/caelestia-meta-9999.ebuild b/gui-wm/caelestia-meta/caelestia-meta-9999.ebuild new file mode 100644 index 0000000..eb920ff --- /dev/null +++ b/gui-wm/caelestia-meta/caelestia-meta-9999.ebuild @@ -0,0 +1,27 @@ +EAPI=8 + +DESCRIPTION="A metapackage containing all dependencies for the Caelestia dotfiles" +HOMEPAGE="https://github.com/caelestia-dots/caelestia" + +LICENSE="GPL-3.0-only" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~arm64" +IUSE="uswm gnome-keyring polkit-gnome" + + +RDEPEND="sys-apps/caelestia-cli + gui-wm/caelestia-shell + gui-wm/hyprland + gui-libs/xdg-desktop-portal-hyprland + sys-apps/edg-desktop-portal-gtk + gui-apps/hyprpicker + gui-apps/hypridle + gui-apps/wl-clipboard + app-misc/cliphist + net-wireless/bluez-tools + sys-fs/inotify-tools + + " + +DEPEND="" +BDEPEND="" \ No newline at end of file diff --git a/gui-wm/caelestia-shell/caelestia-shell-9999.ebuild b/gui-wm/caelestia-shell/caelestia-shell-9999.ebuild new file mode 100644 index 0000000..e69de29 diff --git a/sys-apps/app2unit/app2unit-9999.ebuild b/sys-apps/app2unit/app2unit-9999.ebuild new file mode 100644 index 0000000..69c13cd --- /dev/null +++ b/sys-apps/app2unit/app2unit-9999.ebuild @@ -0,0 +1,22 @@ +EAPI=8 + +inherit git-r3 + +DESCRIPTION="Launch Desktop Entries (or arbitrary commands) as Systemd user units, and do it fast." +HOMEPAGE="https://github.com/Vladimir-csp/app2unit" + +EGIT_REPO_URI=https://github.com/Vladimir-csp/app2unit.git + +LICENSE="GPL-3.0" +SLOT="0" + +DEPENDS="x11-libs/libnotify + app-alternatives/sh + sys-apps/systemd + " + +RDEPENDS=${DEPENDS} + +BDEPENDS="dev-vcs/git + app-text/sdoc + " \ No newline at end of file diff --git a/sys-apps/caelestia-cli/caelestia-cli-9999.ebuild b/sys-apps/caelestia-cli/caelestia-cli-9999.ebuild new file mode 100644 index 0000000..e69de29