Merge pull request #12068 from Chocimier/olm

olm: update to 3.1.2.
This commit is contained in:
Piotr 2019-06-01 19:46:40 +02:00 committed by GitHub
commit 7847910b49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 18 additions and 13 deletions

View file

@ -48,12 +48,13 @@ update_check() {
*cpan.*|\
*pythonhosted.org*|\
*github.com*|\
*gitlab.com*|*gitlab.gnome.org*|*gitlab.freedesktop.org*|\
*//gitlab.*|\
*bitbucket.org*|\
*ftp.gnome.org*|\
*kernel.org/pub/linux/kernel/*|\
*cran.r-project.org/src/contrib*|\
*rubygems.org*)
*rubygems.org*|\
*crates.io*)
continue
;;
*)
@ -110,7 +111,7 @@ update_check() {
githubname="$(printf %s "$url" | cut -d/ -f4,5)"
url="https://github.com/$githubname/tags"
rx='/archive/(v?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=\.tar\.gz")';;
*gitlab.com*|*gitlab.gnome.org*|*gitlab.freedesktop.org*)
*//gitlab.*)
gitlaburl="$(printf %s "$url" | cut -d/ -f1-5)"
url="$gitlaburl/tags"
rx='/archive/[^/]+/\Q'"$pkgname"'\E-v?\K[\d\.]+(?=\.tar\.gz")';;

View file

@ -1,6 +1,6 @@
# Template file for 'olm-python'
pkgname=olm-python
version=3.0.0
version=3.1.2
revision=1
wrksrc="olm-${version}"
build_wrksrc=python
@ -12,9 +12,9 @@ depends="python-cffi python-future python-typing"
short_desc="Implementation of the Double Ratchet cryptographic ratchet (Python2)"
maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
license="Apache-2.0"
homepage="https://git.matrix.org/git/olm/about/"
distfiles="https://git.matrix.org/git/olm/snapshot/olm-${version}.tar.gz"
checksum=4c54f93e4f426a9d5c8e66e63113d42fd2afca240cdcff30a469a342a6ec3bc6
homepage="https://gitlab.matrix.org/matrix-org/olm"
distfiles="https://gitlab.matrix.org/matrix-org/olm/-/archive/${version}/olm-${version}.tar.bz2"
checksum=d09f9082cdbaf4d95b0a372affdf6129a6b451913831c5915e799877acab6d49
pre_build() {
make include/olm/olm.h

View file

@ -0,0 +1 @@
pkgname=olm

View file

@ -1,15 +1,19 @@
# Template file for 'olm'
pkgname=olm
version=3.0.0
version=3.1.2
revision=1
build_style=cmake
configure_args="-DOLM_TESTS=OFF"
short_desc="Implementation of the Double Ratchet cryptographic ratchet"
maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
license="Apache-2.0"
homepage="https://git.matrix.org/git/olm/about/"
distfiles="https://git.matrix.org/git/olm/snapshot/olm-${version}.tar.gz"
checksum=4c54f93e4f426a9d5c8e66e63113d42fd2afca240cdcff30a469a342a6ec3bc6
homepage="https://gitlab.matrix.org/matrix-org/olm"
distfiles="https://gitlab.matrix.org/matrix-org/olm/-/archive/${version}/olm-${version}.tar.bz2"
checksum=d09f9082cdbaf4d95b0a372affdf6129a6b451913831c5915e799877acab6d49
do_check() {
cd build/tests
ctest
}
olm-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"

View file

@ -1 +0,0 @@
site=https://git.matrix.org/git/olm/refs/