commit:     c97671878135a8c666b69cd6bb257d29c350356f
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 19 20:38:22 2021 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Mon Apr 19 20:38:35 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9767187

gui-libs/wlroots: put the slot definition inside if statement

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

 gui-libs/wlroots/wlroots-0.13.0.ebuild | 3 ++-
 gui-libs/wlroots/wlroots-9999.ebuild   | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/gui-libs/wlroots/wlroots-0.13.0.ebuild 
b/gui-libs/wlroots/wlroots-0.13.0.ebuild
index f370f34a654..da2f898bd72 100644
--- a/gui-libs/wlroots/wlroots-0.13.0.ebuild
+++ b/gui-libs/wlroots/wlroots-0.13.0.ebuild
@@ -11,13 +11,14 @@ HOMEPAGE="https://github.com/swaywm/wlroots";
 if [[ ${PV} == 9999 ]]; then
        EGIT_REPO_URI="https://github.com/swaywm/${PN}.git";
        inherit git-r3
+       SLOT="0/9999"
 else
        SRC_URI="https://github.com/swaywm/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
        KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+       SLOT="0/13"
 fi
 
 LICENSE="MIT"
-SLOT="0/13"
 IUSE="elogind icccm seatd systemd x11-backend X"
 REQUIRED_USE="?? ( elogind systemd )"
 

diff --git a/gui-libs/wlroots/wlroots-9999.ebuild 
b/gui-libs/wlroots/wlroots-9999.ebuild
index 9cf3f67c741..d94cab34eb8 100644
--- a/gui-libs/wlroots/wlroots-9999.ebuild
+++ b/gui-libs/wlroots/wlroots-9999.ebuild
@@ -11,13 +11,14 @@ HOMEPAGE="https://github.com/swaywm/wlroots";
 if [[ ${PV} == 9999 ]]; then
        EGIT_REPO_URI="https://github.com/swaywm/${PN}.git";
        inherit git-r3
+       SLOT="0/9999"
 else
        SRC_URI="https://github.com/swaywm/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
        KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+       SLOT="0/13"
 fi
 
 LICENSE="MIT"
-SLOT="0/9999"
 IUSE="x11-backend X"
 
 DEPEND="

Reply via email to