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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0D64A15ACFB for ; Sun, 16 Apr 2023 05:01:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 30A9DE092D; Sun, 16 Apr 2023 05:01:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 07ACCE092D for ; Sun, 16 Apr 2023 05:01:32 +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 C779F33E5E4 for ; Sun, 16 Apr 2023 05:01:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2A32B8DF for ; Sun, 16 Apr 2023 05:01:30 +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: <1681621278.4d419b5450b5219b78b4b4dd163bbfe0f8abea97.julien@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/hyprland-plugins/ X-VCS-Repository: repo/proj/guru X-VCS-Files: gui-apps/hyprland-plugins/Manifest gui-apps/hyprland-plugins/hyprland-plugins-0.24.1.ebuild gui-apps/hyprland-plugins/metadata.xml X-VCS-Directories: gui-apps/hyprland-plugins/ X-VCS-Committer: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: 4d419b5450b5219b78b4b4dd163bbfe0f8abea97 X-VCS-Branch: dev Date: Sun, 16 Apr 2023 05:01:30 +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: ef0c6d0d-7bef-40fa-a45f-bc77fd8cd20a X-Archives-Hash: 92965c85e9c72c528efbbb441c40b2d2 commit: 4d419b5450b5219b78b4b4dd163bbfe0f8abea97 Author: Julien Roy jroy ca> AuthorDate: Sun Apr 16 05:01:18 2023 +0000 Commit: Julien Roy jroy ca> CommitDate: Sun Apr 16 05:01:18 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4d419b54 gui-apps/hyprland-plugins: new package, add 0.24.1 Signed-off-by: Julien Roy jroy.ca> gui-apps/hyprland-plugins/Manifest | 3 + .../hyprland-plugins-0.24.1.ebuild | 79 ++++++++++++++++++++++ gui-apps/hyprland-plugins/metadata.xml | 20 ++++++ 3 files changed, 102 insertions(+) diff --git a/gui-apps/hyprland-plugins/Manifest b/gui-apps/hyprland-plugins/Manifest new file mode 100644 index 000000000..b3cfd0bfd --- /dev/null +++ b/gui-apps/hyprland-plugins/Manifest @@ -0,0 +1,3 @@ +DIST hyprland-plugins-0.24.1-hyprsrc.gh.tar.gz 1502909 BLAKE2B ddc2ed026c921061427799836a957efb35fb68f3628f0cf5cb3d4d3ec2c876f62275bf8c580cbb8fb480b0b0fc6f1bff690da3ce0459c2af170e4e0add8e898c SHA512 d6d232f597a5790818345b43c329c4fa225a0d2f5e5bbddef88fa8ca59a6ff1d867dfea208ea215dbd37049c301a45aa292ff133c6fdf5e4b73918396c57f6f2 +DIST hyprland-plugins-0.24.1-split-monitor-workspaces.gh.tar.gz 3458 BLAKE2B 86365038b1be0129b96032d7e418057143bfb70bf17ce1d936a7dd5a7bb5678b345a5c89ad6e03fc2bd993e1af32390b8fa4bb6b817869e816ea7f7ba003a44d SHA512 86391bbe282d9c2e26d4f0acea90a269fbe4203517bd625d05ebef895347515f7485cc79ca669c6398442a490dc4369d468cd36fc1d430a687bce6baf569a1b0 +DIST hyprland-plugins-0.24.1.gh.tar.gz 8996 BLAKE2B bd8eeeb269f886e188dda003fa070da1d94649cce8d9c33cd4636b9ad5c068ce9794e6335000889bb0a964e8f632122c3ababeda45b2c0a90ac4895670420cbe SHA512 9e5091646f8bd55ffa9e1fec496aacdf325479569a9842fe5066471e45af656d976b35818bc86db2b488eb1dfab132ee9eba1b2057066e1bd96da7223c21465c diff --git a/gui-apps/hyprland-plugins/hyprland-plugins-0.24.1.ebuild b/gui-apps/hyprland-plugins/hyprland-plugins-0.24.1.ebuild new file mode 100644 index 000000000..9c5189a1f --- /dev/null +++ b/gui-apps/hyprland-plugins/hyprland-plugins-0.24.1.ebuild @@ -0,0 +1,79 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +COMMIT=bb1437add2df7f76147f7beb430365637fc2c35e +SPLITCOMMIT=feb6ab9a4929a92d41c724f6d16e9d351b12de39 +DESCRIPTION="A blazing fast wayland wallpaper utility" +HOMEPAGE="https://github.com/hyprwm/hyprpaper" +SRC_URI="https://github.com/hyprwm/${PN}/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz + https://github.com/hyprwm/Hyprland/releases/download/v${PV}/source-v${PV}.tar.gz \ + -> ${P}-hyprsrc.gh.tar.gz + https://github.com/Duckonaut/split-monitor-workspaces/archive/${SPLITCOMMIT}.tar.gz \ + -> ${P}-split-monitor-workspaces.gh.tar.gz +" +S="${WORKDIR}/${PN}-${COMMIT}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+borders-plus-plus csgo-vulkan-fix +hyprbars split-monitor-workspaces" +REQUIRED_USE="|| ( borders-plus-plus csgo-vulkan-fix hyprbars split-monitor-workspaces )" + +RDEPEND="gui-wm/hyprland" +DEPEND="${RDEPEND}" +BDEPEND=" + ~gui-wm/hyprland-${PV} + split-monitor-workspaces? ( gui-libs/wlroots[X] ) + x11-libs/libdrm + x11-libs/pixman +" + +src_compile() { + emake -C "${WORKDIR}/hyprland-source" protocols + export HYPRLAND_HEADERS="${WORKDIR}/hyprland-source" + + if use borders-plus-plus; then + emake -C "${S}/borders-plus-plus" all + fi + + if use csgo-vulkan-fix; then + emake -C "${S}/csgo-vulkan-fix" all + fi + + if use hyprbars; then + emake -C "${S}/hyprbars" all + fi + + if use split-monitor-workspaces; then + emake -C "${WORKDIR}/split-monitor-workspaces-${SPLITCOMMIT}" split-monitor-workspaces.so + fi +} + +src_install() { + insinto "/usr/share/hyprland/plugins" + + if use borders-plus-plus; then + doins "${S}/borders-plus-plus/borders-plus-plus.so" + fi + + if use csgo-vulkan-fix; then + doins "${S}/csgo-vulkan-fix/csgo-vulkan-fix.so" + fi + + if use hyprbars; then + doins "${S}/hyprbars/hyprbars.so" + fi + + if use split-monitor-workspaces; then + doins "${WORKDIR}/split-monitor-workspaces-${SPLITCOMMIT}/split-monitor-workspaces.so" + emake -C "${WORKDIR}/split-monitor-workspaces-${SPLITCOMMIT}" all + fi +} + +pkg_postinst() { + einfo "Plugins are installed in /usr/share/hyprland/plugins" + einfo "To load them, refer to the official documentation" + einfo "https://wiki.hyprland.org/Plugins/Using-Plugins/" +} diff --git a/gui-apps/hyprland-plugins/metadata.xml b/gui-apps/hyprland-plugins/metadata.xml new file mode 100644 index 000000000..9b6824459 --- /dev/null +++ b/gui-apps/hyprland-plugins/metadata.xml @@ -0,0 +1,20 @@ + + + + + Julien Roy + julien@jroy.ca + + + https://github.com/hyprwm/hyprland-plugins/issues + https://github.com/hyprwm/hyprland-plugins/releases + hypr/hyprland-plugins + hypr/Hyprland + + + adds one or two additional borders to windows + fixes custom resolutions on CS:GO with -vulkan + adds title bars to windows + A small Hyprland plugin to provide awesome-like workspace behavior + +