From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/squashfs-tools/
Date: Tue, 14 Nov 2017 06:30:57 +0000 (UTC) [thread overview]
Message-ID: <1510641055.b658a3b125401ee02a45f9477c1a2827a57c957d.jer@gentoo> (raw)
commit: b658a3b125401ee02a45f9477c1a2827a57c957d
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 14 06:30:14 2017 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Nov 14 06:30:55 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b658a3b1
sys-fs/squashfs-tools: Add ZSTD support to live ebuild.
Package-Manager: Portage-2.3.13, Repoman-2.3.4
sys-fs/squashfs-tools/metadata.xml | 23 +++++++++++----------
sys-fs/squashfs-tools/squashfs-tools-9999.ebuild | 26 +++++++++++++++---------
2 files changed, 28 insertions(+), 21 deletions(-)
diff --git a/sys-fs/squashfs-tools/metadata.xml b/sys-fs/squashfs-tools/metadata.xml
index 9edcb3d56b8..4a5bc2d698e 100644
--- a/sys-fs/squashfs-tools/metadata.xml
+++ b/sys-fs/squashfs-tools/metadata.xml
@@ -1,15 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="project">
- <email>livecd@gentoo.org</email>
- <name>Gentoo LiveCD Project</name>
- </maintainer>
- <use>
- <flag name="xz">Enable support for XZ ("LZMA2") compression using <pkg>app-arch/xz-utils</pkg></flag>
- <flag name="lz4">Enable support for LZ4 compression using <pkg>app-arch/lz4</pkg></flag>
- </use>
- <upstream>
- <remote-id type="sourceforge">squashfs</remote-id>
- </upstream>
+<maintainer type="project">
+<email>livecd@gentoo.org</email>
+<name>Gentoo LiveCD Project</name>
+</maintainer>
+<use>
+<flag name="lz4">Enable support for LZ4 compression using <pkg>app-arch/lz4</pkg></flag>
+<flag name="xz">Enable support for XZ ("LZMA2") compression using <pkg>app-arch/xz-utils</pkg></flag>
+<flag name="zstd">Enable support for ZSTD compression using <pkg>app-arch/zstd</pkg></flag>
+</use>
+<upstream>
+<remote-id type="sourceforge">squashfs</remote-id>
+</upstream>
</pkgmetadata>
diff --git a/sys-fs/squashfs-tools/squashfs-tools-9999.ebuild b/sys-fs/squashfs-tools/squashfs-tools-9999.ebuild
index b2c2c5a3925..c06d73d0508 100644
--- a/sys-fs/squashfs-tools/squashfs-tools-9999.ebuild
+++ b/sys-fs/squashfs-tools/squashfs-tools-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -16,23 +16,28 @@ EGIT_REPO_URI="
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
-IUSE="debug lz4 lzma lzo static xattr +xz"
+IUSE="debug lz4 lzma lzo static xattr +xz zstd"
-LIB_DEPEND="sys-libs/zlib[static-libs(+)]
+LIB_DEPEND="
+ sys-libs/zlib[static-libs(+)]
!xz? ( !lzo? ( sys-libs/zlib[static-libs(+)] ) )
lz4? ( app-arch/lz4[static-libs(+)] )
lzma? ( app-arch/xz-utils[static-libs(+)] )
lzo? ( dev-libs/lzo[static-libs(+)] )
xattr? ( sys-apps/attr[static-libs(+)] )
- xz? ( app-arch/xz-utils[static-libs(+)] )"
-RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
-DEPEND="${RDEPEND}
- static? ( ${LIB_DEPEND} )"
-
+ xz? ( app-arch/xz-utils[static-libs(+)] )
+ zstd? ( app-arch/zstd[static-libs(+)] )
+"
+RDEPEND="
+ !static? ( ${LIB_DEPEND//\[static-libs(+)]} )
+"
+DEPEND="
+ ${RDEPEND}
+ static? ( ${LIB_DEPEND} )
+"
PATCHES=(
"${FILESDIR}"/${PN}-4.3-sysmacros.patch
"${FILESDIR}"/${PN}-4.3-aligned-data.patch
- "${FILESDIR}"/${PN}-4.3-xattrs.patch
)
use10() { usex $1 1 0 ; }
@@ -42,11 +47,12 @@ src_configure() {
# set up make command line variables in EMAKE_SQUASHFS_CONF
EMAKE_SQUASHFS_CONF=(
+ LZ4_SUPPORT=$(use10 lz4)
LZMA_XZ_SUPPORT=$(use10 lzma)
LZO_SUPPORT=$(use10 lzo)
- LZ4_SUPPORT=$(use10 lz4)
XATTR_SUPPORT=$(use10 xattr)
XZ_SUPPORT=$(use10 xz)
+ ZSTD_SUPPORT=$(use10 zstd)
)
tc-export CC
next reply other threads:[~2017-11-14 6:31 UTC|newest]
Thread overview: 114+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-14 6:30 Jeroen Roovers [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-06-01 20:05 [gentoo-commits] repo/gentoo:master commit in: sys-fs/squashfs-tools/ Sam James
2023-06-01 20:05 Sam James
2023-06-01 18:35 Jakov Smolić
2023-06-01 17:19 Arthur Zamarin
2023-03-26 3:02 Michał Górny
2023-03-18 6:00 Michał Górny
2023-03-18 6:00 Michał Górny
2022-10-28 20:58 Sam James
2022-09-05 17:43 Michał Górny
2022-09-05 14:03 Agostino Sarubbo
2022-09-04 20:22 Sam James
2022-09-04 18:43 Arthur Zamarin
2022-09-04 18:21 Arthur Zamarin
2022-09-04 17:48 Sam James
2022-09-04 17:45 Sam James
2022-09-04 17:45 Sam James
2022-08-27 10:11 WANG Xuerui
2022-07-27 2:51 Matt Turner
2022-04-27 20:17 Michał Górny
2022-04-27 19:30 Arthur Zamarin
2022-04-27 19:07 Arthur Zamarin
2022-04-27 18:49 Arthur Zamarin
2022-04-27 18:34 Arthur Zamarin
2022-04-27 18:21 Arthur Zamarin
2022-04-27 18:20 Sam James
2022-04-27 18:20 Sam James
2022-03-18 10:08 Michał Górny
2021-12-03 8:42 Michał Górny
2021-12-03 7:52 Arthur Zamarin
2021-12-03 7:52 Arthur Zamarin
2021-12-02 23:39 Sam James
2021-12-02 23:39 Sam James
2021-12-02 19:52 Sam James
2021-12-02 19:52 Sam James
2021-12-02 19:48 Sam James
2021-10-15 3:20 Sam James
2021-09-04 22:07 Michał Górny
2021-09-04 21:39 Sam James
2021-09-01 18:32 Sam James
2021-08-29 17:52 Sam James
2021-08-29 10:02 Agostino Sarubbo
2021-08-28 5:36 Agostino Sarubbo
2021-08-27 20:04 Sam James
2021-08-27 20:04 Sam James
2021-07-23 7:17 Michał Górny
2020-12-20 19:07 Thomas Deutschmann
2020-12-18 20:49 Sergei Trofimovich
2020-12-18 14:22 Sam James
2020-12-18 10:25 Sergei Trofimovich
2020-12-17 4:55 Sam James
2020-12-17 4:54 Sam James
2020-12-16 21:24 Sergei Trofimovich
2020-12-16 19:51 Sam James
2020-11-07 8:39 Michał Górny
2020-11-07 8:39 Michał Górny
2020-11-07 8:39 Michał Górny
2020-11-07 8:39 Michał Górny
2020-05-05 11:51 Joonas Niilola
2020-02-08 10:57 Jeroen Roovers
2019-12-28 15:39 Mikle Kolyada
2019-12-23 9:30 Mikle Kolyada
2019-12-17 19:58 Sergei Trofimovich
2019-12-16 16:56 Aaron Bauman
2019-12-15 14:15 Agostino Sarubbo
2019-12-15 14:07 Agostino Sarubbo
2019-12-15 13:24 Sergei Trofimovich
2019-12-15 12:48 Agostino Sarubbo
2019-12-15 11:38 Agostino Sarubbo
2019-12-13 21:53 Piotr Karbowski
2019-10-21 7:50 Jeroen Roovers
2019-08-29 5:49 Jeroen Roovers
2019-08-29 5:44 Jeroen Roovers
2019-08-29 5:31 Jeroen Roovers
2019-05-04 19:51 Andreas K. Hüttel
2019-04-14 23:55 Aaron Bauman
2019-04-10 11:40 Jeroen Roovers
2019-04-08 6:51 Mikle Kolyada
2019-04-08 6:51 Mikle Kolyada
2019-04-08 6:51 Mikle Kolyada
2019-04-01 19:58 Thomas Deutschmann
2019-03-25 22:18 Sergei Trofimovich
2019-03-25 11:47 Mikle Kolyada
2019-03-25 9:41 Mikle Kolyada
2019-03-24 20:25 Sergei Trofimovich
2019-03-24 20:12 Sergei Trofimovich
2019-03-24 19:44 Sergei Trofimovich
2019-03-24 16:06 Michał Górny
2019-03-24 10:01 Agostino Sarubbo
2019-03-18 16:52 Jeroen Roovers
2019-03-14 15:15 Jeroen Roovers
2019-03-14 14:53 Jeroen Roovers
2019-03-14 14:47 Jeroen Roovers
2019-03-14 14:47 Jeroen Roovers
2019-03-11 2:39 Aaron Bauman
2019-02-02 14:22 Jeroen Roovers
2018-12-24 19:13 Jeroen Roovers
2018-10-05 21:13 Jeroen Roovers
2018-10-05 21:09 Jeroen Roovers
2018-06-30 9:19 Jeroen Roovers
2018-06-30 9:19 Jeroen Roovers
2017-02-03 22:12 Jeroen Roovers
2017-01-14 11:44 Jeroen Roovers
2016-12-20 21:35 David Seifert
2016-12-17 15:23 Markus Meier
2016-12-06 11:53 Agostino Sarubbo
2016-12-06 11:50 Agostino Sarubbo
2016-12-05 15:49 Tobias Klausmann
2016-11-27 9:17 Mike Frysinger
2016-11-10 5:24 Mike Frysinger
2016-08-01 9:31 Jeroen Roovers
2016-04-13 18:41 Mike Frysinger
2016-04-13 18:41 Mike Frysinger
2015-10-16 18:30 Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1510641055.b658a3b125401ee02a45f9477c1a2827a57c957d.jer@gentoo \
--to=jer@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox