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: Sun, 03 Apr 2022 00:07:11
Message-Id: 1648944371.1253d6279bafdea70a18c3e506e05c151026fbf7.mattst88@gentoo
1 commit: 1253d6279bafdea70a18c3e506e05c151026fbf7
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 3 00:06:11 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 3 00:06:11 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1253d627
7
8 sys-fs/squashfs-tools-ng: Version bump to 1.1.4
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 sys-fs/squashfs-tools-ng/Manifest | 1 +
13 .../squashfs-tools-ng-1.1.4.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 cd99c985f901..1992a8f0a8b8 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-1.1.3.tar.xz 1181268 BLAKE2B 0d72cc82d937f7403fb67030d799cce37062496bb5dddf68f2151243b99934104e4e576e45bc6bcb2229b1f9eca134482de3180f0035229d829e785fdf0d5d03 SHA512 7a42a540622c324f500e21d64bc57bc203069c6e1deb2624597a767d8267b719bd8f76fbfa0166b7e2d4a6f9acd3d2a46514a45fcb4760052d45c7e1861da94e
22 +DIST squashfs-tools-ng-1.1.4.tar.xz 1311684 BLAKE2B b976ac223d57919958e0ad04c989e0a9cf2837e1c7ef1e1962069b4796b492fe2fc99c59d1e38b11e380226dc2fc4b2e25e29244635a32d03d0667f2b3ef1d7f SHA512 10e0bebd70de686862f1473588cdbf922ad766c86b64ebd4d6338fd863f862fe0c9374950fa54a197c0f02021c63943cf1ba57ebb7f93a4188e68e2b25b4a800
23
24 diff --git a/sys-fs/squashfs-tools-ng/squashfs-tools-ng-1.1.4.ebuild b/sys-fs/squashfs-tools-ng/squashfs-tools-ng-1.1.4.ebuild
25 new file mode 100644
26 index 000000000000..46990a47a6dc
27 --- /dev/null
28 +++ b/sys-fs/squashfs-tools-ng/squashfs-tools-ng-1.1.4.ebuild
29 @@ -0,0 +1,51 @@
30 +# Copyright 2019-2022 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="LGPL-3+ tools? ( GPL-3+ )"
46 +SLOT="0"
47 +IUSE="lz4 +lzma lzo selinux +tools zstd"
48 +
49 +DEPEND="
50 + sys-libs/zlib:=
51 + lz4? ( app-arch/lz4:= )
52 + lzma? ( app-arch/xz-utils:= )
53 + lzo? ( dev-libs/lzo:= )
54 + selinux? ( sys-libs/libselinux:= )
55 + zstd? ( app-arch/zstd:= )
56 +"
57 +RDEPEND="${DEPEND}"
58 +
59 +src_prepare() {
60 + default
61 + [[ ${PV} == "9999" ]] && eautoreconf
62 +}
63 +
64 +src_configure() {
65 + local myconf=(
66 + --disable-static
67 + $(use_with lz4)
68 + $(use_with lzo)
69 + $(use_with selinux)
70 + $(use_with tools)
71 + $(use_with lzma xz)
72 + $(use_with zstd)
73 + )
74 + econf "${myconf[@]}"
75 +}
76 +
77 +src_install() {
78 + default
79 + find "${D}" -name "*.la" -delete || die
80 +}