Gentoo Archives: gentoo-commits

From: Guilherme Amadio <amadio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/lz4/
Date: Fri, 16 Aug 2019 14:35:45
Message-Id: 1565965065.656ad70ccd8522e73f77e7b0435a439adc3025f0.amadio@gentoo
1 commit: 656ad70ccd8522e73f77e7b0435a439adc3025f0
2 Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 31 11:08:18 2019 +0000
4 Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 16 14:17:45 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=656ad70c
7
8 app-arch/lz4: version bump to 1.9.1
9
10 Closes: https://github.com/gentoo/gentoo/pull/12723
11
12 Package-Manager: Portage-2.3.67, Repoman-2.3.13
13 Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
14
15 app-arch/lz4/Manifest | 1 +
16 app-arch/lz4/lz4-1.9.1.ebuild | 33 +++++++++++++++++++++++++++++++++
17 2 files changed, 34 insertions(+)
18
19 diff --git a/app-arch/lz4/Manifest b/app-arch/lz4/Manifest
20 index 0ec9ca3d75c..4bb1382050d 100644
21 --- a/app-arch/lz4/Manifest
22 +++ b/app-arch/lz4/Manifest
23 @@ -1 +1,2 @@
24 DIST lz4-1.8.3.tar.gz 327897 BLAKE2B e2be80be14c67cf1a07cc6a2e6f6777a87abdd15499b9c32b8096e09284aea19620adf930e28454ce105e325cff684d2625e0a38211705f3c105a80b72f56be5 SHA512 5d284f75a0c4ad11ebc4abb4394d98c863436da0718d62f648ef2e2cda8e5adf47617a4b43594375f7b0b673541a9ccfaf73880a55fd240986594558214dbf9f
25 +DIST lz4-1.9.1.tar.gz 285336 BLAKE2B 50dfad2e92028a1ccfe186efb5dbe24e4641e104da656990ba5138a84d29fbfea26d96c2d7f64f8d6a686dc98b4890990a280d4d86e321b04f467b65b6c61e1f SHA512 536cdeb6dd73b4769cf9501ad312b004ab01699758534b47ca2eddbc815fd374a3caba40cde36f73a7a70e134065836b733e2b0c023c31740b877ef9317ccf3e
26
27 diff --git a/app-arch/lz4/lz4-1.9.1.ebuild b/app-arch/lz4/lz4-1.9.1.ebuild
28 new file mode 100644
29 index 00000000000..f68caa90b67
30 --- /dev/null
31 +++ b/app-arch/lz4/lz4-1.9.1.ebuild
32 @@ -0,0 +1,33 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +inherit cmake-multilib
39 +
40 +if [[ ${PV} == 9999 ]]; then
41 + inherit git-r3
42 + EGIT_REPO_URI="https://github.com/lz4/lz4.git"
43 + EGIT_BRANCH=dev
44 +else
45 + SRC_URI="https://github.com/Cyan4973/lz4/archive/v${PV}.tar.gz -> ${P}.tar.gz"
46 + 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"
47 +fi
48 +
49 +DESCRIPTION="Extremely Fast Compression algorithm"
50 +HOMEPAGE="https://github.com/lz4/lz4"
51 +
52 +LICENSE="BSD-2 GPL-2"
53 +# https://abi-laboratory.pro/tracker/timeline/lz4/
54 +SLOT="0/r132"
55 +IUSE="static-libs"
56 +
57 +CMAKE_USE_DIR=${S}/contrib/cmake_unofficial
58 +
59 +multilib_src_configure() {
60 + local mycmakeargs=(
61 + -DBUILD_STATIC_LIBS=$(usex static-libs)
62 + )
63 +
64 + cmake-utils_src_configure
65 +}