aboutsummaryrefslogtreecommitdiff
blob: 10944fd2c81dbe323386f33609ad19cffd0e2569 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="A gstreamer library for the LIGO Analysis Language"
HOMEPAGE="https://lscsoft.docs.ligo.org/gstlal/"
SRC_URI="http://software.ligo.org/lscsoft/source/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc +fast-install libtool-lock +openmp static-libs"  #  gtk-doc-html gtk-doc-pdf gtk-doc introspection +massmodel

RDEPEND=">=dev-lang/python-3:*
		 dev-libs/glib
		 dev-libs/openssl
		 media-libs/gst-plugins-base
		 media-libs/gstreamer
		 sci-libs/fftw
		 sci-libs/gsl
		 sci-libs/gstlal
		 sci-libs/hdf5
		 sci-libs/lalburst
		 sci-libs/lalframe
		 sci-libs/lalinspiral
		 sci-libs/lalmetaio
		 sci-libs/lalsimulation
		 sci-libs/lal
		 sci-libs/ldas-tools-al
		 sci-libs/ldas-tools-framecpp
		 sci-libs/metaio
		 sys-libs/zlib
"
DEPEND=${RDEPEND}

src_configure() {
	econf \
		$(use_enable fast-install) \
		$(use_enable doc gtk-doc-html) \
		$(use_enable libtool-lock) \
		$(use_enable openmp) \
		$(use_enable static-libs static) \
		--disable-gtk-doc-html \
		--disable-gtk-doc-pdf \
		--disable-massmodel
		# $(use_enable massmodel) \  # Requires lnP_template_signal_BBH_logm_reweighted_mchirp.hdf5
		# $(use_enable introspection) \
		# gtk-doc-html gtk-doc-pdf
}

src_install() {
	emake DESTDIR="${D}${DESTDIR}" install
}