Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/matio/
Date: Tue, 04 May 2021 22:06:33
Message-Id: 1620165980.ebe0c3520fbbeca0405b4e99050f28e32dad0949.sam@gentoo
1 commit: ebe0c3520fbbeca0405b4e99050f28e32dad0949
2 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
3 AuthorDate: Tue May 4 12:04:54 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue May 4 22:06:20 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebe0c352
7
8 sci-libs/matio: Bump to 1.5.21
9
10 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
11 Closes: https://github.com/gentoo/gentoo/pull/20684
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 sci-libs/matio/Manifest | 1 +
15 sci-libs/matio/matio-1.5.21.ebuild | 46 ++++++++++++++++++++++++++++++++++++++
16 2 files changed, 47 insertions(+)
17
18 diff --git a/sci-libs/matio/Manifest b/sci-libs/matio/Manifest
19 index 28cc71e850f..88be2ff82c9 100644
20 --- a/sci-libs/matio/Manifest
21 +++ b/sci-libs/matio/Manifest
22 @@ -1 +1,2 @@
23 DIST matio-1.5.19.tar.gz 10108869 BLAKE2B db641bda8d68e203af765aa83ecf661e011995e242c4f91aacb4bcc8ba2b545c36a3eec3f4954b3d7ecc286e630acd15b34ec48b372063bfb8b892259fc49ec7 SHA512 c087944a7d87d78a7de662d7e19f5f81c55858cf5bf315c28d5a0f7544555b0816045e20bb0c83752eb3d54b589d9237a27cf3de98e3ebefcc7ea0af9311740e
24 +DIST matio-1.5.21.tar.gz 10110430 BLAKE2B 1c43d44e69b28eacd9cc672a393df6a55c4ea0e06334eace9058b45bb0bd1582d43cafd30ad121bad33ad29dda52d5259be8c38f6cbacdb05a47da3644dfb984 SHA512 b00bcad807e6a7e10afa656eb77a0e3e9fb08d9cecc3e94ba41ef91ce60367d6686e6d387a874bbb83eb2f895d4a97caac554a70e7f5f6f5cb750052702d411c
25
26 diff --git a/sci-libs/matio/matio-1.5.21.ebuild b/sci-libs/matio/matio-1.5.21.ebuild
27 new file mode 100644
28 index 00000000000..adb63f7b65e
29 --- /dev/null
30 +++ b/sci-libs/matio/matio-1.5.21.ebuild
31 @@ -0,0 +1,46 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +DESCRIPTION="Library for reading and writing matlab files"
38 +HOMEPAGE="https://sourceforge.net/projects/matio/"
39 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
40 +
41 +LICENSE="BSD-2"
42 +SLOT="0/11" # subslot = soname version
43 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
44 +IUSE="doc examples hdf5 sparse"
45 +
46 +RDEPEND="
47 + sys-libs/zlib
48 + hdf5? ( sci-libs/hdf5:= )"
49 +DEPEND="${RDEPEND}"
50 +BDEPEND="doc? ( virtual/latex-base )"
51 +
52 +src_configure() {
53 + econf \
54 + --disable-static \
55 + $(use_enable hdf5 mat73) \
56 + $(use_enable sparse extended-sparse)
57 +}
58 +
59 +src_compile() {
60 + default
61 + use doc && emake -C documentation pdf
62 +}
63 +
64 +src_install() {
65 + default
66 + use doc && dodoc documentation/matio_user_guide.pdf
67 +
68 + if use examples; then
69 + docinto examples
70 + dodoc test/test*.c
71 + insinto /usr/share/${PN}
72 + doins share/test*
73 + fi
74 +
75 + # no static archives
76 + find "${ED}" -name "*.la" -delete || die
77 +}