Gentoo Archives: gentoo-commits

From: Martin Mokrejs <mmokrejs@×××××××××××××××.cz>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/libmaus2/
Date: Mon, 30 Dec 2019 15:20:42
Message-Id: 1577719232.08a272766f1feb9206762a4c51839c55a9c7637d.mmokrejs@gentoo
1 commit: 08a272766f1feb9206762a4c51839c55a9c7637d
2 Author: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
3 AuthorDate: Mon Dec 30 15:20:32 2019 +0000
4 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
5 CommitDate: Mon Dec 30 15:20:32 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=08a27276
7
8 sci-libs/libmaus2: version bump to 2.0.689
9
10 Package-Manager: Portage-2.3.75, Repoman-2.3.17
11 Signed-off-by: Martin Mokrejs <mmokrejs <AT> fold.natur.cuni.cz>
12
13 sci-libs/libmaus2/libmaus2-2.0.689.ebuild | 45 +++++++++++++++++++++++++++++++
14 1 file changed, 45 insertions(+)
15
16 diff --git a/sci-libs/libmaus2/libmaus2-2.0.689.ebuild b/sci-libs/libmaus2/libmaus2-2.0.689.ebuild
17 new file mode 100644
18 index 000000000..50b82d5aa
19 --- /dev/null
20 +++ b/sci-libs/libmaus2/libmaus2-2.0.689.ebuild
21 @@ -0,0 +1,45 @@
22 +# Copyright 2019 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +inherit autotools
28 +
29 +release_data="20191120141844"
30 +DESCRIPTION="Library for biobambam2"
31 +HOMEPAGE="https://github.com/gt1/libmaus"
32 +SRC_URI="https://gitlab.com/german.tischler/${PN}/-/archive/${PV}-release-${release_data}/${P}-release-${release_data}.tar.gz -> ${P}.tar.gz"
33 +
34 +LICENSE="BSD-2 GPL-2 GPL-3 MIT ZLIB" # BUG: incomplete list of licenses, see AUTHORS
35 +SLOT="0"
36 +KEYWORDS="~amd64 ~x86"
37 +IUSE="cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2"
38 +
39 +DEPEND="
40 + !sci-libs/libmaus
41 + >=sci-libs/io_lib-1.14.11
42 + app-arch/snappy
43 + sci-libs/fftw
44 + sci-libs/hdf5
45 + net-libs/gnutls
46 + dev-libs/nettle"
47 +# --with-daligner
48 +# --with-irods
49 +# old github.com release tarballs
50 +# S="${WORKDIR}"/libmaus2-master-27828cd78121d5e4b19c263c5527e462360f5901
51 +# current gitlab.com release tarballs
52 +S="${WORKDIR}/${P}-release-${release_data}"
53 +
54 +src_configure(){
55 + local CONFIG_OPTS
56 + use cpu_flags_x86_ssse3 && CONFIG_OPTS+=( --enable-ssse3 )
57 + ( use cpu_flags_x86_sse4_1 || use cpu_flags_x86_sse4_2 ) && CONFIG_OPTS+=( --enable-sse4 )
58 + econf --with-snappy --with-io_lib $CONFIG_OPTS \
59 + --with-lzma --with-gnutls --with-nettle --with-hdf5 --with-gmp --with-fftw
60 +}
61 +
62 +pkg_postinst(){
63 + einfo "The io_lib, snappy dependencies are not strictly needed"
64 + einfo "but were forced for optimal libmaus2 performance."
65 + einfo "igzip is only used if gzip level is set to 11."
66 +}