Add packages

This commit is contained in:
Paddy Milner 2025-08-18 17:21:34 +01:00
parent 47cb3f31a6
commit ea92b3f8d2
8 changed files with 224 additions and 0 deletions

View file

@ -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
}

View file

@ -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
"

View file

@ -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
"

View file

@ -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
}

View file

@ -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=""

View file

@ -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
"