aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Mokrejs <mmokrejs@fold.natur.cuni.cz>2019-01-22 15:10:29 +0100
committerMartin Mokrejs <mmokrejs@fold.natur.cuni.cz>2019-01-22 15:10:29 +0100
commit0434ac4d8411a5efd26cfee76642e182efd0f2c6 (patch)
treed218f89ccddca5e3e41c1aae2eeb11d22a317e59
parentapp-arch/libdeflate: make a patch to fix EPREFIX installations (diff)
downloadsci-0434ac4d8411a5efd26cfee76642e182efd0f2c6.tar.gz
sci-0434ac4d8411a5efd26cfee76642e182efd0f2c6.tar.bz2
sci-0434ac4d8411a5efd26cfee76642e182efd0f2c6.zip
sci-libs/io_lib: add libdeflate to USE flags and require it
Package-Manager: Portage-2.3.56, Repoman-2.3.12 Signed-off-by: Martin Mokrejs <mmokrejs@fold.natur.cuni.cz>
-rw-r--r--sci-libs/io_lib/io_lib-1.14.11.ebuild4
-rw-r--r--sci-libs/io_lib/metadata.xml5
2 files changed, 6 insertions, 3 deletions
diff --git a/sci-libs/io_lib/io_lib-1.14.11.ebuild b/sci-libs/io_lib/io_lib-1.14.11.ebuild
index 73263df65..0d8fcc5ca 100644
--- a/sci-libs/io_lib/io_lib-1.14.11.ebuild
+++ b/sci-libs/io_lib/io_lib-1.14.11.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/jkbonfield/io_lib/archive/${PN}-${MY_PV}.tar.gz -> $
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="+bzip2 curl +lzma static-libs" # maybe introduce libdeflate USE flag?
+IUSE="+bzip2 curl +libdeflate lzma static-libs"
S="${WORKDIR}"/"${PN}-${PN}-${MY_PV}"
@@ -36,7 +36,7 @@ BUILD_DIR="${S}"
# versions 1.8.11 and 1.8.12 will work with the BioPerl Staden extensions.)
#DEPEND="!sci-biology/bioperl"
DEPEND="
- app-arch/libdeflate
+ libdeflate? ( app-arch/libdeflate )
lzma? ( app-arch/xz-utils:= app-arch/lzma )
bzip2? ( app-arch/bzip2 )
curl? ( net-misc/curl )
diff --git a/sci-libs/io_lib/metadata.xml b/sci-libs/io_lib/metadata.xml
index f2d955844..9d56a9c0f 100644
--- a/sci-libs/io_lib/metadata.xml
+++ b/sci-libs/io_lib/metadata.xml
@@ -10,7 +10,10 @@ io_lib is a library of file reading and writing code to provide a
general purpose trace file (and Experiment File) reading interface. The
programmer simply calls the (eg) read_reading to create a "Read" C structure
with the data loaded into memory.
-</longdescription>
+ </longdescription>
+ <use>
+ <flag name="libdeflate">Use libdeflate for faster decompression than zlib</flag>
+ </use>
<upstream>
<remote-id type="sourceforge">staden</remote-id>
</upstream>