commit: af267b371a1a292eebe6cf60b1f5f1d09e47746a Author: dsaf <ghostyn678+git <AT> gmail <DOT> com> AuthorDate: Mon Nov 3 16:04:36 2025 +0000 Commit: dsaf <ghostyn678+git <AT> gmail <DOT> com> CommitDate: Mon Nov 3 16:04:36 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=af267b37
gui-apps/way-displays: fix style, add 9999 Signed-off-by: dsaf <ghostyn678+git <AT> gmail.com> gui-apps/way-displays/way-displays-1.15.0.ebuild | 14 +++++++++----- ...way-displays-1.15.0.ebuild => way-displays-9999.ebuild} | 14 +++++++++----- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/gui-apps/way-displays/way-displays-1.15.0.ebuild b/gui-apps/way-displays/way-displays-1.15.0.ebuild index db9f3ca02b..3355463015 100644 --- a/gui-apps/way-displays/way-displays-1.15.0.ebuild +++ b/gui-apps/way-displays/way-displays-1.15.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,11 +7,17 @@ inherit toolchain-funcs DESCRIPTION="Auto Manage Your Wayland Displays" HOMEPAGE="https://github.com/alex-courtis/way-displays" -SRC_URI="https://github.com/alex-courtis/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/alex-courtis/way-displays.git" +else + SRC_URI="https://github.com/alex-courtis/way-displays/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" DEPEND=" dev-libs/wayland @@ -42,6 +48,4 @@ src_install() { PREFIX_ETC="${EPREFIX}" \ ROOT_ETC="${EPREFIX}/etc" \ install - - einstalldocs } diff --git a/gui-apps/way-displays/way-displays-1.15.0.ebuild b/gui-apps/way-displays/way-displays-9999.ebuild similarity index 73% copy from gui-apps/way-displays/way-displays-1.15.0.ebuild copy to gui-apps/way-displays/way-displays-9999.ebuild index db9f3ca02b..3355463015 100644 --- a/gui-apps/way-displays/way-displays-1.15.0.ebuild +++ b/gui-apps/way-displays/way-displays-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,11 +7,17 @@ inherit toolchain-funcs DESCRIPTION="Auto Manage Your Wayland Displays" HOMEPAGE="https://github.com/alex-courtis/way-displays" -SRC_URI="https://github.com/alex-courtis/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/alex-courtis/way-displays.git" +else + SRC_URI="https://github.com/alex-courtis/way-displays/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" DEPEND=" dev-libs/wayland @@ -42,6 +48,4 @@ src_install() { PREFIX_ETC="${EPREFIX}" \ ROOT_ETC="${EPREFIX}/etc" \ install - - einstalldocs }
