1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit gnome2 virtualx
8 DESCRIPTION="C++ interface for GStreamer"
9 HOMEPAGE="https://gstreamer.freedesktop.org/bindings/cplusplus.html"
13 KEYWORDS="amd64 ~ppc x86"
14 IUSE="doc examples test"
15 RESTRICT="!test? ( test )"
18 >=media-libs/gstreamer-${PV}:1.0
19 >=media-libs/gst-plugins-base-${PV}:1.0
20 >=dev-cpp/glibmm-2.47.6:2
21 >=dev-cpp/libxmlpp-2.14:2.6
22 >=dev-libs/libsigc++-2:2
33 >=media-libs/gst-plugins-base-${PV}:1.0[X,ogg,theora,vorbis]
34 >=media-libs/gst-plugins-good-${PV}:1.0
35 >=media-plugins/gst-plugins-jpeg-${PV}:1.0 )
40 # Installs reference docs into /usr/share/doc/gstreamermm-1.0/
41 # but that's okay, because the rest of dev-cpp/*mm stuff does the same
44 if ! use examples; then
45 # don't waste time building examples
46 sed -e 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' \
47 -i Makefile.am Makefile.in || die
50 sed -e 's/ -Werror/ /' -i tests/Makefile.am tests/Makefile.in || die
56 gnome2_src_configure \
57 $(use_enable doc documentation) \
58 $(use_enable test unittests)
62 # running tests in parallel fails