1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit meson multilib-minimal
8 DESCRIPTION="The Oil Runtime Compiler, a just-in-time compiler for array operations"
9 HOMEPAGE="https://gstreamer.freedesktop.org/"
10 SRC_URI="https://gstreamer.freedesktop.org/src/${PN}/${P}.tar.xz"
14 KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
15 RESTRICT="!test? ( test )"
16 IUSE="gtk-doc static-libs test"
23 app-text/docbook-xml-dtd:4.1.2
24 app-text/docbook-xml-dtd:4.3 )
27 multilib_src_configure() {
28 # FIXME: handle backends per arch? What about cross-compiling for the other arches?
30 -Ddefault_library=$(usex static-libs both shared)
32 -Dorc-test=enabled # FIXME: always installs static library, bug 645232
35 $(meson_feature gtk-doc gtk_doc)
36 $(meson_feature test tests)
37 -Dtools=enabled # requires orc-test
42 multilib_src_compile() {
50 multilib_src_install() {