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: Tue, 31 Mar 2020 20:44:17
Message-Id: 1585687442.4ed11e592c4c57a2c5c18159b9dff734df5495e7.mattst88@gentoo
1 commit: 4ed11e592c4c57a2c5c18159b9dff734df5495e7
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 31 20:36:52 2020 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 31 20:44:02 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ed11e59
7
8 sys-fs/squashfs-tools-ng: Version bump to 0.9
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.9.ebuild | 51 ++++++++++++++++++++++
14 2 files changed, 52 insertions(+)
15
16 diff --git a/sys-fs/squashfs-tools-ng/Manifest b/sys-fs/squashfs-tools-ng/Manifest
17 index 9ec65d75dbf..2ad1b501280 100644
18 --- a/sys-fs/squashfs-tools-ng/Manifest
19 +++ b/sys-fs/squashfs-tools-ng/Manifest
20 @@ -1,2 +1,3 @@
21 DIST squashfs-tools-ng-0.7.tar.xz 372956 BLAKE2B 5fd0849c8cb0255ea56edc5b5cdc771363f5ca038f4306bb7d816ff26ce23cbd4f4652ef8ae497b8c9fe1ec09f9ebcfcf13aeb6b99b97db80a95018c25d4a3a6 SHA512 e53d7b64e68a40b49667b65d9fa8f12e977e8ca923c2fe9ce1e1def2745573f8607f7dee7ae6c06496489ef721c4c500ec40513ea5f6bd3ad4bb3a7796972b8e
22 DIST squashfs-tools-ng-0.8.tar.xz 1004616 BLAKE2B 5d347eef252886e7750da306f038494a15660350aca7b93aaf85a8411882489d8855c771e719a68b025f5c15fdc8b0d30727dde0884c5982460ff85d106fcd37 SHA512 7a533c7f9f21f717718a9ce5d775cf297c2e8edb6f121741b14692b52cbb6e3d7fe5cd59525222f7f9617440ea2adb2acec4dda3252abf3bebc689905b9fdc20
23 +DIST squashfs-tools-ng-0.9.tar.xz 1020728 BLAKE2B 4f6672aecfa1f664198465154ad1d1ba92f741bcad576f90b58cdc982cc8a20d21dc7cfcb825604e2801ce187d5f984d55131c04859de0d7e67f515cddd781ac SHA512 6394cb851828f110ed6a3ab17923b214b79b8bb5550069407839da62e5316459d7f564cb31211c849508b9664f4f1f9030ce5f64d5c8649b8a73c3a869ab22d0
24
25 diff --git a/sys-fs/squashfs-tools-ng/squashfs-tools-ng-0.9.ebuild b/sys-fs/squashfs-tools-ng/squashfs-tools-ng-0.9.ebuild
26 new file mode 100644
27 index 00000000000..79c567828dd
28 --- /dev/null
29 +++ b/sys-fs/squashfs-tools-ng/squashfs-tools-ng-0.9.ebuild
30 @@ -0,0 +1,51 @@
31 +# Copyright 2019-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +DESCRIPTION="A new set of tools for working with SquashFS images"
37 +HOMEPAGE="https://github.com/AgentD/squashfs-tools-ng"
38 +if [[ ${PV} = 9999* ]]; then
39 + inherit autotools git-r3
40 + EGIT_REPO_URI="https://github.com/AgentD/${PN}.git"
41 +else
42 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
43 + SRC_URI="https://infraroot.at/pub/squashfs/${P}.tar.xz"
44 +fi
45 +
46 +LICENSE="LGPL-3+ tools? ( GPL-3+ )"
47 +SLOT="0"
48 +IUSE="lz4 lzo selinux +tools +xz zstd"
49 +
50 +DEPEND="
51 + sys-libs/zlib:=
52 + lz4? ( app-arch/lz4:= )
53 + lzo? ( dev-libs/lzo:= )
54 + xz? ( app-arch/xz-utils:= )
55 + selinux? ( sys-libs/libselinux:= )
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 + --disable-static
68 + $(use_with lz4)
69 + $(use_with lzo)
70 + $(use_with selinux)
71 + $(use_with tools)
72 + $(use_with xz)
73 + $(use_with zstd)
74 + )
75 + econf "${myconf[@]}"
76 +}
77 +
78 +src_install() {
79 + default
80 + find "${D}" -name "*.la" -delete || die
81 +}