From 747c42059b44b4bfb2727780eb3690d58e45babc Mon Sep 17 00:00:00 2001 From: Julien Roy Date: Mon, 5 Dec 2022 20:48:04 -0500 Subject: dev-libs/hyprland-protocols: new package --- .../hyprland-protocols-9999.ebuild | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 dev-libs/hyprland-protocols/hyprland-protocols-9999.ebuild (limited to 'dev-libs/hyprland-protocols/hyprland-protocols-9999.ebuild') diff --git a/dev-libs/hyprland-protocols/hyprland-protocols-9999.ebuild b/dev-libs/hyprland-protocols/hyprland-protocols-9999.ebuild new file mode 100644 index 0000000..1b12b0c --- /dev/null +++ b/dev-libs/hyprland-protocols/hyprland-protocols-9999.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="Wayland protocol extensions for Hyprland" +HOMEPAGE="https://github.com/hyprwm/hyprland-protocols" + +if [[ ${PV} = 9999* ]]; then + EGIT_REPO_URI="https://github.com/hyprwm/${PN}.git/" + inherit git-r3 +else + SRC_URI="https://github.com/hyprwm/${PN}/releases/download/v${PV}/${P}.tar.xz" + KEYWORDS="~amd64" +fi + +LICENSE="BSD" +SLOT="0" +IUSE="" +RESTRICT="" + +DEPEND="" +RDEPEND="" +BDEPEND=" + dev-util/wayland-scanner + virtual/pkgconfig +" -- cgit v1.2.3