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 7B68015806E for ; Tue, 6 Jun 2023 01:19:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ABE5BE0858; Tue, 6 Jun 2023 01:19:02 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 8F2C1E0858 for ; Tue, 6 Jun 2023 01:19:02 +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 632CF340EE4 for ; Tue, 6 Jun 2023 01:19:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A9B2AA7A for ; Tue, 6 Jun 2023 01:18:59 +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: <1686014324.f328599056c547669345b4810dd1d39c63e70f0d.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.26.0.ebuild X-VCS-Directories: gui-apps/hyprland-plugins/ X-VCS-Committer: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: f328599056c547669345b4810dd1d39c63e70f0d X-VCS-Branch: dev Date: Tue, 6 Jun 2023 01:18:59 +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: 1dd3b4e9-0357-496a-80a5-0c1ae9ff46ed X-Archives-Hash: 7a12c6a7b4eb04702fe1eb1a8ec41bfc commit: f328599056c547669345b4810dd1d39c63e70f0d Author: Julien Roy jroy ca> AuthorDate: Tue Jun 6 01:18:44 2023 +0000 Commit: Julien Roy jroy ca> CommitDate: Tue Jun 6 01:18:44 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f3285990 gui-apps/hyprland-plugins: add 0.26.0 Signed-off-by: Julien Roy jroy.ca> gui-apps/hyprland-plugins/Manifest | 2 + .../hyprland-plugins-0.26.0.ebuild | 101 +++++++++++++++++++++ 2 files changed, 103 insertions(+) diff --git a/gui-apps/hyprland-plugins/Manifest b/gui-apps/hyprland-plugins/Manifest index b01c73587..4da845972 100644 --- a/gui-apps/hyprland-plugins/Manifest +++ b/gui-apps/hyprland-plugins/Manifest @@ -1,2 +1,4 @@ DIST hyprland-plugins-0.25.0-split-monitor-workspaces.gh.tar.gz 4498 BLAKE2B 127081c953ce818b80b5865ec48fbf35584f3f5f2945c168e1ecf150dda5f71fdac499c236a5baa34502e0ab69e3fe0fc652d0bfd8c14aaedb74ecb03792b9ba SHA512 47e1dc0a9bcb014a6c7113405ddbc87a5e5f267d65e82ea9f557c1be156cd7e269fdf80406697b295e0f66f53e0d4ccc5a768910f201d6a459f68a8ad7708a93 DIST hyprland-plugins-0.25.0.gh.tar.gz 12209 BLAKE2B c5f74cbe13e99f71a24a272a015df70f20ae62f9e552d35914ccff37474b564a28ff81e60584caf186d111e1e3a0716e7ba03b3e201823616167708ef0aa2a0f SHA512 875c7cdb2552d5c8e68a6705f7d82173fa6f3e7637b049125d88e6b4a130f330c66b49bbb2685d302345d101fba6f23d873e7511b2fad510d1a9286c127fbaf7 +DIST hyprland-plugins-0.26.0-split-monitor-workspaces.gh.tar.gz 4498 BLAKE2B 127081c953ce818b80b5865ec48fbf35584f3f5f2945c168e1ecf150dda5f71fdac499c236a5baa34502e0ab69e3fe0fc652d0bfd8c14aaedb74ecb03792b9ba SHA512 47e1dc0a9bcb014a6c7113405ddbc87a5e5f267d65e82ea9f557c1be156cd7e269fdf80406697b295e0f66f53e0d4ccc5a768910f201d6a459f68a8ad7708a93 +DIST hyprland-plugins-0.26.0.gh.tar.gz 12209 BLAKE2B c5f74cbe13e99f71a24a272a015df70f20ae62f9e552d35914ccff37474b564a28ff81e60584caf186d111e1e3a0716e7ba03b3e201823616167708ef0aa2a0f SHA512 875c7cdb2552d5c8e68a6705f7d82173fa6f3e7637b049125d88e6b4a130f330c66b49bbb2685d302345d101fba6f23d873e7511b2fad510d1a9286c127fbaf7 diff --git a/gui-apps/hyprland-plugins/hyprland-plugins-0.26.0.ebuild b/gui-apps/hyprland-plugins/hyprland-plugins-0.26.0.ebuild new file mode 100644 index 000000000..7e28b83d1 --- /dev/null +++ b/gui-apps/hyprland-plugins/hyprland-plugins-0.26.0.ebuild @@ -0,0 +1,101 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +COMMIT=1228eb57f9debd35811f0ade43bef5eaa09aab42 +SPLITCOMMIT=44785cee3fc0b2aa34a92882df31568bea3af8f0 +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/" +}