blob: 66f8c1b85c66a7c3f94079ad10a0fb4980511aa5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# taken from gentoo portage tree
# updated manually by Simon the Sorcerer
EAPI=6
inherit eutils
DESCRIPTION="Implements the OMEMO (XEP-0384) extension for libpurple."
HOMEPAGE="https://github.com/gkdr/lurch/"
SRC_URI="https://github.com/gkdr/lurch/archive/15df7636a8f1a8033cc75db670e5191f09c2fe09.tar.gz -> ${P}.tar.gz
https://github.com/gkdr/libomemo/archive/v0.6.0.tar.gz -> ${P}-libomemo-0.6.0.tar.gz
https://github.com/gkdr/axc/archive/v0.3.0.tar.gz -> ${P}-axc-0.3.0.tar.gz
https://github.com/WhisperSystems/libsignal-protocol-c/archive/v2.3.1.tar.gz -> ${P}-libsignalc-2.3.1.tar.gz
"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~x86 ~arm"
IUSE=""
RDEPEND="
net-im/pidgin
dev-libs/mini-xml
"
DEPEND="
${RDEPEND}
"
S=${WORKDIR}/lurch-15df7636a8f1a8033cc75db670e5191f09c2fe09
src_unpack() {
unpack "${P}.tar.gz"
cd "${S}/lib" || die
tar xf "${DISTDIR}/${P}-libomemo-0.6.0.tar.gz" -C libomemo --strip-components 1 || die "Failed to unpack ${P}-libomemo-0.6.0.tar.gz"
tar xf "${DISTDIR}/${P}-axc-0.3.0.tar.gz" -C axc --strip-components 1 || die "Failed to unpack ${P}-axc-0.3.0.tar.gz"
cd ./axc/lib
tar xf "${DISTDIR}/${P}-libsignalc-2.3.1.tar.gz" -C libsignal-protocol-c --strip-components 1 || die "Failed to unpack ${P}-libsignalc-2.3.1.tar.gz"
}
|