diff options
author | Stefan Strogin <stefan.strogin@gmail.com> | 2018-09-10 15:58:40 +0300 |
---|---|---|
committer | Stefan Strogin <stefan.strogin@gmail.com> | 2018-09-10 16:07:49 +0300 |
commit | b72cc4be605b94f68f4796df9994ebe7cab455a6 (patch) | |
tree | 921e9c2ae2fad9e6c42113e93aac774862639cac /x11-plugins/purple-matrix | |
parent | Add some missing dependencies to Riot, fixes #13 (diff) | |
download | matrix-b72cc4be605b94f68f4796df9994ebe7cab455a6.tar.gz matrix-b72cc4be605b94f68f4796df9994ebe7cab455a6.tar.bz2 matrix-b72cc4be605b94f68f4796df9994ebe7cab455a6.zip |
purple-matrix: add dependency and link against libgcrypt for USE=olm
Fixes #15
Diffstat (limited to 'x11-plugins/purple-matrix')
-rw-r--r-- | x11-plugins/purple-matrix/Manifest | 2 | ||||
-rw-r--r-- | x11-plugins/purple-matrix/purple-matrix-9999.ebuild | 12 |
2 files changed, 11 insertions, 3 deletions
diff --git a/x11-plugins/purple-matrix/Manifest b/x11-plugins/purple-matrix/Manifest index 91a7ddb..701d13d 100644 --- a/x11-plugins/purple-matrix/Manifest +++ b/x11-plugins/purple-matrix/Manifest @@ -1,2 +1,2 @@ -EBUILD purple-matrix-9999.ebuild 577 BLAKE2B fe827dd088e6ee74b60ad3217ade5fcf824d6890860aa37322f3ba3195e2dc56585415368f724870f45efdcf3e0f8781ad8a4011caa549692cb0671f98038b35 SHA512 12f025ffc91794533c025adaae7e9982e920e38d959cceb169a9480699266e7a6c662f64606c8809818c2815e11d6f59efb14a0b4140da161f6509e2126af878 +EBUILD purple-matrix-9999.ebuild 744 BLAKE2B 18e890311cb0cded80d3155bd77782ad0fbd1c6fd1d82a8051ba97c5994581ea9738658582c58eb290c7202cc7e1805128feee13c57777b5165ed8efb96b0cb7 SHA512 33bd1f578f489f3cb8df81c5e60167c5ece76fadd420c753979c2f6234f455d4c7aacd1736178f16509b9d9a8b1825f088b65e84b22175cbe44032e81205f4ef MISC metadata.xml 453 BLAKE2B 483362cd715c01e4131580b3f9b78c1ea8f652b9ab7dd78cf313a2bbb5883bf53f8f5e51b987417db7d53a5d2d33c700f323f1302bdc8c29562aed7de0155de9 SHA512 ef7312b9e8705ee3180eef2ac66d86a3d658afadd4796552772c562a2d38ef5f4fbbb30a2a448e1b6221a02b14c4f50887de9ce46adbfc4c8af5c3e238986706 diff --git a/x11-plugins/purple-matrix/purple-matrix-9999.ebuild b/x11-plugins/purple-matrix/purple-matrix-9999.ebuild index d34755b..7331bc2 100644 --- a/x11-plugins/purple-matrix/purple-matrix-9999.ebuild +++ b/x11-plugins/purple-matrix/purple-matrix-9999.ebuild @@ -19,10 +19,18 @@ RDEPEND="net-im/pidgin dev-libs/json-glib net-libs/http-parser dev-db/sqlite:3 - olm? ( dev-libs/olm )" + olm? ( + dev-libs/olm + dev-libs/libgcrypt:0 + )" DEPEND="${RDEPEND}" src_compile() { - use !olm && export MATRIX_NO_E2E=1 + if use !olm; then + export MATRIX_NO_E2E=1 + else + # See https://github.com/matrix-org/purple-matrix/issues/83 + sed -i -e '/^LDLIBS+=-lolm/s/$/ -lgcrypt/' Makefile || die + fi emake || die "Make failed!" } |