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: Wed, 21 Aug 2019 05:41:10
Message-Id: 1566366048.8a4e82fde6aa41a1e751122def759b45ad7c5ce8.mgorny@gentoo
1 commit: 8a4e82fde6aa41a1e751122def759b45ad7c5ce8
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 21 05:40:48 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 21 05:40:48 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a4e82fd
7
8 app-arch/lz4: Bump to 1.9.2
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 app-arch/lz4/Manifest | 1 +
13 app-arch/lz4/lz4-1.9.2.ebuild | 33 +++++++++++++++++++++++++++++++++
14 2 files changed, 34 insertions(+)
15
16 diff --git a/app-arch/lz4/Manifest b/app-arch/lz4/Manifest
17 index 4bb1382050d..4f386685433 100644
18 --- a/app-arch/lz4/Manifest
19 +++ b/app-arch/lz4/Manifest
20 @@ -1,2 +1,3 @@
21 DIST lz4-1.8.3.tar.gz 327897 BLAKE2B e2be80be14c67cf1a07cc6a2e6f6777a87abdd15499b9c32b8096e09284aea19620adf930e28454ce105e325cff684d2625e0a38211705f3c105a80b72f56be5 SHA512 5d284f75a0c4ad11ebc4abb4394d98c863436da0718d62f648ef2e2cda8e5adf47617a4b43594375f7b0b673541a9ccfaf73880a55fd240986594558214dbf9f
22 DIST lz4-1.9.1.tar.gz 285336 BLAKE2B 50dfad2e92028a1ccfe186efb5dbe24e4641e104da656990ba5138a84d29fbfea26d96c2d7f64f8d6a686dc98b4890990a280d4d86e321b04f467b65b6c61e1f SHA512 536cdeb6dd73b4769cf9501ad312b004ab01699758534b47ca2eddbc815fd374a3caba40cde36f73a7a70e134065836b733e2b0c023c31740b877ef9317ccf3e
23 +DIST lz4-1.9.2.tar.gz 305796 BLAKE2B 0021487bee8657bc825fdd2b98a6dc8a6d10be3240fe0bebf6563e9c855a15bf5440a02d5cd6ee1f1e8502743348bcec1e866d3287b07e623887e9eb9da35eee SHA512 ae714c61ec8e33ed91359b63f2896cfa102d66b730dce112b74696ec5850e59d88bd5527173e01e354a70fbe8f036557a47c767ee0766bc5f9c257978116c3c1
24
25 diff --git a/app-arch/lz4/lz4-1.9.2.ebuild b/app-arch/lz4/lz4-1.9.2.ebuild
26 new file mode 100644
27 index 00000000000..f68caa90b67
28 --- /dev/null
29 +++ b/app-arch/lz4/lz4-1.9.2.ebuild
30 @@ -0,0 +1,33 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit cmake-multilib
37 +
38 +if [[ ${PV} == 9999 ]]; then
39 + inherit git-r3
40 + EGIT_REPO_URI="https://github.com/lz4/lz4.git"
41 + EGIT_BRANCH=dev
42 +else
43 + SRC_URI="https://github.com/Cyan4973/lz4/archive/v${PV}.tar.gz -> ${P}.tar.gz"
44 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
45 +fi
46 +
47 +DESCRIPTION="Extremely Fast Compression algorithm"
48 +HOMEPAGE="https://github.com/lz4/lz4"
49 +
50 +LICENSE="BSD-2 GPL-2"
51 +# https://abi-laboratory.pro/tracker/timeline/lz4/
52 +SLOT="0/r132"
53 +IUSE="static-libs"
54 +
55 +CMAKE_USE_DIR=${S}/contrib/cmake_unofficial
56 +
57 +multilib_src_configure() {
58 + local mycmakeargs=(
59 + -DBUILD_STATIC_LIBS=$(usex static-libs)
60 + )
61 +
62 + cmake-utils_src_configure
63 +}