Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/lz4/
Date: Thu, 01 Mar 2018 15:09:59
Message-Id: 1519916981.fc8cf77088ff9402df87713f487c58f2d9d2600e.mgorny@gentoo
1 commit: fc8cf77088ff9402df87713f487c58f2d9d2600e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 1 14:43:17 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 1 15:09:41 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc8cf770
7
8 app-arch/lz4: Bump to 1.8.1.2
9
10 app-arch/lz4/Manifest | 1 +
11 app-arch/lz4/lz4-1.8.1.2.ebuild | 37 +++++++++++++++++++++++++++++++++++++
12 2 files changed, 38 insertions(+)
13
14 diff --git a/app-arch/lz4/Manifest b/app-arch/lz4/Manifest
15 index cf5a2b31602..86debf38212 100644
16 --- a/app-arch/lz4/Manifest
17 +++ b/app-arch/lz4/Manifest
18 @@ -1,3 +1,4 @@
19 DIST lz4-1.7.5.tar.gz 208019 BLAKE2B a3d79d622eb0be2447cc6b0459bd81ae22b44ebe536ebd34b1c394bf1ff560c9b53e3f9203d5c94d046101a48d9b1ea7db74c39875d0a67b3a5f71d9633aa3b7 SHA512 b4e5b17fe06805e676608e636a45f0b480b79a02c6b7ffce84dc4d607861cb2652b2852493ab9d9249e7caeae6f00b6834801fdc39f58d901cbc1c7347915295
20 DIST lz4-1.8.0.tar.gz 222840 BLAKE2B 0b33f920f59a5ec9576051baa9ba887b320d424f8f64e1a752124371797d3f8bf2dbf13ee2e7268ef363d70697b8358e7ad627489c6843c61bdba004df80c5ec SHA512 aea46d4a900a3ede7dd7b498ee938ecd98397d3277c5b3a85b4236a44777cba85cd68a2f32c993b872afda96c5dafe0cb3dd391101fe8181e17c9f48884c1535
21 +DIST lz4-1.8.1.2.tar.gz 228640 BLAKE2B e5e7176dcce5319e2dcb1f6d69c47749976fd7e8c53c2379bdd0ef4c6f60bf426b2b58d606407f69d0b91e6835c9740265299107d11554e7a13963cdc855e8e5 SHA512 f4ed450bc05477cc6c2b42e6fe1fbb1fb0907f1d05b68b1d69d975b555ddb385550f204258e6d91642e14ce373815141dc218cda03b711793935d5458bc45c7f
22 DIST lz4-r131.tar.gz 133784 BLAKE2B f072d1f97ac6f804140c3896dfa95c16eb3c2c2208cfeb35a07535bb345fa100e4169ea91b2aa05655fb61f6f2d64a7c25444778b99841d3e3d0f09b10f570d8 SHA512 60bd95d529691ffee2c43f0d8a62484c3cff74c0154094f073192606806ac8182dced61e0534ffa7e0ccf5f18e9a8cfd2738883a83814c0711a6d7f1d1b252e5
23
24 diff --git a/app-arch/lz4/lz4-1.8.1.2.ebuild b/app-arch/lz4/lz4-1.8.1.2.ebuild
25 new file mode 100644
26 index 00000000000..42e9ba2e839
27 --- /dev/null
28 +++ b/app-arch/lz4/lz4-1.8.1.2.ebuild
29 @@ -0,0 +1,37 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +
35 +inherit cmake-multilib
36 +
37 +if [[ ${PV} == 9999 ]]; then
38 + inherit git-r3
39 + EGIT_REPO_URI="https://github.com/lz4/lz4.git"
40 + EGIT_BRANCH=dev
41 +else
42 + SRC_URI="https://github.com/Cyan4973/lz4/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~x64-macos"
44 +fi
45 +
46 +DESCRIPTION="Extremely Fast Compression algorithm"
47 +HOMEPAGE="https://github.com/lz4/lz4"
48 +
49 +LICENSE="BSD-2 GPL-2"
50 +# https://abi-laboratory.pro/tracker/timeline/lz4/
51 +# 1.7.5->1.8.0 has some minor changes; the only really incompatible
52 +# would be removing 'const' from LZ4F_freeDecompressionContext() arg
53 +# however, it is extremely unlikely that this 'const' would actually
54 +# be relied on
55 +SLOT="0/r131"
56 +IUSE="static-libs"
57 +
58 +CMAKE_USE_DIR=${S}/contrib/cmake_unofficial
59 +
60 +multilib_src_configure() {
61 + local mycmakeargs=(
62 + -DBUILD_STATIC_LIBS=$(usex static-libs)
63 + )
64 +
65 + cmake-utils_src_configure
66 +}