Added omemo support
This commit is contained in:
parent
98a1caf99f
commit
53803bc17b
1
x11-plugins/lurch/Manifest
Normal file
1
x11-plugins/lurch/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST lurch-0.7.0.tar.gz 66885 BLAKE2B 1a3cc1dbfd8f999b677b23d02952a3c28c922d438cfe81a3bfd3a03cc49723fcc4d52a549bfc7ecb45616a0c939b0f78a39f73a4439bc5337d4da656e9d42b11 SHA512 082f85d25fbcb184b7b6d827e1e6bac073ad46064a144ca24245164558ca9e0cdfcdc4187ac3da5f8738e0476e759e67801d0fd24598b31e2d86053f8af576b6
|
52
x11-plugins/lurch/lurch-0.7.0.ebuild
Normal file
52
x11-plugins/lurch/lurch-0.7.0.ebuild
Normal file
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="OMEMO encryption for libpurple (XEP-0384)"
|
||||
HOMEPAGE="https://github.com/gkdr/lurch"
|
||||
SRC_URI="https://github.com/gkdr/lurch/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3" # likely not GPL-3+, https://github.com/gkdr/lurch/issues/165
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~arm ~arm64"
|
||||
IUSE="test"
|
||||
|
||||
# NOTE: Some of these dependencies seem like leftovers in the build system
|
||||
# and can probably be dropped with lurch >=0.7.1
|
||||
# (https://github.com/gkdr/lurch/issues/164)
|
||||
RDEPEND="
|
||||
dev-db/sqlite
|
||||
dev-libs/glib
|
||||
dev-libs/libgcrypt:=
|
||||
dev-libs/libxml2
|
||||
dev-libs/mxml
|
||||
net-im/pidgin:=
|
||||
net-libs/libaxc
|
||||
net-libs/libomemo
|
||||
>=net-libs/libsignal-protocol-c-2.3.2
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? ( dev-util/cmocka )
|
||||
"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
src_prepare() {
|
||||
rm -Rv lib/{axc,libomemo} || die # unbundle
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local makeargs=(
|
||||
CC="$(tc-getCC)"
|
||||
LIBGCRYPT_CONFIG="$(tc-getPROG LIBGCRYPT_CONFIG libgcrypt-config)"
|
||||
PKG_CONFIG="$(tc-getPKG_CONFIG)"
|
||||
XML2_CONFIG="$(tc-getPROG XML2_CONFIG xml2-config)"
|
||||
)
|
||||
emake "${makeargs[@]}"
|
||||
}
|
Loading…
Reference in New Issue
Block a user