mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 20:13:01 -04:00
gui-apps/hyprland-plugins: add 9999
* seperate package for split-monitor-workspaces * add me as Proxy Mantainer * @MrRoy if you don't like the changes you can reverted Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
This commit is contained in:
@@ -1,4 +1,2 @@
|
||||
DIST hyprland-plugins-0.31.0-split-monitor-workspaces.gh.tar.gz 7711 BLAKE2B 08d6e31fb23321058d9ae935e92b700281e6801a9f4d363c33a288730e2b5448916d2446a6ea8a3e071e052c886b4aae9df5b36abcfd42381094242a0396f4de SHA512 0de58765faa242b5e87f7ce1eec3a9265b97b7a16ce45fbb099c07f94989bed0042d65e580cf20e81e45b306d8b7d8a605300c87a84b8f69053678e6e41ec094
|
||||
DIST hyprland-plugins-0.31.0.gh.tar.gz 13160 BLAKE2B fed8de62adb8521fb99541e5802ba3316fff6f5e3ba6036ac12c8f1f7186d9806163189cedb15e30ac3213af548562f007c85fe7df3e9151a062396521ca0578 SHA512 2e72038591bfd372962c2d842937bcc6011f8f5bd75b2dca11cc604fca337b8b4d4af68bc5377e6e7d3f49008ee73e6ef91f450a3c207f1c73d1a00552f29f59
|
||||
DIST hyprland-plugins-0.32.3-split-monitor-workspaces.gh.tar.gz 7757 BLAKE2B 69d63bbf37c46b507a5983d6bf9bfc98f66c19c69e5543ba217c05b2c2feca88443968351bd27a2473ef7f297e866a88bc0f2047f78840dc7515c32942b803dc SHA512 8ecec6895456b5b84a8f9c887fe54da0e5b23ca7eae22eacfb353115b361260437a398823bb8e973fa45e1676dc4c2755efd18820ebfd7a265571f9b4dd2dfda
|
||||
DIST hyprland-plugins-0.32.3.gh.tar.gz 21262 BLAKE2B 262336d22d150579c43dcb5c9d4bb1823ea9cf2976a94f0df84568c8155785cdcf37322f10bcb7869a9c4b9b6688085d4ab7a85f170c9e219df35c67e601136b SHA512 eac31a9e38cbfe2eaf27054be5a88cbf9adf969a58c4a7daf477040846d22882af9c4da2f5804dcb6a78ac4d5b9f2e9488ce6ce0cbe1a278f0e4a8c86701ac9c
|
||||
|
||||
@@ -5,16 +5,18 @@ EAPI=8
|
||||
|
||||
inherit meson
|
||||
|
||||
COMMIT=fadbcdd24b6f24b169056ed6fcf43d98ef405f87
|
||||
SPLITCOMMIT=9b40de35aeb8c62df3326eae7979b438f3ee0fb1
|
||||
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"
|
||||
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"
|
||||
@@ -23,7 +25,10 @@ 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}"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
split-monitor-workspaces? ( ~gui-apps/hyprland-split-monitor-workspaces-${PV} )
|
||||
"
|
||||
BDEPEND="
|
||||
~gui-wm/hyprland-${PV}
|
||||
x11-libs/libdrm
|
||||
@@ -69,10 +74,6 @@ src_compile() {
|
||||
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() {
|
||||
@@ -89,10 +90,6 @@ src_install() {
|
||||
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() {
|
||||
|
||||
@@ -5,16 +5,18 @@ EAPI=8
|
||||
|
||||
inherit meson
|
||||
|
||||
COMMIT=2cc193e6dc524baed841c016109b4f48fd0512a3
|
||||
SPLITCOMMIT=2b1abdbf9e9de9ee660540167c8f51903fa3d959
|
||||
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"
|
||||
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"
|
||||
@@ -23,7 +25,10 @@ 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}"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
split-monitor-workspaces? ( ~gui-apps/hyprland-split-monitor-workspaces-${PV} )
|
||||
"
|
||||
BDEPEND="
|
||||
~gui-wm/hyprland-${PV}
|
||||
x11-libs/libdrm
|
||||
@@ -69,10 +74,6 @@ src_compile() {
|
||||
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() {
|
||||
@@ -89,10 +90,6 @@ src_install() {
|
||||
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() {
|
||||
|
||||
99
gui-apps/hyprland-plugins/hyprland-plugins-9999.ebuild
Normal file
99
gui-apps/hyprland-plugins/hyprland-plugins-9999.ebuild
Normal file
@@ -0,0 +1,99 @@
|
||||
# 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 split-monitor-workspaces"
|
||||
REQUIRED_USE="|| ( borders-plus-plus csgo-vulkan-fix hyprbars split-monitor-workspaces )"
|
||||
|
||||
RDEPEND="gui-wm/hyprland"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
split-monitor-workspaces? ( ~gui-apps/hyprland-split-monitor-workspaces-${PV} )
|
||||
"
|
||||
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/"
|
||||
}
|
||||
@@ -5,6 +5,10 @@
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user