mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 11:04:10 -04:00
gui-apps/hyprland-plugins: treeclean
Closes: https://bugs.gentoo.org/show_bug.cgi?id=921339 Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST hyprland-plugins-0.32.3.gh.tar.gz 21262 BLAKE2B 262336d22d150579c43dcb5c9d4bb1823ea9cf2976a94f0df84568c8155785cdcf37322f10bcb7869a9c4b9b6688085d4ab7a85f170c9e219df35c67e601136b SHA512 eac31a9e38cbfe2eaf27054be5a88cbf9adf969a58c4a7daf477040846d22882af9c4da2f5804dcb6a78ac4d5b9f2e9488ce6ce0cbe1a278f0e4a8c86701ac9c
|
||||
@@ -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/"
|
||||
}
|
||||
@@ -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}-${PV}"
|
||||
else
|
||||
COMMIT=2cc193e6dc524baed841c016109b4f48fd0512a3
|
||||
SPLITCOMMIT=2b1abdbf9e9de9ee660540167c8f51903fa3d959
|
||||
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"
|
||||
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/"
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<name>Julien Roy</name>
|
||||
<email>julien@jroy.ca</email>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<name>Gonçalo Negrier Duarte</name>
|
||||
<email>gonegrier.duarte@gmail.com</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/hyprwm/hyprland-plugins/issues</bugs-to>
|
||||
<changelog>https://github.com/hyprwm/hyprland-plugins/releases</changelog>
|
||||
<remote-id type="github">hyprwm/hyprland-plugins</remote-id>
|
||||
<remote-id type="github">hyprwm/Hyprland</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="borders-plus-plus">adds one or two additional borders to windows</flag>
|
||||
<flag name="csgo-vulkan-fix">fixes custom resolutions on CS:GO with -vulkan</flag>
|
||||
<flag name="hyprbars">adds title bars to windows</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user