1 |
commit: 536fdb1fe36f6cc679587ee72e30219316683f46 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 24 16:13:54 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 24 16:29:31 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=536fdb1f |
7 |
|
8 |
dev-util/squashdelta: Bump to 0.1.1 (bugfix/refactor) |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-util/squashdelta/Manifest | 1 + |
13 |
dev-util/squashdelta/squashdelta-0.1.1.ebuild | 33 +++++++++++++++++++++++++++ |
14 |
2 files changed, 34 insertions(+) |
15 |
|
16 |
diff --git a/dev-util/squashdelta/Manifest b/dev-util/squashdelta/Manifest |
17 |
index 0516c3d4907..82dff9aaff5 100644 |
18 |
--- a/dev-util/squashdelta/Manifest |
19 |
+++ b/dev-util/squashdelta/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
+DIST squashdelta-0.1.1.tar.bz2 78504 BLAKE2B f9aa13b3af35bd97650b31fac718837763b73c2817548a3fde75841993092d717ea78826a3e29d472290d4f9164f8cfcc9f9999613f199c21251080584dbd9f7 SHA512 efe90831e412ed6627d44390054dc89339e85bcd3be452f16fb32d00989bbdc9480dbefcea624941b4866a686a356b0371c33de31903afa70af26eecbe902844 |
22 |
DIST squashdelta-0.1.tar.bz2 77702 BLAKE2B c36a90e5bb0c22519fdd6229131039b881ccda82117a8180959e463debf767bc2382cc7e38645003cb23ae8e58492aaed849d1951adaedea56837900fda0025f SHA512 1ce93b59b6c51be49aaaee9576049677c8ba146fa3a17c7d3552440a1c0ebe93fb4d8cbe1182db691e2c9552713ecfeef0e50d95f7e94218c341c51364bf724f |
23 |
|
24 |
diff --git a/dev-util/squashdelta/squashdelta-0.1.1.ebuild b/dev-util/squashdelta/squashdelta-0.1.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..9883a7ef38f |
27 |
--- /dev/null |
28 |
+++ b/dev-util/squashdelta/squashdelta-0.1.1.ebuild |
29 |
@@ -0,0 +1,33 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+DESCRIPTION="Efficient (partially uncompressed) SquashFS binary delta tool" |
36 |
+HOMEPAGE="https://github.com/mgorny/squashdelta/" |
37 |
+SRC_URI="https://www.github.com/mgorny/squashdelta/releases/download/v${PV}/${P}.tar.bz2" |
38 |
+ |
39 |
+# uses public-domain murmurhash3 |
40 |
+LICENSE="BSD public-domain" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~amd64 ~x86" |
43 |
+IUSE="lz4 +lzo" |
44 |
+ |
45 |
+COMMON_DEPEND=" |
46 |
+ lz4? ( app-arch/lz4:0= ) |
47 |
+ lzo? ( dev-libs/lzo:2= )" |
48 |
+RDEPEND="${COMMON_DEPEND} |
49 |
+ dev-util/xdelta:3" |
50 |
+DEPEND=${COMMON_DEPEND} |
51 |
+ |
52 |
+# SquashDelta does not make much sense without a compression algo. |
53 |
+REQUIRED_USE="|| ( lz4 lzo )" |
54 |
+ |
55 |
+src_configure() { |
56 |
+ local myconf=( |
57 |
+ $(use_enable lz4) |
58 |
+ $(use_enable lzo) |
59 |
+ ) |
60 |
+ |
61 |
+ econf "${myconf[@]}" |
62 |
+} |