Gentoo Archives: gentoo-commits

From: Mike Auty <ikelos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/ikelos:master commit in: app-arch/sasquatch/
Date: Thu, 31 Dec 2015 03:22:30
Message-Id: 1451532092.dc7e5f3beb44fe99a31d3dba6275bb44180ca5a2.ikelos@gentoo
1 commit: dc7e5f3beb44fe99a31d3dba6275bb44180ca5a2
2 Author: layman <layman <AT> localhost>
3 AuthorDate: Thu Dec 31 03:21:32 2015 +0000
4 Commit: Mike Auty <ikelos <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 31 03:21:32 2015 +0000
6 URL: https://gitweb.gentoo.org/dev/ikelos.git/commit/?id=dc7e5f3b
7
8 Update sasquatch, keeping it package masked while the author sorts his patching out.
9
10 app-arch/sasquatch/Manifest | 4 +-
11 ...h-9999.ebuild => sasquatch-0.0.20150425.ebuild} | 1 +
12 app-arch/sasquatch/sasquatch-4.3.ebuild | 62 ++++++++++++++++++++++
13 3 files changed, 66 insertions(+), 1 deletion(-)
14
15 diff --git a/app-arch/sasquatch/Manifest b/app-arch/sasquatch/Manifest
16 index 3d17a1a..2632c8b 100644
17 --- a/app-arch/sasquatch/Manifest
18 +++ b/app-arch/sasquatch/Manifest
19 @@ -1 +1,3 @@
20 -EBUILD sasquatch-9999.ebuild 579 SHA256 d141a2bf274ede1fab768693513a9e7a5fc940654d15a7df6dc9e510e0d0ebae SHA512 dd53d2513808b27f55378866119ae59fc48ed55a66e1f4c2fa0995e714435d94ce4d6b2df30fcea5ad12947808249f75b63e8960faf01dbdef15872d8f4942bb WHIRLPOOL 29109440a30fc53efe1b181a71e463294a4bb9a67efcdc7b74db48b4156d07417df0fdc9f7579426438ef593f592212c7dc41a1ed38f8317dea12a22b0dbb958
21 +DIST squashfs4.3.tar.gz 182550 SHA256 0d605512437b1eb800b4736791559295ee5f60177e102e4d4ccd0ee241a5f3f6 SHA512 854ed7acc99920f24ecf11e0da807e5a2a162eeda55db971aba63a03f0da2c13b20ec0564a906c4b0e415bd8258b273a10208c7abc0704f2ceea773aa6148a79 WHIRLPOOL c819f416b34cc46a232b8bc385017774603f81b4a865e6b97208004c183ebad5de7d0f726be444f8cb4e1d450abed9340dab730aec0762407f034e99b39bdc06
22 +EBUILD sasquatch-0.0.20150425.ebuild 634 SHA256 dd41813241fc8537ddfd1f19c62d99c4494861f89c75b2fe8a2ab267af847b38 SHA512 9c4deca47addcdbdff15e64885e55227f1b46bfcac6d3351b78965bb27bfea6039f9bdcf9470a77e2eaa2f9f946b52e13a5a87a6441ce70ee4bd57022fd06034 WHIRLPOOL 3b7c362f57c403c2dfb5ced7af4df73628e3abb7206499a60834713f57d3dfc3351d2faf77a6295e2b8e55c18d58e1d5859798bc7567f657be8514a933a5566b
23 +EBUILD sasquatch-4.3.ebuild 1291 SHA256 ee021286e6205bff18b68110f8afc412cc23fc858858f6120278dbeb42ace326 SHA512 6bab6907efdbc6edbf68f63e981c5561248a39c285239446c27440fb8a0bb680f719b3cbc6f042ff000df7147542d88ff83e1352f671552d87a52da220e4e31f WHIRLPOOL a1c8e462c472c1315a482d6846a78bad60ece8403cf0a0b4f86de5d1d68184887e105b62bc645fa2d101dcc4c7f549c938df5c3498247cbd1733a4af29477de2
24
25 diff --git a/app-arch/sasquatch/sasquatch-9999.ebuild b/app-arch/sasquatch/sasquatch-0.0.20150425.ebuild
26 similarity index 91%
27 rename from app-arch/sasquatch/sasquatch-9999.ebuild
28 rename to app-arch/sasquatch/sasquatch-0.0.20150425.ebuild
29 index ef05543..c6ecc72 100644
30 --- a/app-arch/sasquatch/sasquatch-9999.ebuild
31 +++ b/app-arch/sasquatch/sasquatch-0.0.20150425.ebuild
32 @@ -10,6 +10,7 @@ DESCRIPTION="A modified unsquashfs utility that attempts to support as many hack
33 HOMEPAGE="https://github.com/devttys0/sasquatch"
34 SRC_URI=""
35 EGIT_REPO_URI="https://github.com/devttys0/sasquatch.git"
36 +EGIT_COMMIT="e4ca65b176c5fe6f3ed4efb001bab0b0ca334836"
37
38 LICENSE=""
39 SLOT="0"
40
41 diff --git a/app-arch/sasquatch/sasquatch-4.3.ebuild b/app-arch/sasquatch/sasquatch-4.3.ebuild
42 new file mode 100644
43 index 0000000..f6d2977
44 --- /dev/null
45 +++ b/app-arch/sasquatch/sasquatch-4.3.ebuild
46 @@ -0,0 +1,62 @@
47 +# Copyright 1999-2015 Gentoo Foundation
48 +# Distributed under the terms of the GNU General Public License v2
49 +# $Id$
50 +
51 +EAPI=5
52 +inherit eutils toolchain-funcs git-r3
53 +
54 +DESCRIPTION="Tool for creating compressed filesystem type squashfs"
55 +HOMEPAGE="http://squashfs.sourceforge.net"
56 +SRC_URI="mirror://sourceforge/squashfs/squashfs${PV}.tar.gz"
57 +EGIT_REPO_URI="https://github.com/devttys0/sasquatch/"
58 +
59 +LICENSE="GPL-2"
60 +SLOT="0"
61 +KEYWORDS=""
62 +IUSE="+xz lzma lz4 lzo xattr"
63 +
64 +RDEPEND="
65 + sys-libs/zlib
66 + !xz? ( !lzo? ( sys-libs/zlib ) )
67 + lz4? ( app-arch/lz4 )
68 + lzma? ( app-arch/xz-utils )
69 + lzo? ( dev-libs/lzo )
70 + xattr? ( sys-apps/attr )
71 + xz? ( app-arch/xz-utils )
72 +"
73 +DEPEND="${RDEPEND}"
74 +
75 +S="${WORKDIR}"
76 +MY_S="${S}/squashfs${PV}/${PN}"
77 +
78 +src_unpack() {
79 + git-r3_src_unpack
80 + default_src_unpack
81 +}
82 +
83 +src_prepare() {
84 + cd ${MY_S}
85 + epatch "${S}/${P}/patches/patch0.txt"
86 +}
87 +
88 +src_configure() {
89 + # set up make command line variables in EMAKE_SQUASHFS_CONF
90 + EMAKE_SQUASHFS_CONF=(
91 + $(usex lzma LZMA_XZ_SUPPORT=1 LZMA_XS_SUPPORT=0)
92 + $(usex lzo LZO_SUPPORT=1 LZO_SUPPORT=0)
93 + $(usex lz4 LZ4_SUPPORT=1 LZ4_SUPPORT=0)
94 + $(usex xattr XATTR_SUPPORT=1 XATTR_SUPPORT=0)
95 + $(usex xz XZ_SUPPORT=1 XZ_SUPPORT=0)
96 + )
97 +
98 + tc-export CC
99 +}
100 +
101 +src_compile() {
102 + emake ${EMAKE_SQUASHFS_CONF[@]}
103 +}
104 +
105 +src_install() {
106 + dobin ${PN}
107 + dodoc "${S}/README"
108 +}