mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
gui-apps/hypridle: new package, add 0.0.1, 9999
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
This commit is contained in:
1
gui-apps/hypridle/Manifest
Normal file
1
gui-apps/hypridle/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST hypridle-0.0.1.gh.tar.gz 12274 BLAKE2B e8c860c32c494a5f49fe5f01b858c6557dbab9c82481294e6a665e8fc019d9c1b32e0cb79a9c9149828262188ece79b8dd2c56b9c97a90603261b497ffeaa59a SHA512 48018b175d4c29d226fdfb006ceb1a848ae8ed3d7f454f32f9c4755ffc796b4fb92ef89287cd06cca9be457848c4da288d484a9e14c6f446d8bc37efa81c2bb1
|
||||
55
gui-apps/hypridle/hypridle-0.0.1.ebuild
Normal file
55
gui-apps/hypridle/hypridle-0.0.1.ebuild
Normal file
@@ -0,0 +1,55 @@
|
||||
# Copyright 2023-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake toolchain-funcs
|
||||
|
||||
COMMIT="158c52c4a76cff7a1635be8ec1a4a369bc8674ed"
|
||||
DESCRIPTION="Hyprland's idle daemon"
|
||||
HOMEPAGE="https://github.com/hyprwm/hypridle"
|
||||
|
||||
if [[ "${PV}" = *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/hyprwm/${PN^}.git"
|
||||
else
|
||||
#When releases start to happen
|
||||
#SRC_URI="https://github.com/hyprwm/${PN^}/releases/download/v${PV}/source-v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
#S="${WORKDIR}/${PN}-source"
|
||||
|
||||
SRC_URI="https://github.com/hyprwm/${PN^}/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
KEYWORDS="~amd64 ~riscv"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/wayland
|
||||
gui-libs/egl-wayland
|
||||
media-libs/mesa[egl(+),gles2]
|
||||
>=gui-wm/hyprland-0.35.0
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-libs/wayland-protocols
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
>=dev-libs/hyprlang-0.4.0
|
||||
dev-cpp/sdbus-c++
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_BUILD_TYPE:STRING=Release
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
}
|
||||
55
gui-apps/hypridle/hypridle-9999.ebuild
Normal file
55
gui-apps/hypridle/hypridle-9999.ebuild
Normal file
@@ -0,0 +1,55 @@
|
||||
# Copyright 2023-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake toolchain-funcs
|
||||
|
||||
COMMIT="158c52c4a76cff7a1635be8ec1a4a369bc8674ed"
|
||||
DESCRIPTION="Hyprland's idle daemon"
|
||||
HOMEPAGE="https://github.com/hyprwm/hypridle"
|
||||
|
||||
if [[ "${PV}" = *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/hyprwm/${PN^}.git"
|
||||
else
|
||||
#When releases start to happen
|
||||
#SRC_URI="https://github.com/hyprwm/${PN^}/releases/download/v${PV}/source-v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
#S="${WORKDIR}/${PN}-source"
|
||||
|
||||
SRC_URI="https://github.com/hyprwm/${PN^}/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
KEYWORDS="~amd64 ~riscv"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/wayland
|
||||
gui-libs/egl-wayland
|
||||
media-libs/mesa[egl(+),gles2]
|
||||
>=gui-wm/hyprland-0.35.0
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-libs/wayland-protocols
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
>=dev-libs/hyprlang-0.4.0
|
||||
dev-cpp/sdbus-c++
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_BUILD_TYPE:STRING=Release
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
}
|
||||
18
gui-apps/hypridle/metadata.xml
Normal file
18
gui-apps/hypridle/metadata.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>julien@jroy.ca</email>
|
||||
<name>Julien Roy</name>
|
||||
</maintainer>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>gonegrier.duarte@gmail.com</email>
|
||||
<name>Gonçalo Negrier Duarte</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<changelog>https://github.com/hyprwm/hypridle/releases</changelog>
|
||||
<doc>https://wiki.hyprland.org/Hypr-Ecosystem/hypridle/</doc>
|
||||
<bugs-to>https://github.com/hyprwm/hypridle/issues</bugs-to>
|
||||
<remote-id type="github">hyprwm/hypridle</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -51,7 +51,7 @@ src_configure() {
|
||||
-DCMAKE_BUILD_TYPE:STRING=Release
|
||||
)
|
||||
|
||||
meson_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@@ -51,7 +51,7 @@ src_configure() {
|
||||
-DCMAKE_BUILD_TYPE:STRING=Release
|
||||
)
|
||||
|
||||
meson_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
Reference in New Issue
Block a user