commit: 8ce7603ca7f47ea0d3aaa529caa843831b08426d Author: Xiangzhe xz-dev <xiangzhedev <AT> gmail <DOT> com> AuthorDate: Mon Jun 24 15:19:22 2024 +0000 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> CommitDate: Tue Jun 25 08:18:23 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ce7603c
gui-libs/hyprutils: new package, add 0.1.4, 9999 Signed-off-by: Xiangzhe xz-dev <xiangzhedev <AT> gmail.com> Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> gui-libs/hyprutils/Manifest | 1 + gui-libs/hyprutils/hyprutils-0.1.4.ebuild | 26 ++++++++++++++++++++++++++ gui-libs/hyprutils/hyprutils-9999.ebuild | 26 ++++++++++++++++++++++++++ gui-libs/hyprutils/metadata.xml | 10 ++++++++++ 4 files changed, 63 insertions(+) diff --git a/gui-libs/hyprutils/Manifest b/gui-libs/hyprutils/Manifest new file mode 100644 index 000000000000..38f20547e0b5 --- /dev/null +++ b/gui-libs/hyprutils/Manifest @@ -0,0 +1 @@ +DIST hyprutils-0.1.4.gh.tar.gz 16561 BLAKE2B 90c435f892015791a88870613235204e39e0e41cbeea00a8f21d7f0c84dd2cbe733604da9830334e4f21a0d57d21aa770cc69dc5a34c9324e673d1c86e732606 SHA512 78b1ad188579b7ba9fb32f08aa3da6e96ec18544a1802d144cee9f64f473b6ee41a4cb3fba971524cfbf448e6cbe0aa32c36f53e8d50cbdf926126a9a44da8b6 diff --git a/gui-libs/hyprutils/hyprutils-0.1.4.ebuild b/gui-libs/hyprutils/hyprutils-0.1.4.ebuild new file mode 100644 index 000000000000..d7a92f59830e --- /dev/null +++ b/gui-libs/hyprutils/hyprutils-0.1.4.ebuild @@ -0,0 +1,26 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Hyprland utilities library used across the ecosystem" +HOMEPAGE="https://github.com/hyprwm/hyprutils" + +if [[ "${PV}" = *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/hyprwm/${PN^}.git" +else + SRC_URI="https://github.com/hyprwm/${PN^}/archive/refs/tags/v${PV}/v${PV}.tar.gz -> ${P}.gh.tar.gz" + S="${WORKDIR}/${PN}-${PV}" + + KEYWORDS="~amd64" +fi + +LICENSE="BSD" +SLOT="0" + +# Disable tests since as per upstream, tests require a theme to be installed +# See also https://github.com/hyprwm/hyprcursor/commit/94361fd8a75178b92c4bb24dcd8c7fac8423acf3 +RESTRICT="test" diff --git a/gui-libs/hyprutils/hyprutils-9999.ebuild b/gui-libs/hyprutils/hyprutils-9999.ebuild new file mode 100644 index 000000000000..d7a92f59830e --- /dev/null +++ b/gui-libs/hyprutils/hyprutils-9999.ebuild @@ -0,0 +1,26 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Hyprland utilities library used across the ecosystem" +HOMEPAGE="https://github.com/hyprwm/hyprutils" + +if [[ "${PV}" = *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/hyprwm/${PN^}.git" +else + SRC_URI="https://github.com/hyprwm/${PN^}/archive/refs/tags/v${PV}/v${PV}.tar.gz -> ${P}.gh.tar.gz" + S="${WORKDIR}/${PN}-${PV}" + + KEYWORDS="~amd64" +fi + +LICENSE="BSD" +SLOT="0" + +# Disable tests since as per upstream, tests require a theme to be installed +# See also https://github.com/hyprwm/hyprcursor/commit/94361fd8a75178b92c4bb24dcd8c7fac8423acf3 +RESTRICT="test" diff --git a/gui-libs/hyprutils/metadata.xml b/gui-libs/hyprutils/metadata.xml new file mode 100644 index 000000000000..bbf6d06daf66 --- /dev/null +++ b/gui-libs/hyprutils/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <changelog>https://github.com/hyprwm/hyprutils/releases</changelog> + <bugs-to>https://github.com/hyprwm/hyprutils/issues</bugs-to> + <remote-id type="github">hyprwm/hyprutils</remote-id> + </upstream> +</pkgmetadata>
