1 |
commit: 59c4a8cf5b971110349931f8589cddc375149923 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 5 16:37:51 2020 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 5 16:44:03 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59c4a8cf |
7 |
|
8 |
sys-fs/squashfs-tools-ng: Version bump to 1.0.1 |
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.0.1.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 9e06bf6abec..ec198d9b12e 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.9.1.tar.xz 1026036 BLAKE2B 3e0a0acf5b11ea42bad2149a9b97442739f1eceacfc0f5b009403d4616fcd02d69082e2e0721be3a1d6d9ba67ce6287b12ea13fba6409cb751e844f5d48ce7ea SHA512 eb550430917f267ec1ef1d11795167a6893031fc184f914170679cd24c16930a8f73a2b04a349ce1602e80a327957db7935369965a892fbe4904b6e01bb48b5c |
22 |
DIST squashfs-tools-ng-1.0.0.tar.xz 1079912 BLAKE2B b7a9e4cafc31c0058d73b1a8b69125f92d753214f6e9f0372558271bbd8df163d9b3bf3fea45b96da5044c86e75affc2bfd27826d3725a35fbb417e443cf6ccb SHA512 536f12aa53214f88739cea0d26c55e04434c284935ff1d59ee8f5108acd92fc11e800e42e3a112524d09dbd1fa50c4f15c3211ff5d02ae50b7fa137600d2ae15 |
23 |
+DIST squashfs-tools-ng-1.0.1.tar.xz 1079720 BLAKE2B efc4d715c65d42876d5ac51364d195267c6bc6c2219fea5746231bc4efbd9adac3fa23ea58f837da8610179f3d96ec9422efebe4ae231f4ab243cf948e64fa9b SHA512 3b597b7bf654c6897e04dc6c18cec6034a8f0c0fe070c8d6eb3c8f4a06f4ab2ea8c970ac18c12f05ccb3015cf911790e945798a34361fdb7d1a442a1ca646a04 |
24 |
|
25 |
diff --git a/sys-fs/squashfs-tools-ng/squashfs-tools-ng-1.0.1.ebuild b/sys-fs/squashfs-tools-ng/squashfs-tools-ng-1.0.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..79c567828dd |
28 |
--- /dev/null |
29 |
+++ b/sys-fs/squashfs-tools-ng/squashfs-tools-ng-1.0.1.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 |
+} |