From 1aa5736e9e9760bb4c3263bc095d6f86cf71a8ee Mon Sep 17 00:00:00 2001 From: TheK0tYaRa Date: Tue, 17 Dec 2024 23:05:25 +0200 Subject: [PATCH] hypr* live ebuilds --- .../hyprgraphics/hyprgraphics-9999.ebuild | 26 ++++++ dev-libs/hyprlang/hyprlang-9999.ebuild | 21 +++++ gui-wm/hyprland/hyprland-9999.ebuild | 89 +++++++++++++++++++ metadata/md5-cache/dev-libs/hyprgraphics-9999 | 13 +++ metadata/md5-cache/dev-libs/hyprlang-9999 | 13 +++ metadata/md5-cache/gui-libs/hyprcursor-0.1.5 | 14 +++ metadata/md5-cache/gui-wm/hyprland-0.43.0 | 15 ++++ metadata/md5-cache/gui-wm/hyprland-9999 | 14 +++ 8 files changed, 205 insertions(+) create mode 100644 dev-libs/hyprgraphics/hyprgraphics-9999.ebuild create mode 100644 dev-libs/hyprlang/hyprlang-9999.ebuild create mode 100644 gui-wm/hyprland/hyprland-9999.ebuild create mode 100644 metadata/md5-cache/dev-libs/hyprgraphics-9999 create mode 100644 metadata/md5-cache/dev-libs/hyprlang-9999 create mode 100644 metadata/md5-cache/gui-libs/hyprcursor-0.1.5 create mode 100644 metadata/md5-cache/gui-wm/hyprland-0.43.0 create mode 100644 metadata/md5-cache/gui-wm/hyprland-9999 diff --git a/dev-libs/hyprgraphics/hyprgraphics-9999.ebuild b/dev-libs/hyprgraphics/hyprgraphics-9999.ebuild new file mode 100644 index 0000000..dcc382b --- /dev/null +++ b/dev-libs/hyprgraphics/hyprgraphics-9999.ebuild @@ -0,0 +1,26 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake git-r3 + +DESCRIPTION="Hyprland graphics / resource utilities" +HOMEPAGE="https://github.com/hyprwm/hyprgraphics" +EGIT_REPO_URI="https://github.com/hyprwm/${PN}.git" + +LICENSE="BSD3-Clause" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + virtual/pkgconfig + >=dev-build/cmake-3.19.0 + + x11-libs/pixman + x11-libs/cairo + gui-libs/hyprutils + media-libs/libjpeg-turbo + media-libs/libwebp + media-libs/libjxl +" diff --git a/dev-libs/hyprlang/hyprlang-9999.ebuild b/dev-libs/hyprlang/hyprlang-9999.ebuild new file mode 100644 index 0000000..6693bba --- /dev/null +++ b/dev-libs/hyprlang/hyprlang-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake git-r3 + +DESCRIPTION="Official implementation library for the hypr config language" +HOMEPAGE="https://github.com/hyprwm/hyprlang" +EGIT_REPO_URI="https://github.com/hyprwm/${PN}.git" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + virtual/pkgconfig + >=dev-build/cmake-3.19.0 + + >=gui-libs/hyprutils-0.1.1 +" diff --git a/gui-wm/hyprland/hyprland-9999.ebuild b/gui-wm/hyprland/hyprland-9999.ebuild new file mode 100644 index 0000000..1e3bbfd --- /dev/null +++ b/gui-wm/hyprland/hyprland-9999.ebuild @@ -0,0 +1,89 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson toolchain-funcs + +DESCRIPTION="A dynamic tiling Wayland compositor that doesn't sacrifice on its looks" +HOMEPAGE="https://github.com/hyprwm/Hyprland" + +inherit git-r3 +EGIT_REPO_URI="https://github.com/hyprwm/${PN}.git" + +LICENSE="BSD3-Clause" +SLOT="0" +IUSE="X legacy-renderer systemd" + +# hyprpm (hyprland plugin manager) requires the dependencies at runtime +# so that it can clone, compile and install plugins. +HYPRPM_RDEPEND=" + app-alternatives/ninja + >=dev-build/cmake-3.30 + dev-build/meson + dev-vcs/git + virtual/pkgconfig +" +RDEPEND=" + ${HYPRPM_RDEPEND} + dev-cpp/tomlplusplus + dev-libs/glib:2 + dev-libs/libinput + >=dev-libs/udis86-1.7.2 + >=dev-libs/wayland-1.22.90 + >=gui-libs/aquamarine-0.4.2 + >=gui-libs/hyprcursor-0.1.9 + media-libs/libglvnd + x11-libs/cairo + x11-libs/libdrm + x11-libs/libxkbcommon + x11-libs/pango + x11-libs/pixman + x11-libs/libXcursor + X? ( + x11-libs/libxcb:0= + x11-base/xwayland + x11-libs/xcb-util-errors + x11-libs/xcb-util-wm + ) + + dev-libs/re2 +" +DEPEND=" + ${RDEPEND} + >=dev-libs/hyprland-protocols-0.4 + >=dev-libs/hyprlang-0.3.2 + >=dev-libs/wayland-protocols-1.36 + >=gui-libs/hyprutils-0.2.3 +" +BDEPEND=" + || ( >=sys-devel/gcc-14:* >=llvm-core/clang-18:* ) + app-misc/jq + dev-build/cmake + >=dev-util/hyprwayland-scanner-0.3.10 + virtual/pkgconfig +" + +pkg_setup() { + [[ ${MERGE_TYPE} == binary ]] && return + + if tc-is-gcc && ver_test $(gcc-version) -lt 14 ; then + eerror "Hyprland requires >=sys-devel/gcc-14 to build" + eerror "Please upgrade GCC: emerge -v1 sys-devel/gcc" + die "GCC version is too old to compile Hyprland!" + elif tc-is-clang && ver_test $(clang-version) -lt 18 ; then + eerror "Hyprland requires >=llvm-core/clang-18 to build" + eerror "Please upgrade Clang: emerge -v1 llvm-core/clang" + die "Clang version is too old to compile Hyprland!" + fi +} + +src_configure() { + local emesonargs=( + $(meson_feature legacy-renderer legacy_renderer) + $(meson_feature systemd) + $(meson_feature X xwayland) + ) + + meson_src_configure +} diff --git a/metadata/md5-cache/dev-libs/hyprgraphics-9999 b/metadata/md5-cache/dev-libs/hyprgraphics-9999 new file mode 100644 index 0000000..a0903e2 --- /dev/null +++ b/metadata/md5-cache/dev-libs/hyprgraphics-9999 @@ -0,0 +1,13 @@ +BDEPEND=app-alternatives/ninja >=dev-build/cmake-3.20.5 >=dev-vcs/git-1.8.2.1[curl] +DEFINED_PHASES=compile configure install prepare test unpack +DEPEND=virtual/pkgconfig >=dev-build/cmake-3.19.0 x11-libs/pixman x11-libs/cairo gui-libs/hyprutils media-libs/libjpeg-turbo media-libs/libwebp media-libs/libjxl +DESCRIPTION=Hyprland graphics / resource utilities +EAPI=8 +HOMEPAGE=https://github.com/hyprwm/hyprgraphics +INHERIT=cmake git-r3 +KEYWORDS=~amd64 +LICENSE=BSD3-Clause +PROPERTIES=live +SLOT=0 +_eclasses_=toolchain-funcs fa554cc3cff825d21dfe3f24841e29cf multilib b2a329026f2e404e9e371097dda47f96 flag-o-matic f14aba975c94ccaa9f357a27e3b17ffe multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 xdg-utils 42869b3c8d86a70ef3cf75165a395e09 cmake 10a50dfaf728b802fcfd37f8d0da9056 git-r3 875eb471682d3e1f18da124be97dcc81 +_md5_=94cc99408a579df284bc4dec06bf8639 diff --git a/metadata/md5-cache/dev-libs/hyprlang-9999 b/metadata/md5-cache/dev-libs/hyprlang-9999 new file mode 100644 index 0000000..d5be58e --- /dev/null +++ b/metadata/md5-cache/dev-libs/hyprlang-9999 @@ -0,0 +1,13 @@ +BDEPEND=app-alternatives/ninja >=dev-build/cmake-3.20.5 >=dev-vcs/git-1.8.2.1[curl] +DEFINED_PHASES=compile configure install prepare test unpack +DEPEND=virtual/pkgconfig >=dev-build/cmake-3.19.0 >=gui-libs/hyprutils-0.1.1 +DESCRIPTION=Official implementation library for the hypr config language +EAPI=8 +HOMEPAGE=https://github.com/hyprwm/hyprlang +INHERIT=cmake git-r3 +KEYWORDS=~amd64 +LICENSE=GPL-3 +PROPERTIES=live +SLOT=0 +_eclasses_=toolchain-funcs fa554cc3cff825d21dfe3f24841e29cf multilib b2a329026f2e404e9e371097dda47f96 flag-o-matic f14aba975c94ccaa9f357a27e3b17ffe multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 xdg-utils 42869b3c8d86a70ef3cf75165a395e09 cmake 10a50dfaf728b802fcfd37f8d0da9056 git-r3 875eb471682d3e1f18da124be97dcc81 +_md5_=e71042c20c47072947481aa5549561f1 diff --git a/metadata/md5-cache/gui-libs/hyprcursor-0.1.5 b/metadata/md5-cache/gui-libs/hyprcursor-0.1.5 new file mode 100644 index 0000000..406085d --- /dev/null +++ b/metadata/md5-cache/gui-libs/hyprcursor-0.1.5 @@ -0,0 +1,14 @@ +BDEPEND=app-alternatives/ninja >=dev-build/cmake-3.20.5 +DEFINED_PHASES=compile configure install prepare test +DESCRIPTION=The hyprland cursor format, library and utilities +EAPI=8 +HOMEPAGE=https://github.com/hyprwm/hyprcursor +INHERIT=cmake +KEYWORDS=~amd64 ~riscv +LICENSE=BSD +RDEPEND=>=dev-libs/hyprlang-0.4.2 dev-libs/libzip gnome-base/librsvg:2 x11-libs/cairo +RESTRICT=test +SLOT=0 +SRC_URI=https://github.com/hyprwm/hyprcursor/archive/v0.1.5.tar.gz -> hyprcursor-0.1.5.gh.tar.gz +_eclasses_=toolchain-funcs fa554cc3cff825d21dfe3f24841e29cf multilib b2a329026f2e404e9e371097dda47f96 flag-o-matic f14aba975c94ccaa9f357a27e3b17ffe multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 xdg-utils 42869b3c8d86a70ef3cf75165a395e09 cmake 10a50dfaf728b802fcfd37f8d0da9056 +_md5_=15fad8130df7c3315bbf3d6420f52c8f diff --git a/metadata/md5-cache/gui-wm/hyprland-0.43.0 b/metadata/md5-cache/gui-wm/hyprland-0.43.0 new file mode 100644 index 0000000..ff0825e --- /dev/null +++ b/metadata/md5-cache/gui-wm/hyprland-0.43.0 @@ -0,0 +1,15 @@ +BDEPEND=|| ( >=sys-devel/gcc-14:* >=sys-devel/clang-18:* ) app-misc/jq dev-build/cmake >=dev-util/hyprwayland-scanner-0.3.8 virtual/pkgconfig x11-libs/libdrm x11-libs/libxcb >=dev-build/meson-1.2.3 app-alternatives/ninja dev-build/meson-format-array +DEFINED_PHASES=compile configure install prepare setup test +DEPEND=app-alternatives/ninja dev-build/cmake dev-build/meson dev-vcs/git virtual/pkgconfig dev-cpp/tomlplusplus dev-libs/glib:2 dev-libs/libinput >=dev-libs/wayland-1.20.0 gui-libs/aquamarine >=gui-libs/hyprcursor-0.1.9 media-libs/libglvnd x11-libs/cairo x11-libs/libdrm x11-libs/libxkbcommon x11-libs/pango x11-libs/pixman x11-libs/libXcursor X? ( x11-libs/libxcb:0= x11-base/xwayland x11-libs/xcb-util-errors x11-libs/xcb-util-wm ) >=dev-libs/hyprland-protocols-0.3 >=dev-libs/hyprlang-0.3.2 >=dev-libs/wayland-protocols-1.36 >=gui-libs/hyprutils-0.2.1 +DESCRIPTION=A dynamic tiling Wayland compositor that doesn't sacrifice on its looks +EAPI=8 +HOMEPAGE=https://github.com/hyprwm/Hyprland +INHERIT=meson toolchain-funcs +IUSE=X legacy-renderer systemd +KEYWORDS=~amd64 +LICENSE=BSD +RDEPEND=app-alternatives/ninja dev-build/cmake dev-build/meson dev-vcs/git virtual/pkgconfig dev-cpp/tomlplusplus dev-libs/glib:2 dev-libs/libinput >=dev-libs/wayland-1.20.0 gui-libs/aquamarine >=gui-libs/hyprcursor-0.1.9 media-libs/libglvnd x11-libs/cairo x11-libs/libdrm x11-libs/libxkbcommon x11-libs/pango x11-libs/pixman x11-libs/libXcursor X? ( x11-libs/libxcb:0= x11-base/xwayland x11-libs/xcb-util-errors x11-libs/xcb-util-wm ) +SLOT=0 +SRC_URI=https://github.com/hyprwm/Hyprland/releases/download/v0.43.0/source-v0.43.0.tar.gz -> hyprland-0.43.0.gh.tar.gz +_eclasses_=toolchain-funcs fa554cc3cff825d21dfe3f24841e29cf multilib b2a329026f2e404e9e371097dda47f96 flag-o-matic f14aba975c94ccaa9f357a27e3b17ffe multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 python-utils-r1 42c5abe4a656a4993a06a4fc61dbdd12 meson 99466844dd8d4fcfb07578a76f5a9922 +_md5_=0e0554f6d2d545544263090b138564ec diff --git a/metadata/md5-cache/gui-wm/hyprland-9999 b/metadata/md5-cache/gui-wm/hyprland-9999 new file mode 100644 index 0000000..2dbd4cb --- /dev/null +++ b/metadata/md5-cache/gui-wm/hyprland-9999 @@ -0,0 +1,14 @@ +BDEPEND=|| ( >=sys-devel/gcc-14:* >=llvm-core/clang-18:* ) app-misc/jq dev-build/cmake >=dev-util/hyprwayland-scanner-0.3.10 virtual/pkgconfig >=dev-build/meson-1.2.3 app-alternatives/ninja dev-build/meson-format-array >=dev-vcs/git-1.8.2.1[curl] +DEFINED_PHASES=compile configure install setup test unpack +DEPEND=app-alternatives/ninja >=dev-build/cmake-3.30 dev-build/meson dev-vcs/git virtual/pkgconfig dev-cpp/tomlplusplus dev-libs/glib:2 dev-libs/libinput >=dev-libs/udis86-1.7.2 >=dev-libs/wayland-1.22.90 >=gui-libs/aquamarine-0.4.2 >=gui-libs/hyprcursor-0.1.9 media-libs/libglvnd x11-libs/cairo x11-libs/libdrm x11-libs/libxkbcommon x11-libs/pango x11-libs/pixman x11-libs/libXcursor X? ( x11-libs/libxcb:0= x11-base/xwayland x11-libs/xcb-util-errors x11-libs/xcb-util-wm ) dev-libs/re2 >=dev-libs/hyprland-protocols-0.4 >=dev-libs/hyprlang-0.3.2 >=dev-libs/wayland-protocols-1.36 >=gui-libs/hyprutils-0.2.3 +DESCRIPTION=A dynamic tiling Wayland compositor that doesn't sacrifice on its looks +EAPI=8 +HOMEPAGE=https://github.com/hyprwm/Hyprland +INHERIT=meson toolchain-funcs git-r3 +IUSE=X legacy-renderer systemd +LICENSE=BSD3-Clause +PROPERTIES=live +RDEPEND=app-alternatives/ninja >=dev-build/cmake-3.30 dev-build/meson dev-vcs/git virtual/pkgconfig dev-cpp/tomlplusplus dev-libs/glib:2 dev-libs/libinput >=dev-libs/udis86-1.7.2 >=dev-libs/wayland-1.22.90 >=gui-libs/aquamarine-0.4.2 >=gui-libs/hyprcursor-0.1.9 media-libs/libglvnd x11-libs/cairo x11-libs/libdrm x11-libs/libxkbcommon x11-libs/pango x11-libs/pixman x11-libs/libXcursor X? ( x11-libs/libxcb:0= x11-base/xwayland x11-libs/xcb-util-errors x11-libs/xcb-util-wm ) dev-libs/re2 +SLOT=0 +_eclasses_=toolchain-funcs fa554cc3cff825d21dfe3f24841e29cf multilib b2a329026f2e404e9e371097dda47f96 flag-o-matic f14aba975c94ccaa9f357a27e3b17ffe multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 python-utils-r1 42c5abe4a656a4993a06a4fc61dbdd12 meson 99466844dd8d4fcfb07578a76f5a9922 git-r3 875eb471682d3e1f18da124be97dcc81 +_md5_=d6f70708c886e159dde6348fb407093a