aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-03-15 16:24:03 +0100
committerLars Wendler <polynomial-c@gentoo.org>2019-04-02 13:14:15 +0200
commit4b1762534301033ccf5b6120c6b6a86f0f5fda21 (patch)
tree812c801753574e9b804bcc593d91018f4ad3a9c5 /dev-libs
parentdev-libs/olm: Bump to EAPI-7 (diff)
downloadmatrix-4b1762534301033ccf5b6120c6b6a86f0f5fda21.tar.gz
matrix-4b1762534301033ccf5b6120c6b6a86f0f5fda21.tar.bz2
matrix-4b1762534301033ccf5b6120c6b6a86f0f5fda21.zip
dev-libs/olm: Prepare for live ebuild usage
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/olm/olm-2.3.0.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/dev-libs/olm/olm-2.3.0.ebuild b/dev-libs/olm/olm-2.3.0.ebuild
index e7adf3a..68ac723 100644
--- a/dev-libs/olm/olm-2.3.0.ebuild
+++ b/dev-libs/olm/olm-2.3.0.ebuild
@@ -6,12 +6,14 @@ EAPI=7
DESCRIPTION="An implementation of the Double Ratchet cryptographic ratchet in C++"
HOMEPAGE="https://git.matrix.org/git/olm/about/"
-if [[ ${PV} != "9999" ]]; then
+if [[ "${PV}" == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://git.matrix.org/git/olm.git"
+else
+ SRC_URI="https://git.matrix.org/git/${PN}/snapshot/${P}.tar.bz2"
KEYWORDS="~amd64 ~x86"
fi
-SRC_URI="https://git.matrix.org/git/${PN}/snapshot/${P}.tar.bz2"
-
LICENSE="GPL-3"
SLOT="0/$(ver_cut 1)"
IUSE=""