olm: update to 2.3.0.

This commit is contained in:
Adam Beckmeyer 2018-10-05 10:28:31 -04:00 committed by maxice8
parent ec75af8f4b
commit 4e367aa850
2 changed files with 3 additions and 6 deletions

View File

@ -1,14 +1,11 @@
--- python/olm/_base.py
+++ python/olm/_base.py
@@ -1,14 +1,13 @@
@@ -1,11 +1,10 @@
import os.path
from ctypes import *
+from ctypes import util
def read_random(n):
with open("/dev/urandom", "rb") as f:
return f.read(n)
-lib = cdll.LoadLibrary(os.path.join(
- os.path.dirname(__file__), "..", "..", "build", "libolm.so.2")

View File

@ -1,6 +1,6 @@
# Template file for 'olm'
pkgname=olm
version=2.2.2
version=2.3.0
revision=1
build_style=gnu-makefile
make_check_target=test
@ -11,7 +11,7 @@ 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/${pkgname}-${version}.tar.gz"
checksum=0c00127e6c4fcb4ec2cb3f78805a9218551b878f75441a1bc282b94c9fdd7b9a
checksum=533714fb84860e04c185790d16ef9085f15e902c2105db941d5c7e92b0565ef8
post_configure() {
# -O0 prevents _FORTIFY_SOURCE working