public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Gonçalo Negrier Duarte" <gonegrier.duarte@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/hyprland-plugins/
Date: Mon, 31 Jul 2023 07:30:33 +0000 (UTC)	[thread overview]
Message-ID: <1690788615.9d615f9d570ce8ed765b16e2378390ad2f87bad2.gonegrier.duarte@gentoo> (raw)

commit:     9d615f9d570ce8ed765b16e2378390ad2f87bad2
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Mon Jul 31 07:29:57 2023 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Mon Jul 31 07:30:15 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9d615f9d

gui-apps/hyprland-plugins: add 0.27.2

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

 gui-apps/hyprland-plugins/Manifest                 |   2 +
 .../hyprland-plugins-0.27.2.ebuild                 | 101 +++++++++++++++++++++
 2 files changed, 103 insertions(+)

diff --git a/gui-apps/hyprland-plugins/Manifest b/gui-apps/hyprland-plugins/Manifest
index 35328abd7b..d3e7a0857e 100644
--- a/gui-apps/hyprland-plugins/Manifest
+++ b/gui-apps/hyprland-plugins/Manifest
@@ -1,2 +1,4 @@
 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
+DIST hyprland-plugins-0.27.2-split-monitor-workspaces.gh.tar.gz 4498 BLAKE2B 127081c953ce818b80b5865ec48fbf35584f3f5f2945c168e1ecf150dda5f71fdac499c236a5baa34502e0ab69e3fe0fc652d0bfd8c14aaedb74ecb03792b9ba SHA512 47e1dc0a9bcb014a6c7113405ddbc87a5e5f267d65e82ea9f557c1be156cd7e269fdf80406697b295e0f66f53e0d4ccc5a768910f201d6a459f68a8ad7708a93
+DIST hyprland-plugins-0.27.2.gh.tar.gz 12209 BLAKE2B c5f74cbe13e99f71a24a272a015df70f20ae62f9e552d35914ccff37474b564a28ff81e60584caf186d111e1e3a0716e7ba03b3e201823616167708ef0aa2a0f SHA512 875c7cdb2552d5c8e68a6705f7d82173fa6f3e7637b049125d88e6b4a130f330c66b49bbb2685d302345d101fba6f23d873e7511b2fad510d1a9286c127fbaf7

diff --git a/gui-apps/hyprland-plugins/hyprland-plugins-0.27.2.ebuild b/gui-apps/hyprland-plugins/hyprland-plugins-0.27.2.ebuild
new file mode 100644
index 0000000000..7e28b83d19
--- /dev/null
+++ b/gui-apps/hyprland-plugins/hyprland-plugins-0.27.2.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/"
+}


             reply	other threads:[~2023-07-31  7:30 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-31  7:30 Gonçalo Negrier Duarte [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-02-23  1:30 [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/hyprland-plugins/ Julien Roy
2024-01-14 11:34 Joe Kappus
2024-01-03 17:24 Julien Roy
2024-01-03 12:35 Gonçalo Negrier Duarte
2024-01-02 11:40 Gonçalo Negrier Duarte
2023-11-14 11:22 Gonçalo Negrier Duarte
2023-10-29 20:24 Gonçalo Negrier Duarte
2023-10-29 20:04 Gonçalo Negrier Duarte
2023-10-29 20:04 Gonçalo Negrier Duarte
2023-09-26 14:37 [gentoo-commits] repo/proj/guru:master " David Roman
2023-09-26 14:33 ` [gentoo-commits] repo/proj/guru:dev " David Roman
2023-09-26 14:33 David Roman
2023-08-07 12:51 [gentoo-commits] repo/proj/guru:master " David Roman
2023-08-07 12:48 ` [gentoo-commits] repo/proj/guru:dev " David Roman
2023-07-20 12:16 Anna Vyalkova
2023-06-06  1:18 Julien Roy
2023-05-08 12:59 Julien Roy
2023-05-08 12:46 Julien Roy
2023-05-08  1:53 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 19:53 Julien Roy
2023-04-16  5:01 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=1690788615.9d615f9d570ce8ed765b16e2378390ad2f87bad2.gonegrier.duarte@gentoo \
    --to=gonegrier.duarte@gmail.com \
    --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