commit:     1b95da046b7ef0fc442777a28a8ab9bb92b03308
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 12 14:26:03 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 12 14:26:03 2024 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=1b95da04

net-libs/accounts-qt: sync live

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/accounts-qt/accounts-qt-9999.ebuild | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/net-libs/accounts-qt/accounts-qt-9999.ebuild 
b/net-libs/accounts-qt/accounts-qt-9999.ebuild
index 3e155aac98..cce72f3f24 100644
--- a/net-libs/accounts-qt/accounts-qt-9999.ebuild
+++ b/net-libs/accounts-qt/accounts-qt-9999.ebuild
@@ -10,8 +10,14 @@ if [[ ${PV} = *9999* ]] ; then
        EGIT_BRANCH="qt6"
        inherit git-r3
 else
-       
SRC_URI="https://gitlab.com/accounts-sso/lib${PN}/-/archive/VERSION_${PV}/lib${PN}-VERSION_${PV}.tar.gz
 -> ${P}a.tar.gz"
-       S="${WORKDIR}/lib${PN}-VERSION_${PV}"
+       COMMIT=c86db79be389601bf6798f815ca5b8f78a524156
+       if [[ -n ${COMMIT} ]] ; then
+               
SRC_URI="https://gitlab.com/accounts-sso/lib${PN}/-/archive/${COMMIT}/lib${PN}-${COMMIT}.tar.bz2
 -> ${P}.tar.bz2"
+               S="${WORKDIR}/lib${PN}-${COMMIT}"
+       else
+               
SRC_URI="https://gitlab.com/accounts-sso/lib${PN}/-/archive/VERSION_${PV}/lib${PN}-VERSION_${PV}.tar.bz2
 -> ${P}a.tar.bz2"
+               S="${WORKDIR}/lib${PN}-VERSION_${PV}"
+       fi
        KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
 fi
 

Reply via email to