From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1AC861592C2 for ; Mon, 17 Apr 2023 02:01:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4535DE0932; Mon, 17 Apr 2023 02:01:35 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 10F48E0932 for ; Mon, 17 Apr 2023 02:01:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B6ABA33BE5A for ; Mon, 17 Apr 2023 02:01:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F20DDA1C for ; Mon, 17 Apr 2023 02:01:31 +0000 (UTC) From: "Julien Roy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Julien Roy" Message-ID: <1681696687.e8576ffbcd6f5a330c9e136fb403839ebc5c166f.julien@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: gui-wm/hyprland/ X-VCS-Repository: repo/proj/guru X-VCS-Files: gui-wm/hyprland/Manifest gui-wm/hyprland/hyprland-0.24.1-r1.ebuild X-VCS-Directories: gui-wm/hyprland/ X-VCS-Committer: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: e8576ffbcd6f5a330c9e136fb403839ebc5c166f X-VCS-Branch: dev Date: Mon, 17 Apr 2023 02:01:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a6a8a25d-53f1-4987-b7d7-40f68377f384 X-Archives-Hash: 6ef53c7525de32ed419e391a4e7463ec commit: e8576ffbcd6f5a330c9e136fb403839ebc5c166f Author: Julien Roy jroy ca> AuthorDate: Mon Apr 17 01:58:07 2023 +0000 Commit: Julien Roy jroy ca> CommitDate: Mon Apr 17 01:58:07 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e8576ffb gui-wm/hyprland: add 0.24.1-r1 Drop workaround for meson issue Add dependency for hyprland-protocols Closes: https://bugs.gentoo.org/904299 Thanks to: Tano proton.me> Signed-off-by: Julien Roy jroy.ca> gui-wm/hyprland/Manifest | 1 + gui-wm/hyprland/hyprland-0.24.1-r1.ebuild | 93 +++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) diff --git a/gui-wm/hyprland/Manifest b/gui-wm/hyprland/Manifest index 66a8a26f9..65d3a5519 100644 --- a/gui-wm/hyprland/Manifest +++ b/gui-wm/hyprland/Manifest @@ -1,6 +1,7 @@ DIST contrib-0.22.0.tar.gz 11142 BLAKE2B 1d18956f69689eb737c079c3829ff47a47a36c05d151ad58a629621f2d6a0218368b2b41640d61dd670fb06f139c3c515ade9f4c301a8c4f82e70cf2d4a6b4e5 SHA512 655b9d98dc14205d5e42babbce2f89d63eb8f427db2a5fa7157c07d3021ea598cb3c4e5441a78f4a371b1e00bc32737263512ff137549c70bb5c09659a210b6d DIST contrib-0.24.1.tar.gz 12262 BLAKE2B dcb971c345ada8bef50719fdd3ce081641c1eb92d19ced174f0a6a961d68785a130ff1b0c4cca1685983b02a6af3bfafa3e6a03567ce7280fa0bbc1e57802b3b SHA512 266d5e1dd258b1a0e1487794f06a8480a65c161c829ac59cc99632f0488dbc261390816a06a574a694c76be4374ac59bdcce8f473be80481c47ff52347956ba2 DIST hyprland-0.22.0.tar.gz 723020 BLAKE2B 54f682c5efd0061eb2ee1919be994c06c92e832b258ef4286086a6e0d5c5e0d6006f624103ddb05c722fd2b5db30557a489a06b8d11dd0f13bd77b1829317700 SHA512 e72ec2037ce23ba0d5d9af75d9ef2448b813a3e8862932e6780c2649e0df74cb9ff13cdaf41c5a09b06b3e51a09b48a13cbf923d73feaa5d5836ca023a7a551f +DIST hyprland-0.24.1-r1.gh.tar.gz 1502909 BLAKE2B ddc2ed026c921061427799836a957efb35fb68f3628f0cf5cb3d4d3ec2c876f62275bf8c580cbb8fb480b0b0fc6f1bff690da3ce0459c2af170e4e0add8e898c SHA512 d6d232f597a5790818345b43c329c4fa225a0d2f5e5bbddef88fa8ca59a6ff1d867dfea208ea215dbd37049c301a45aa292ff133c6fdf5e4b73918396c57f6f2 DIST hyprland-0.24.1.tar.gz 758442 BLAKE2B 5bdbf0895f731515e3913eb82468dafac666b2bbe80cc611519698aefa68b6e01b6cc39115b69492d5d01f8bd62f7fd1e414297af72856f698ddbccde822fc1a SHA512 47e093e4afedac50b7d28cc8495d237369852cefac99bce1ed3c83935013a55ecd543ac3b337c6a6c711abb2a4ed745b8a33f65ba83fe8ed99edc1c360f3c2d4 DIST hyprland-protocols-0.22.0.tar.gz 4858 BLAKE2B 565532803fe6975efdba621c9ef69e4a7c18f040a65818e9f0f61d1dda15a3927f4aca25972989172554d5be5332f014d57dc8e1d0bb207ea5ba64aaec0e65f2 SHA512 03e176149fb0749f63fc58aea1175bfed92f0a30895d17e022ebdf9bb6f786e3a1018244379d0a6d205c590b25eccba0d7bea273bb389dd1031fad3d8467ef23 DIST hyprland-protocols-0.24.1.tar.gz 6343 BLAKE2B cffa25c1fbac992db9aee57956615c2a5f8a6e90150d86246218e6d346e566a43527f56cab08b07359bd2f56b1e02b741fb0dbb37ec35fbadd22dfdb2006d3b0 SHA512 f8534c0f6562ce3c770ed9c79b8b78504d6f3aa75001c74ecfa5418af939e88a020ca1cef08d20c62e73c764d66452b5ce212a0f0d2e9a3aaba635ee80b142c5 diff --git a/gui-wm/hyprland/hyprland-0.24.1-r1.ebuild b/gui-wm/hyprland/hyprland-0.24.1-r1.ebuild new file mode 100644 index 000000000..888dbbce7 --- /dev/null +++ b/gui-wm/hyprland/hyprland-0.24.1-r1.ebuild @@ -0,0 +1,93 @@ +# 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/releases" + +CONTRIBCOMMIT=1af47a008e850c595aeddc83bb3f04fd81935caa +SRC_URI="https://github.com/hyprwm/${PN^}/releases/download/v${PV}/source-v${PV}.tar.gz -> ${PF}.gh.tar.gz + https://github.com/hyprwm/contrib/archive/${CONTRIBCOMMIT}.tar.gz \ + -> contrib-${PV}.tar.gz +" +S="${WORKDIR}/${PN}-source" + +KEYWORDS="~amd64" +LICENSE="BSD" +SLOT="0" +IUSE="X grimblast legacy-renderer scratchpad shellevents systemd" + +RDEPEND=" + app-misc/jq + dev-libs/libevdev + dev-libs/libinput + dev-libs/wayland + >=dev-libs/wayland-protocols-1.31 + dev-util/glslang + dev-util/vulkan-headers + gui-libs/gtk-layer-shell + >=gui-libs/wlroots-0.16.0[X?] + media-libs/libdisplay-info + media-libs/libglvnd[X?] + media-libs/mesa[gles2,wayland,X?] + media-libs/vulkan-loader + x11-base/xcb-proto + x11-libs/cairo + x11-libs/libdrm + x11-libs/libxkbcommon + x11-libs/pixman + x11-misc/xkeyboard-config + virtual/libudev + grimblast? ( + gui-apps/grim + gui-apps/slurp + gui-apps/wl-clipboard + x11-libs/libnotify + ) + 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/libliftoff + grimblast? ( app-text/scdoc ) + shellevents? ( app-text/scdoc ) +" + +src_prepare() { + 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 + + 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 + + use grimblast && emake PREFIX="${ED}/usr" -C "${WORKDIR}/contrib-${CONTRIBCOMMIT}/grimblast" install + use scratchpad && emake PREFIX="${ED}/usr" -C "${WORKDIR}/contrib-${CONTRIBCOMMIT}/scratchpad" install + use shellevents && emake PREFIX="${ED}/usr" -C "${WORKDIR}/contrib-${CONTRIBCOMMIT}/shellevents" install +}