1 |
commit: 0434ac4d8411a5efd26cfee76642e182efd0f2c6 |
2 |
Author: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
3 |
AuthorDate: Tue Jan 22 14:10:29 2019 +0000 |
4 |
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
5 |
CommitDate: Tue Jan 22 14:10:29 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=0434ac4d |
7 |
|
8 |
sci-libs/io_lib: add libdeflate to USE flags and require it |
9 |
|
10 |
Package-Manager: Portage-2.3.56, Repoman-2.3.12 |
11 |
Signed-off-by: Martin Mokrejs <mmokrejs <AT> fold.natur.cuni.cz> |
12 |
|
13 |
sci-libs/io_lib/io_lib-1.14.11.ebuild | 4 ++-- |
14 |
sci-libs/io_lib/metadata.xml | 5 ++++- |
15 |
2 files changed, 6 insertions(+), 3 deletions(-) |
16 |
|
17 |
diff --git a/sci-libs/io_lib/io_lib-1.14.11.ebuild b/sci-libs/io_lib/io_lib-1.14.11.ebuild |
18 |
index 73263df65..0d8fcc5ca 100644 |
19 |
--- a/sci-libs/io_lib/io_lib-1.14.11.ebuild |
20 |
+++ b/sci-libs/io_lib/io_lib-1.14.11.ebuild |
21 |
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/jkbonfield/io_lib/archive/${PN}-${MY_PV}.tar.gz -> $ |
22 |
LICENSE="BSD" |
23 |
SLOT="0" |
24 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
25 |
-IUSE="+bzip2 curl +lzma static-libs" # maybe introduce libdeflate USE flag? |
26 |
+IUSE="+bzip2 curl +libdeflate lzma static-libs" |
27 |
|
28 |
S="${WORKDIR}"/"${PN}-${PN}-${MY_PV}" |
29 |
|
30 |
@@ -36,7 +36,7 @@ BUILD_DIR="${S}" |
31 |
# versions 1.8.11 and 1.8.12 will work with the BioPerl Staden extensions.) |
32 |
#DEPEND="!sci-biology/bioperl" |
33 |
DEPEND=" |
34 |
- app-arch/libdeflate |
35 |
+ libdeflate? ( app-arch/libdeflate ) |
36 |
lzma? ( app-arch/xz-utils:= app-arch/lzma ) |
37 |
bzip2? ( app-arch/bzip2 ) |
38 |
curl? ( net-misc/curl ) |
39 |
|
40 |
diff --git a/sci-libs/io_lib/metadata.xml b/sci-libs/io_lib/metadata.xml |
41 |
index f2d955844..9d56a9c0f 100644 |
42 |
--- a/sci-libs/io_lib/metadata.xml |
43 |
+++ b/sci-libs/io_lib/metadata.xml |
44 |
@@ -10,7 +10,10 @@ io_lib is a library of file reading and writing code to provide a |
45 |
general purpose trace file (and Experiment File) reading interface. The |
46 |
programmer simply calls the (eg) read_reading to create a "Read" C structure |
47 |
with the data loaded into memory. |
48 |
-</longdescription> |
49 |
+ </longdescription> |
50 |
+ <use> |
51 |
+ <flag name="libdeflate">Use libdeflate for faster decompression than zlib</flag> |
52 |
+ </use> |
53 |
<upstream> |
54 |
<remote-id type="sourceforge">staden</remote-id> |
55 |
</upstream> |