mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
gui-apps/hyprland-plugins: add 0.25.0
Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
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-split-monitor-workspaces.gh.tar.gz 4294 BLAKE2B a56ad9a563833ece1ca45228825a2025cd4bb2b2c72c8d906fc668d1858feb4a34bdc0936940369a1a387d2a8e6e31f69c2bd20b0916e6deb48d7f32fb92439c SHA512 159121382213f590fe0d2768917ddd06676342532a2eccc3e7161a0ff611e77874a4159edb2d32558044e7fccb027e97cf8e6b9b7ee228cf2f4c4377ffb9f4da
|
||||
DIST hyprland-plugins-0.24.1.gh.tar.gz 8996 BLAKE2B bd8eeeb269f886e188dda003fa070da1d94649cce8d9c33cd4636b9ad5c068ce9794e6335000889bb0a964e8f632122c3ababeda45b2c0a90ac4895670420cbe SHA512 9e5091646f8bd55ffa9e1fec496aacdf325479569a9842fe5066471e45af656d976b35818bc86db2b488eb1dfab132ee9eba1b2057066e1bd96da7223c21465c
|
||||
DIST hyprland-plugins-0.25.0-hyprsrc.gh.tar.gz 1510798 BLAKE2B c146c57e5142666ff76188e870ea4d2dd9613e25a1d2c3320dc222fbe62651975a40fffffe9cc936ced0e86f919534d7a6c94a8b1596f912c3ad9750a35e4f13 SHA512 84d12ef7bfb25e69c4a707a8ffc99ca23eb58e73630e3df1f134cb610c6206e42917f76b54db0cc6d10e7b929514cbac06dfc99feba8ff81aea0dc7fcb340450
|
||||
DIST hyprland-plugins-0.25.0-split-monitor-workspaces.gh.tar.gz 3458 BLAKE2B 86365038b1be0129b96032d7e418057143bfb70bf17ce1d936a7dd5a7bb5678b345a5c89ad6e03fc2bd993e1af32390b8fa4bb6b817869e816ea7f7ba003a44d SHA512 86391bbe282d9c2e26d4f0acea90a269fbe4203517bd625d05ebef895347515f7485cc79ca669c6398442a490dc4369d468cd36fc1d430a687bce6baf569a1b0
|
||||
DIST hyprland-plugins-0.25.0.gh.tar.gz 8996 BLAKE2B bd8eeeb269f886e188dda003fa070da1d94649cce8d9c33cd4636b9ad5c068ce9794e6335000889bb0a964e8f632122c3ababeda45b2c0a90ac4895670420cbe SHA512 9e5091646f8bd55ffa9e1fec496aacdf325479569a9842fe5066471e45af656d976b35818bc86db2b488eb1dfab132ee9eba1b2057066e1bd96da7223c21465c
|
||||
DIST hyprland-plugins-0.25.0.gh.tar.gz 12209 BLAKE2B c5f74cbe13e99f71a24a272a015df70f20ae62f9e552d35914ccff37474b564a28ff81e60584caf186d111e1e3a0716e7ba03b3e201823616167708ef0aa2a0f SHA512 875c7cdb2552d5c8e68a6705f7d82173fa6f3e7637b049125d88e6b4a130f330c66b49bbb2685d302345d101fba6f23d873e7511b2fad510d1a9286c127fbaf7
|
||||
|
||||
92
gui-apps/hyprland-plugins/hyprland-plugins-0.25.0.ebuild
Normal file
92
gui-apps/hyprland-plugins/hyprland-plugins-0.25.0.ebuild
Normal file
@@ -0,0 +1,92 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit meson
|
||||
|
||||
COMMIT=1228eb57f9debd35811f0ade43bef5eaa09aab42
|
||||
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/hyprwm/Hyprland/releases/download/v${PV}/source-v${PV}.tar.gz \
|
||||
-> ${P}-hyprsrc.gh.tar.gz
|
||||
"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+borders-plus-plus csgo-vulkan-fix +hyprbars"
|
||||
REQUIRED_USE="|| ( borders-plus-plus csgo-vulkan-fix hyprbars )"
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
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/"
|
||||
}
|
||||
Reference in New Issue
Block a user