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, 25 Jun 2021 23:57:37
Message-Id: 1624665428.59b4d8d84905decd687b44163b8a3cad8b0aa3fb.mattst88@gentoo
1 commit: 59b4d8d84905decd687b44163b8a3cad8b0aa3fb
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 25 23:47:42 2021 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 25 23:57:08 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59b4d8d8
7
8 sys-fs/squashfs-tools-ng: Version bump to 1.1.2
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.2.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 e4baef921d1..019dd67d05d 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-1.1.0.tar.xz 1169556 BLAKE2B 87222e87176a69aef39130af9e6d9b23d9e2f81e10680eb26236260ebe50dedcfbba33785d739a98a152825e535d0d166f7ce08262157341a6ef48d1d2ef33e0 SHA512 06b76fb8bb4295ac451bc98cbe757b272ac831c2ec146803b4813b9792486372691864fcaaa1a3cac6628608ac62cf081f1aa331c0802ea1a9858461fef33923
22 DIST squashfs-tools-ng-1.1.1.tar.xz 1170232 BLAKE2B 8224b59f70c3c02df3762024510c75a038f8d9f1853575ccfa527173a528f17bd68ae4ec1d2448563aa504f683f5d9152cb07545db6b965f36a224dc95841f17 SHA512 2a7aa689b49fe06ec77e9b9c3bdcf264d05a478aa08543d8e8bc22ef45f10f351b49706485ed93cbd5adc537cd066f94e70952867838ec51859e8f6ce34607f4
23 +DIST squashfs-tools-ng-1.1.2.tar.xz 1178028 BLAKE2B f54419cdb57ace39a85dfa3a691adcdb637939ef7cc0419e596fb7a7b1fe24d469d2f2104c745303159c64f0692d45562562b6acf4cce3bfa49ef7a59a892cde SHA512 3f66cd9034997104e2d3281e271e8ccfbdd6ecaa98313636dcfd5251717e173ceede27b4a94342b011707fc1e96884ec733423f978697c6420915d96c153cf3e
24
25 diff --git a/sys-fs/squashfs-tools-ng/squashfs-tools-ng-1.1.2.ebuild b/sys-fs/squashfs-tools-ng/squashfs-tools-ng-1.1.2.ebuild
26 new file mode 100644
27 index 00000000000..3e96fd1fdfe
28 --- /dev/null
29 +++ b/sys-fs/squashfs-tools-ng/squashfs-tools-ng-1.1.2.ebuild
30 @@ -0,0 +1,51 @@
31 +# Copyright 2019-2021 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 +}