Gentoo Archives: gentoo-commits

From: Craig Andrews <candrews@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/zbackup/
Date: Thu, 28 Dec 2017 15:09:52
Message-Id: 1514473766.79beb6e635f341caa36e977af5590948c3a03b67.candrews@gentoo
1 commit: 79beb6e635f341caa36e977af5590948c3a03b67
2 Author: Vladimir Pavljuchenkov (SpiderX) <spiderx <AT> spiderx <DOT> dp <DOT> ua>
3 AuthorDate: Mon Dec 25 14:46:45 2017 +0000
4 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 28 15:09:26 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79beb6e6
7
8 app-backup/zbackup: relax protobuf dependency (wrt #621362)
9
10 Package-Manager: Portage-2.3.13, Repoman-2.3.3
11
12 app-backup/zbackup/zbackup-1.4.4-r1.ebuild | 34 ++++++++++++++++++++++++++++++
13 1 file changed, 34 insertions(+)
14
15 diff --git a/app-backup/zbackup/zbackup-1.4.4-r1.ebuild b/app-backup/zbackup/zbackup-1.4.4-r1.ebuild
16 new file mode 100644
17 index 00000000000..1371f7e56cf
18 --- /dev/null
19 +++ b/app-backup/zbackup/zbackup-1.4.4-r1.ebuild
20 @@ -0,0 +1,34 @@
21 +# Copyright 1999-2017 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +
26 +inherit cmake-utils
27 +
28 +DESCRIPTION="A versatile deduplicating backup tool"
29 +HOMEPAGE="http://zbackup.org/ https://github.com/zbackup/zbackup"
30 +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
31 +
32 +LICENSE="GPL-2+-with-openssl-exception"
33 +KEYWORDS="~amd64 ~x86"
34 +SLOT="0"
35 +IUSE="libressl tartool"
36 +
37 +DEPEND="app-arch/lzma
38 + dev-libs/lzo:2
39 + dev-libs/protobuf:0=
40 + sys-libs/zlib
41 + !libressl? ( dev-libs/openssl:0= )
42 + libressl? ( dev-libs/libressl:0= )"
43 +RDEPEND="${DEPEND}"
44 +
45 +# Add tartool build
46 +PATCHES=( "${FILESDIR}/${P}-tartool.patch" )
47 +
48 +src_configure() {
49 + local mycmakeargs=(
50 + -DBUILD_TARTOOL="$(usex tartool)"
51 + )
52 +
53 + cmake-utils_src_configure
54 +}