From a12f416baa722b8bda57c0d527fb28b3d06b2aeb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 27 Jul 2023 10:33:45 +0100 Subject: gentoo auto-resync : 27:07:2023 - 10:33:45 --- gui-wm/Manifest.gz | Bin 1045 -> 1047 bytes gui-wm/hyprland/Manifest | 2 +- gui-wm/hyprland/hyprland-0.27.2-r1.ebuild | 103 ++++++++++++++++++++++++++++++ gui-wm/hyprland/hyprland-0.27.2.ebuild | 97 ---------------------------- 4 files changed, 104 insertions(+), 98 deletions(-) create mode 100644 gui-wm/hyprland/hyprland-0.27.2-r1.ebuild delete mode 100644 gui-wm/hyprland/hyprland-0.27.2.ebuild (limited to 'gui-wm') diff --git a/gui-wm/Manifest.gz b/gui-wm/Manifest.gz index efcb26c0a243..8309753d2250 100644 Binary files a/gui-wm/Manifest.gz and b/gui-wm/Manifest.gz differ diff --git a/gui-wm/hyprland/Manifest b/gui-wm/hyprland/Manifest index dc727f52691a..12535c4cef7c 100644 --- a/gui-wm/hyprland/Manifest +++ b/gui-wm/hyprland/Manifest @@ -2,5 +2,5 @@ AUX nvidia-0.25.0.patch 1394 BLAKE2B 95df2f6b82afb460a3e0a1769bb2abf41abcd76c564 DIST hyprland-0.26.0.gh.tar.gz 1523005 BLAKE2B e54ebb73850f63427ff9347c7ad0cb2ffda3350baf3c4221de51b1094678f3ffdac67669f49bfe3ba416b627673f5ca8491d06e16791764ef1c39f5964f2b570 SHA512 b43639a8e0fdd60165b6caa51c9411bc6f97260690c5ee3d15126ef091ccf93955fdda904a226b4aeb4367785ecaba426882a2e9b726c2b79c81a2ede0f9e36a DIST hyprland-0.27.2.gh.tar.gz 4992717 BLAKE2B 6725ee593edb4f7d127eb95ed567bc7344edc066a9ce818ba99bd15eb718ce1d8de86a63da5684521ccbe3ba918a3f385c3a3e662314704e60e855101d391d05 SHA512 92e8ca21eba52ff423654cd345d37125656c32e1262e4e76d8841ee4ba698788d46d70a5876fc9aca42440efa5dd4122f46c84365da53810284a666f5d13ce7e EBUILD hyprland-0.26.0.ebuild 2154 BLAKE2B 9bd3595f7c3efd97a6e0b53a6ff8bb099291899cd4a97b61010e168d03ed43ab6e865b832619bee4383bd44eb92d533185bcea5c334e7ad1fbd0b5561dc5785e SHA512 a9f876684bdb4952e12fffa97e12903f7e9f3673875d75d2af8ff5c1911cffe3aaa589e42c229810e4908c2be2e3646ec57174fefffaa32a0d76b0376dbff9b8 -EBUILD hyprland-0.27.2.ebuild 2152 BLAKE2B 3e62e2ee6e04a3c0e131418c3bb6d50d34fec73602bfd25fd3c39d497d9f14d666a2e3d8b9797e07654d3704a3b7f2cbbe47035f13bc6fb7328721227cf50120 SHA512 82d65a0b54d2741c90c68bdefb43131a93c96afa74862469c3d1ed405485ec001372ff33fc8e0803935390a6b953b40d73415de819186be06322c48d4136cff9 +EBUILD hyprland-0.27.2-r1.ebuild 2485 BLAKE2B ac074f5264a3a038d22b36ea17d8afd5d42d70bf8a10c49fa4dd7a5ce94bc7fa609166cf508d23f1071c27250306b4caf0928e59fe503730fb8ae295490b0433 SHA512 3288207b62c8c2659391830863a11aeadfdb86a7714761e329f7ef9bda1996ef7c843c5959afacee55b70130d6be725537f23c5f93f55b78b8012391925198a8 MISC metadata.xml 716 BLAKE2B fc5248c809b9b5bf1002e3d82ff80f595b8e613d09e5541f1a0151c3ea2c117376d25fa5a40c85d254533708d9eff5339bd329b42118e87ca49e22e55c0c5d7b SHA512 31252ced2546f3686f17259aabfe9273af14f7efaf3fa0bfb446c65c6d9478be3a23c531e0ac463f27fe1d50842f6f126f32e47a8a03a345306297e182952e98 diff --git a/gui-wm/hyprland/hyprland-0.27.2-r1.ebuild b/gui-wm/hyprland/hyprland-0.27.2-r1.ebuild new file mode 100644 index 000000000000..16078510e4d7 --- /dev/null +++ b/gui-wm/hyprland/hyprland-0.27.2-r1.ebuild @@ -0,0 +1,103 @@ +# Copyright 2023 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" + +SRC_URI="https://github.com/hyprwm/${PN^}/releases/download/v${PV}/source-v${PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/${PN}-source" + +KEYWORDS="~amd64" +LICENSE="BSD" +SLOT="0" +IUSE="X legacy-renderer systemd video_cards_nvidia" + +RDEPEND=" + app-misc/jq + dev-libs/glib:2 + dev-libs/libinput:= + dev-libs/libliftoff + dev-libs/wayland + dev-libs/wayland-protocols + dev-util/glslang + dev-util/vulkan-headers + gui-libs/gtk-layer-shell + media-libs/libdisplay-info + media-libs/libglvnd[X?] + media-libs/mesa[gles2,wayland,X?] + media-libs/vulkan-loader + sys-auth/seatd:= + x11-base/xcb-proto + x11-libs/cairo + x11-libs/libdrm + x11-libs/libxkbcommon + x11-libs/pango + x11-libs/pixman + x11-misc/xkeyboard-config + virtual/libudev:= + X? ( + gui-libs/wlroots[x11-backend] + x11-base/xwayland + x11-libs/libxcb:= + x11-libs/xcb-util-image + x11-libs/xcb-util-renderutil + x11-libs/xcb-util-wm + ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-libs/hyprland-protocols + >=dev-libs/wayland-1.22.0 + dev-util/wayland-scanner + dev-vcs/git + >=gui-libs/wlroots-0.16.0[X?] +" + +pkg_setup() { + [[ ${MERGE_TYPE} == binary ]] && return + + if tc-is-gcc; then + STDLIBVER=$(echo '#include ' | $(tc-getCXX) -x c++ -dM -E - | \ + grep GLIBCXX_RELEASE | sed 's/.*\([1-9][0-9]\)/\1/') + + if ! [[ ${STDLIBVER} -ge 12 ]]; then + die "Hyprland requires >=sys-devel/gcc-12.1.0 to build" + fi + elif [[ $(clang-major-version) -lt 16 ]]; then + die "Hyprland requires >=sys-devel/clang-16.0.3 to build"; + fi +} + +src_prepare() { + if use video_cards_nvidia; then + cd "${S}/subprojects/wlroots" || die + eapply "${S}/nix/wlroots-nvidia.patch" + cd "${S}" || die + fi + + default +} + +src_configure() { + local emesonargs=( + $(meson_feature legacy-renderer legacy_renderer) + $(meson_feature X xwayland) + $(meson_feature systemd) + ) + + meson_src_configure +} + +src_install() { + meson_src_install --skip-subprojects wlroots + + # FIXME: undo this in next release if meson is fixed (https://github.com/hyprwm/Hyprland/pull/2820) + # https://github.com/hyprwm/Hyprland/commit/70dae78c1b5b17288a3e343b87ca6d10244ee937 + # upstream added new backgrounds but didnt add them to be installed by meson. + insinto /usr/share/hyprland + doins assets/wall_anime_{2,4,8}K.png +} diff --git a/gui-wm/hyprland/hyprland-0.27.2.ebuild b/gui-wm/hyprland/hyprland-0.27.2.ebuild deleted file mode 100644 index 1a9d8c41a453..000000000000 --- a/gui-wm/hyprland/hyprland-0.27.2.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 2023 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" - -SRC_URI="https://github.com/hyprwm/${PN^}/releases/download/v${PV}/source-v${PV}.tar.gz -> ${PF}.gh.tar.gz" -S="${WORKDIR}/${PN}-source" - -KEYWORDS="~amd64" -LICENSE="BSD" -SLOT="0" -IUSE="X legacy-renderer systemd video_cards_nvidia" - -RDEPEND=" - app-misc/jq - dev-libs/glib:2 - dev-libs/libinput:= - dev-libs/libliftoff - dev-libs/wayland - dev-libs/wayland-protocols - dev-util/glslang - dev-util/vulkan-headers - gui-libs/gtk-layer-shell - media-libs/libdisplay-info - media-libs/libglvnd[X?] - media-libs/mesa[gles2,wayland,X?] - media-libs/vulkan-loader - sys-auth/seatd:= - x11-base/xcb-proto - x11-libs/cairo - x11-libs/libdrm - x11-libs/libxkbcommon - x11-libs/pango - x11-libs/pixman - x11-misc/xkeyboard-config - virtual/libudev:= - X? ( - gui-libs/wlroots[x11-backend] - x11-base/xwayland - x11-libs/libxcb:= - x11-libs/xcb-util-image - x11-libs/xcb-util-renderutil - x11-libs/xcb-util-wm - ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-libs/hyprland-protocols - >=dev-libs/wayland-1.22.0 - dev-util/wayland-scanner - dev-vcs/git - >=gui-libs/wlroots-0.16.0[X?] -" - -pkg_setup() { - [[ ${MERGE_TYPE} == binary ]] && return - - if tc-is-gcc; then - STDLIBVER=$(echo '#include ' | $(tc-getCXX) -x c++ -dM -E - | \ - grep GLIBCXX_RELEASE | sed 's/.*\([1-9][0-9]\)/\1/') - - if ! [[ ${STDLIBVER} -ge 12 ]]; then - die "Hyprland requires >=sys-devel/gcc-12.1.0 to build" - fi - elif [[ $(clang-major-version) -lt 16 ]]; then - die "Hyprland requires >=sys-devel/clang-16.0.3 to build"; - fi -} - -src_prepare() { - if use video_cards_nvidia; then - cd "${S}/subprojects/wlroots" || die - eapply "${S}/nix/wlroots-nvidia.patch" - cd "${S}" || die - fi - - default -} - -src_configure() { - local emesonargs=( - $(meson_feature legacy-renderer legacy_renderer) - $(meson_feature X xwayland) - $(meson_feature systemd) - ) - - meson_src_configure -} - -src_install() { - meson_src_install --skip-subprojects wlroots -} -- cgit v1.2.3