1 |
commit: df9f196b0fbbab7bf742d955f11d9cc87aef138e |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 31 16:12:26 2019 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 31 16:14:58 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df9f196b |
7 |
|
8 |
sys-fs/squashfs-tools-ng: Version bump to 0.8 |
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.8.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 c38e9de084f..9ec65d75dbf 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.7.tar.xz 372956 BLAKE2B 5fd0849c8cb0255ea56edc5b5cdc771363f5ca038f4306bb7d816ff26ce23cbd4f4652ef8ae497b8c9fe1ec09f9ebcfcf13aeb6b99b97db80a95018c25d4a3a6 SHA512 e53d7b64e68a40b49667b65d9fa8f12e977e8ca923c2fe9ce1e1def2745573f8607f7dee7ae6c06496489ef721c4c500ec40513ea5f6bd3ad4bb3a7796972b8e |
22 |
+DIST squashfs-tools-ng-0.8.tar.xz 1004616 BLAKE2B 5d347eef252886e7750da306f038494a15660350aca7b93aaf85a8411882489d8855c771e719a68b025f5c15fdc8b0d30727dde0884c5982460ff85d106fcd37 SHA512 7a533c7f9f21f717718a9ce5d775cf297c2e8edb6f121741b14692b52cbb6e3d7fe5cd59525222f7f9617440ea2adb2acec4dda3252abf3bebc689905b9fdc20 |
23 |
|
24 |
diff --git a/sys-fs/squashfs-tools-ng/squashfs-tools-ng-0.8.ebuild b/sys-fs/squashfs-tools-ng/squashfs-tools-ng-0.8.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..22a2dbc93b6 |
27 |
--- /dev/null |
28 |
+++ b/sys-fs/squashfs-tools-ng/squashfs-tools-ng-0.8.ebuild |
29 |
@@ -0,0 +1,51 @@ |
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="LGPL-3+ tools? ( GPL-3+ )" |
46 |
+SLOT="0" |
47 |
+IUSE="lz4 lzo selinux +tools +xz zstd" |
48 |
+ |
49 |
+DEPEND=" |
50 |
+ sys-libs/zlib:= |
51 |
+ lz4? ( app-arch/lz4:= ) |
52 |
+ lzo? ( dev-libs/lzo:= ) |
53 |
+ xz? ( app-arch/xz-utils:= ) |
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 xz) |
72 |
+ $(use_with zstd) |
73 |
+ ) |
74 |
+ econf "${myconf[@]}" |
75 |
+} |
76 |
+ |
77 |
+src_install() { |
78 |
+ default |
79 |
+ find "${D}" -name "*.la" -delete || die |
80 |
+} |