dev-libs/hyprlang - 0.6.8 (hyproverlay)

Search

Package Information

Description:
Official implementation library for the hypr config language
Homepage:
https://github.com/hyprwm/hyprlang

Ebuild Details

Version EAPI Keywords Slot
0.6.8 8 ~amd64 0/$(ver_cut 1-2)
View Raw Ebuild
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake toolchain-funcs

DESCRIPTION="Official implementation library for the hypr config language"
HOMEPAGE="https://github.com/hyprwm/hyprlang"

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}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="~amd64"
fi

LICENSE="LGPL-3"
SLOT="0/$(ver_cut 1-2)"

RDEPEND=">=gui-libs/hyprutils-0.7.1:="
DEPEND="${RDEPEND}"
BDEPEND="|| ( >=sys-devel/gcc-14:* >=llvm-core/clang-18:* )"

pkg_setup() {
	[[ ${MERGE_TYPE} == binary ]] && return

	tc-check-min_ver gcc 14
	tc-check-min_ver clang 18
}

Dependencies

DEPEND

>=gui-libs/hyprutils-0.7.1:=

RDEPEND

>=gui-libs/hyprutils-0.7.1:=

BDEPEND

|| ( >=sys-devel/gcc-14:* >=llvm-core/clang-18:* )

Manifest for 0.6.8

Type File Size Source URLs
DIST hyprlang-0.6.8.tar.gz 63562 bytes https://github.com/hyprwm/${PN^}/archive/refs/tags/v0.6.8.tar.gz