From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/dcm2niix/
Date: Fri, 11 Jun 2021 14:52:05 +0000 (UTC) [thread overview]
Message-ID: <1623423071.699ded99a805c8d2c23a144efeeacfeb3883b7bd.andrewammerlaan@gentoo> (raw)
commit: 699ded99a805c8d2c23a144efeeacfeb3883b7bd
Author: Lucas Mitrak <lucas <AT> lucasmitrak <DOT> com>
AuthorDate: Fri Jun 11 14:07:28 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Jun 11 14:51:11 2021 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=699ded99
sci-biology/dcm2niix: add version 1.0.20210317
* sci-biology/dcm2niix version 1.0.20210317 bump to latest
This commit was tested in a docker image with dev-util/ebuildtester.
This commit was written, tested, and submitted by Lucas Mitrak.
Signed-off-by: Lucas Mitrak <lucas <AT> lucasmitrak.com>
Closes: https://github.com/gentoo/sci/pull/1093
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-biology/dcm2niix/dcm2niix-1.0.20210317.ebuild | 41 +++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/sci-biology/dcm2niix/dcm2niix-1.0.20210317.ebuild b/sci-biology/dcm2niix/dcm2niix-1.0.20210317.ebuild
new file mode 100644
index 000000000..5ae682ea5
--- /dev/null
+++ b/sci-biology/dcm2niix/dcm2niix-1.0.20210317.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake optfeature
+
+DESCRIPTION="DICOM to NIfTI converter"
+HOMEPAGE="https://github.com/rordenlab/dcm2niix"
+SRC_URI="https://github.com/rordenlab/dcm2niix/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~amd64 ~x86"
+IUSE="static system-jpeg +jpeg-ls jpeg2k"
+
+DEPEND="
+ system-jpeg? ( media-libs/libjpeg-turbo )
+ jpeg2k? ( media-libs/openjpeg )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-disable_find_git.patch
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DUSE_STATIC_RUNTIME=$(usex static)
+ -DUSE_TURBOJPEG=$(usex system-jpeg)
+ -DUSE_JPEGLS=$(usex jpeg-ls)
+ -DUSE_OPENJPEG=$(usex jpeg2k)
+ )
+
+ cmake_src_configure
+}
+
+pkg_postinst() {
+ optfeature "parallel gzip support" app-arch/pigz
+}
next reply other threads:[~2021-06-11 14:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-11 14:52 Andrew Ammerlaan [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-06-11 12:30 [gentoo-commits] proj/sci:master commit in: sci-biology/dcm2niix/ Andrew Ammerlaan
2021-01-24 14:12 Andrew Ammerlaan
2020-04-01 12:04 Horea Christian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1623423071.699ded99a805c8d2c23a144efeeacfeb3883b7bd.andrewammerlaan@gentoo \
--to=andrewammerlaan@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox