From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9AF1515817D for ; Mon, 17 Jun 2024 03:41:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C2193E2AEC; Mon, 17 Jun 2024 03:41:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 58FF6E2AEC for ; Mon, 17 Jun 2024 03:41:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 54BEC335CB4 for ; Mon, 17 Jun 2024 03:41:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8A4131CA3 for ; Mon, 17 Jun 2024 03:41:44 +0000 (UTC) From: "John Harris" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "John Harris" Message-ID: <1718595668.8c8868a6ebcfb075a769c542da7367f0735a8202.johnmh@gentoo> Subject: [gentoo-commits] repo/user/johnmh:master commit in: gui-libs/hyprcursor/ X-VCS-Repository: repo/user/johnmh X-VCS-Files: gui-libs/hyprcursor/hyprcursor-9999.ebuild X-VCS-Directories: gui-libs/hyprcursor/ X-VCS-Committer: johnmh X-VCS-Committer-Name: John Harris X-VCS-Revision: 8c8868a6ebcfb075a769c542da7367f0735a8202 X-VCS-Branch: master Date: Mon, 17 Jun 2024 03:41:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0d7a7a87-70de-4871-ba4f-8b35371f1c4d X-Archives-Hash: 89790c197d4fc39ed11ad1598afef1ea commit: 8c8868a6ebcfb075a769c542da7367f0735a8202 Author: John M. Harris, Jr. johnmh me> AuthorDate: Mon Jun 17 03:41:08 2024 +0000 Commit: John Harris openblox org> CommitDate: Mon Jun 17 03:41:08 2024 +0000 URL: https://gitweb.gentoo.org/repo/user/johnmh.git/commit/?id=8c8868a6 gui-libs/hyprcursor: Add ebuild Signed-off-by: John M. Harris, Jr. johnmh.me> gui-libs/hyprcursor/hyprcursor-9999.ebuild | 35 ++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gui-libs/hyprcursor/hyprcursor-9999.ebuild b/gui-libs/hyprcursor/hyprcursor-9999.ebuild new file mode 100644 index 0000000..6f66f3f --- /dev/null +++ b/gui-libs/hyprcursor/hyprcursor-9999.ebuild @@ -0,0 +1,35 @@ +# Copyright 2023-2024 Gentoo Authors +# Copyright 2024 John M. Harris, Jr. +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="The hyprland cursor format, library and utilities" +HOMEPAGE="https://github.com/hyprwm/hyprcursor" + +if [[ "${PV}" = *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/hyprwm/${PN^}.git" +else + SRC_URI="https://github.com/hyprwm/${PN^}/releases/download/v${PV}/source-v${PV}.tar.gz -> ${P}.gh.tar.gz" + S="${WORKDIR}/${PN}-source" + + 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" + +RDEPEND=" + dev-cpp/tomlplusplus + >=dev-libs/hyprlang-0.4.2 + dev-libs/libzip + gnome-base/librsvg:2 + x11-libs/cairo +"