gui-apps/hyprland-plugins: drop 0.31.0-r1

Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
Julien Roy
2024-01-03 12:24:36 -05:00
parent 18a86216bb
commit bc2edf22f7
2 changed files with 0 additions and 97 deletions

View File

@@ -1,2 +1 @@
DIST hyprland-plugins-0.31.0.gh.tar.gz 13160 BLAKE2B fed8de62adb8521fb99541e5802ba3316fff6f5e3ba6036ac12c8f1f7186d9806163189cedb15e30ac3213af548562f007c85fe7df3e9151a062396521ca0578 SHA512 2e72038591bfd372962c2d842937bcc6011f8f5bd75b2dca11cc604fca337b8b4d4af68bc5377e6e7d3f49008ee73e6ef91f450a3c207f1c73d1a00552f29f59
DIST hyprland-plugins-0.32.3.gh.tar.gz 21262 BLAKE2B 262336d22d150579c43dcb5c9d4bb1823ea9cf2976a94f0df84568c8155785cdcf37322f10bcb7869a9c4b9b6688085d4ab7a85f170c9e219df35c67e601136b SHA512 eac31a9e38cbfe2eaf27054be5a88cbf9adf969a58c4a7daf477040846d22882af9c4da2f5804dcb6a78ac4d5b9f2e9488ce6ce0cbe1a278f0e4a8c86701ac9c

View File

@@ -1,96 +0,0 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/hyprwm/${PN}.git"
inherit git-r3
S="${WORKDIR}/${PN}-${COMMIT}"
else
COMMIT=2cc193e6dc524baed841c016109b4f48fd0512a3
SRC_URI="https://github.com/hyprwm/${PN}/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
fi
DESCRIPTION="A blazing fast wayland wallpaper utility"
HOMEPAGE="https://github.com/hyprwm/hyprland-plugins"
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/"
}