Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/squashfs-tools-ng/
Date: Fri, 23 Aug 2019 16:52:35
Message-Id: 1566579142.839d9e39cc212206d48102f74df898a17501d73b.mattst88@gentoo
1 commit: 839d9e39cc212206d48102f74df898a17501d73b
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 23 16:49:51 2019 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 23 16:52:22 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=839d9e39
7
8 sys-fs/squashfs-tools-ng: Version bump to 0.6
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 sys-fs/squashfs-tools-ng/Manifest | 1 +
13 .../squashfs-tools-ng/squashfs-tools-ng-0.6.ebuild | 46 ++++++++++++++++++++++
14 2 files changed, 47 insertions(+)
15
16 diff --git a/sys-fs/squashfs-tools-ng/Manifest b/sys-fs/squashfs-tools-ng/Manifest
17 index 39d81d38b98..8cada401b35 100644
18 --- a/sys-fs/squashfs-tools-ng/Manifest
19 +++ b/sys-fs/squashfs-tools-ng/Manifest
20 @@ -1 +1,2 @@
21 DIST squashfs-tools-ng-0.5.tar.xz 158048 BLAKE2B e8d53336a0955875eaf5a301329f620f6efd27d27d985c760a7eaaded94a60e1a7384f076311101b4a6de36b1330d7b42866079b074b6af1829d4162c1f62b38 SHA512 b39cd6e9627e71eb0fcc59a587612fe062c3f437e11342e6ec1a1fee1e6a51b38dcc881bf9a1d69578ad4686f939ece8ec02ed79a6cc6c69afe06bc6753390bf
22 +DIST squashfs-tools-ng-0.6.tar.xz 199708 BLAKE2B e325b282ae1c4355e780abaac5f760800b94dde12e13e772663bb1d6ffea1c7c155d48ac657253be34cd50e442d75d3e7bcfdbc066226856e6e04fb18c121570 SHA512 2a84b8eceeca2899870be37055210e20ecc97073ebe57cff1b945f221c2b5f1d116a4909be6a906991148363ad7f888cf44dfda198d96d15a37487a83075fb57
23
24 diff --git a/sys-fs/squashfs-tools-ng/squashfs-tools-ng-0.6.ebuild b/sys-fs/squashfs-tools-ng/squashfs-tools-ng-0.6.ebuild
25 new file mode 100644
26 index 00000000000..fc732972175
27 --- /dev/null
28 +++ b/sys-fs/squashfs-tools-ng/squashfs-tools-ng-0.6.ebuild
29 @@ -0,0 +1,46 @@
30 +# Copyright 2019 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +DESCRIPTION="A new set of tools for working with SquashFS images"
36 +HOMEPAGE="https://github.com/AgentD/squashfs-tools-ng"
37 +if [[ ${PV} = 9999* ]]; then
38 + inherit autotools git-r3
39 + EGIT_REPO_URI="https://github.com/AgentD/${PN}.git"
40 +else
41 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
42 + SRC_URI="https://infraroot.at/pub/squashfs/${P}.tar.xz"
43 +fi
44 +
45 +LICENSE="GPL-3+"
46 +SLOT="0"
47 +IUSE="lz4 lzo selinux +xz +zlib zstd"
48 +REQUIRED_USE="|| ( lz4 lzo xz zlib zstd )"
49 +
50 +DEPEND="
51 + lz4? ( app-arch/lz4:= )
52 + lzo? ( dev-libs/lzo:= )
53 + xz? ( app-arch/xz-utils:= )
54 + selinux? ( sys-libs/libselinux:= )
55 + zlib? ( sys-libs/zlib:= )
56 + zstd? ( app-arch/zstd:= )
57 +"
58 +RDEPEND="${DEPEND}"
59 +
60 +src_prepare() {
61 + default
62 + [[ ${PV} == "9999" ]] && eautoreconf
63 +}
64 +
65 +src_configure() {
66 + local myconf=(
67 + $(use_with lz4)
68 + $(use_with lzo)
69 + $(use_with selinux)
70 + $(use_with xz)
71 + $(use_with zlib gzip)
72 + $(use_with zstd)
73 + )
74 + econf "${myconf[@]}"
75 +}