From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1570391-garchives=archives.gentoo.org@lists.gentoo.org>
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 DD770158089
	for <garchives@archives.gentoo.org>; Tue, 14 Nov 2023 11:22:55 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 15AF62BC020;
	Tue, 14 Nov 2023 11:22:55 +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 EC9C82BC020
	for <gentoo-commits@lists.gentoo.org>; Tue, 14 Nov 2023 11:22:54 +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 07822335D72
	for <gentoo-commits@lists.gentoo.org>; Tue, 14 Nov 2023 11:22:54 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 32983AAB
	for <gentoo-commits@lists.gentoo.org>; Tue, 14 Nov 2023 11:22:52 +0000 (UTC)
From: "Gonçalo Negrier Duarte" <gonegrier.duarte@gmail.com>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Gonçalo Negrier Duarte" <gonegrier.duarte@gmail.com>
Message-ID: <1699960959.e641eead3398c3fb2baa0051c4347c884787c955.gonegrier.duarte@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.32.3.ebuild
X-VCS-Directories: gui-apps/hyprland-plugins/
X-VCS-Committer: gonegrier.duarte
X-VCS-Committer-Name: Gonçalo Negrier Duarte
X-VCS-Revision: e641eead3398c3fb2baa0051c4347c884787c955
X-VCS-Branch: dev
Date: Tue, 14 Nov 2023 11:22:52 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 8d1b65d5-e299-4a9c-a9d2-997f8ecaa09a
X-Archives-Hash: c07723a2a59c8799a9d55ce6197d7d7f

commit:     e641eead3398c3fb2baa0051c4347c884787c955
Author:     Gonçalo Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Tue Nov 14 11:19:38 2023 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Tue Nov 14 11:22:39 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e641eead

gui-apps/hyprland-plugins: add 0.32.3

Signed-off-by: Gonçalo Duarte <gonegrier.duarte <AT> gmail.com>

 gui-apps/hyprland-plugins/Manifest                 |   2 +
 .../hyprland-plugins-0.32.3.ebuild                 | 102 +++++++++++++++++++++
 2 files changed, 104 insertions(+)

diff --git a/gui-apps/hyprland-plugins/Manifest b/gui-apps/hyprland-plugins/Manifest
index 1f083e7b8c..6fb306243c 100644
--- a/gui-apps/hyprland-plugins/Manifest
+++ b/gui-apps/hyprland-plugins/Manifest
@@ -1,2 +1,4 @@
 DIST hyprland-plugins-0.31.0-split-monitor-workspaces.gh.tar.gz 7711 BLAKE2B 08d6e31fb23321058d9ae935e92b700281e6801a9f4d363c33a288730e2b5448916d2446a6ea8a3e071e052c886b4aae9df5b36abcfd42381094242a0396f4de SHA512 0de58765faa242b5e87f7ce1eec3a9265b97b7a16ce45fbb099c07f94989bed0042d65e580cf20e81e45b306d8b7d8a605300c87a84b8f69053678e6e41ec094
 DIST hyprland-plugins-0.31.0.gh.tar.gz 13160 BLAKE2B fed8de62adb8521fb99541e5802ba3316fff6f5e3ba6036ac12c8f1f7186d9806163189cedb15e30ac3213af548562f007c85fe7df3e9151a062396521ca0578 SHA512 2e72038591bfd372962c2d842937bcc6011f8f5bd75b2dca11cc604fca337b8b4d4af68bc5377e6e7d3f49008ee73e6ef91f450a3c207f1c73d1a00552f29f59
+DIST hyprland-plugins-0.32.3-split-monitor-workspaces.gh.tar.gz 7757 BLAKE2B 69d63bbf37c46b507a5983d6bf9bfc98f66c19c69e5543ba217c05b2c2feca88443968351bd27a2473ef7f297e866a88bc0f2047f78840dc7515c32942b803dc SHA512 8ecec6895456b5b84a8f9c887fe54da0e5b23ca7eae22eacfb353115b361260437a398823bb8e973fa45e1676dc4c2755efd18820ebfd7a265571f9b4dd2dfda
+DIST hyprland-plugins-0.32.3.gh.tar.gz 21262 BLAKE2B 262336d22d150579c43dcb5c9d4bb1823ea9cf2976a94f0df84568c8155785cdcf37322f10bcb7869a9c4b9b6688085d4ab7a85f170c9e219df35c67e601136b SHA512 eac31a9e38cbfe2eaf27054be5a88cbf9adf969a58c4a7daf477040846d22882af9c4da2f5804dcb6a78ac4d5b9f2e9488ce6ce0cbe1a278f0e4a8c86701ac9c

diff --git a/gui-apps/hyprland-plugins/hyprland-plugins-0.32.3.ebuild b/gui-apps/hyprland-plugins/hyprland-plugins-0.32.3.ebuild
new file mode 100644
index 0000000000..605ebcc526
--- /dev/null
+++ b/gui-apps/hyprland-plugins/hyprland-plugins-0.32.3.ebuild
@@ -0,0 +1,102 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+COMMIT=2cc193e6dc524baed841c016109b4f48fd0512a3
+SPLITCOMMIT=2b1abdbf9e9de9ee660540167c8f51903fa3d959
+DESCRIPTION="A blazing fast wayland wallpaper utility"
+HOMEPAGE="https://github.com/hyprwm/hyprland-plugins"
+SRC_URI="https://github.com/hyprwm/${PN}/archive/${COMMIT}.tar.gz -> ${P}.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}
+	x11-libs/libdrm
+	x11-libs/pixman
+	x11-libs/xcb-util-wm
+"
+
+src_configure() {
+	if use borders-plus-plus; then
+		BUILD_DIR="${WORKDIR}/${P}-build/borders-plus-plus"
+		EMESON_SOURCE="${S}/borders-plus-plus"
+		meson_src_configure
+	fi
+
+	if use csgo-vulkan-fix; then
+		BUILD_DIR="${WORKDIR}/${P}-build/csgo-vulkan-fix"
+		EMESON_SOURCE="${S}/csgo-vulkan-fix"
+		meson_src_configure
+	fi
+
+	if use hyprbars; then
+		BUILD_DIR="${WORKDIR}/${P}-build/hyprbars"
+		EMESON_SOURCE="${S}/hyprbars"
+		meson_src_configure
+	fi
+}
+
+src_compile() {
+	if use borders-plus-plus; then
+		BUILD_DIR="${WORKDIR}/${P}-build/borders-plus-plus"
+		EMESON_SOURCE="${S}/borders-plus-plus"
+		meson_src_compile
+	fi
+
+	if use csgo-vulkan-fix; then
+		BUILD_DIR="${WORKDIR}/${P}-build/csgo-vulkan-fix"
+		EMESON_SOURCE="${S}/csgo-vulkan-fix"
+		meson_src_compile
+	fi
+
+	if use hyprbars; then
+		BUILD_DIR="${WORKDIR}/${P}-build/hyprbars"
+		EMESON_SOURCE="${S}/hyprbars"
+		meson_src_compile
+	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
+		newins "${WORKDIR}/${P}-build/borders-plus-plus/libborders-plus-plus.so" "borders-plus-plus.so"
+	fi
+
+	if use csgo-vulkan-fix; then
+		newins "${WORKDIR}/${P}-build/csgo-vulkan-fix/libcsgo-vulkan-fix.so" "csgo-vulkan-fix.so"
+	fi
+
+	if use hyprbars; then
+		newins "${WORKDIR}/${P}-build/hyprbars/libhyprbars.so" "hyprbars.so"
+	fi
+
+	if use split-monitor-workspaces; then
+		doins "${WORKDIR}/split-monitor-workspaces-${SPLITCOMMIT}/split-monitor-workspaces.so"
+	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/"
+}