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 4DEE2158089 for ; Mon, 30 Oct 2023 11:27:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1B2A52BC0CE; Mon, 30 Oct 2023 11:27:52 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EF29E2BC0CE for ; Mon, 30 Oct 2023 11:27:51 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1131F335D27 for ; Mon, 30 Oct 2023 11:27:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 786A21308 for ; Mon, 30 Oct 2023 11:27:48 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1698609787.a54adade427e10679d13d647cd070b35ffa4f518.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master 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.31.0.ebuild X-VCS-Directories: gui-apps/hyprland-plugins/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: a54adade427e10679d13d647cd070b35ffa4f518 X-VCS-Branch: master Date: Mon, 30 Oct 2023 11:27:48 +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: 0cadcedc-0ec7-477a-a576-45950fb80fb9 X-Archives-Hash: cd78fc912bf114b9f90a2bc0200c8a62 commit: a54adade427e10679d13d647cd070b35ffa4f518 Author: Gonçalo Duarte gmail com> AuthorDate: Sun Oct 29 20:03:07 2023 +0000 Commit: David Roman gmail com> CommitDate: Sun Oct 29 20:03:07 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a54adade gui-apps/hyprland-plugins: add 0.31.0 Signed-off-by: Gonçalo Duarte gmail.com> gui-apps/hyprland-plugins/Manifest | 2 + .../hyprland-plugins-0.31.0.ebuild | 102 +++++++++++++++++++++ 2 files changed, 104 insertions(+) diff --git a/gui-apps/hyprland-plugins/Manifest b/gui-apps/hyprland-plugins/Manifest index 6b38ef28eb..d207056237 100644 --- a/gui-apps/hyprland-plugins/Manifest +++ b/gui-apps/hyprland-plugins/Manifest @@ -1,2 +1,4 @@ DIST hyprland-plugins-0.29.1-split-monitor-workspaces.gh.tar.gz 7786 BLAKE2B 9b9075a464a16ef999c4fddb6dc640fbd7566a5de9db054997895797718e686594b14ebab42702c87d66e7ccf6f2c12a0fa0fb9cfeb7ca09816e4614865ce4ad SHA512 04e5c23391a8f656fc598e4e4dbdb6afc0e71ff2b444515605d4cdac6cd159cfb451dc03f5cdaf14b4df6556d9cdd25ee056c629a674f470d7e99e344b580f8b DIST hyprland-plugins-0.29.1.gh.tar.gz 12841 BLAKE2B 4e84b753253b2bdd8f405ed316b0ed5838865173aa098fc6693326a50a8189b8b3a52e59249d89082a7e215f1ff9c600b23d4df2d3e0b298efe5f96fe5b10a94 SHA512 904aeb6dd43d0542ce7e23a12991a71323eaae6b5e1a25f6f0ba5cd391afa5e94ecfa52946ff4e27d60fc584684938b5e356a7690d0309267ddb0c266de4648d +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 diff --git a/gui-apps/hyprland-plugins/hyprland-plugins-0.31.0.ebuild b/gui-apps/hyprland-plugins/hyprland-plugins-0.31.0.ebuild new file mode 100644 index 0000000000..4b3f12a557 --- /dev/null +++ b/gui-apps/hyprland-plugins/hyprland-plugins-0.31.0.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=fadbcdd24b6f24b169056ed6fcf43d98ef405f87 +SPLITCOMMIT=9b40de35aeb8c62df3326eae7979b438f3ee0fb1 +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/" +}