public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Julien Roy" <julien@jroy.ca>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: gui-wm/hyprland/
Date: Mon, 17 Apr 2023 02:01:31 +0000 (UTC)	[thread overview]
Message-ID: <1681696687.e8576ffbcd6f5a330c9e136fb403839ebc5c166f.julien@gentoo> (raw)

commit:     e8576ffbcd6f5a330c9e136fb403839ebc5c166f
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Mon Apr 17 01:58:07 2023 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> 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 <ignamartinoli <AT> proton.me>
Signed-off-by: Julien Roy <julien <AT> 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 <string>' | $(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
+}


             reply	other threads:[~2023-04-17  2:01 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-17  2:01 Julien Roy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-05-07 20:29 [gentoo-commits] repo/proj/guru:dev commit in: gui-wm/hyprland/ Julien Roy
2023-05-07 20:29 Julien Roy
2023-05-07 20:29 Julien Roy
2023-04-23 19:53 Julien Roy
2023-04-23 17:44 Julien Roy
2023-04-10  1:56 Julien Roy
2023-04-10  1:56 Julien Roy
2023-02-28  0:35 Julien Roy
2023-01-31 17:46 Julien Roy
2023-01-29 22:47 Julien Roy
2023-01-28 16:28 Julien Roy
2023-01-21 22:55 Julien Roy
2023-01-18  1:11 Julien Roy
2023-01-14 14:59 Julien Roy
2023-01-12  1:37 Julien Roy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1681696687.e8576ffbcd6f5a330c9e136fb403839ebc5c166f.julien@gentoo \
    --to=julien@jroy.ca \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox