blob: 0fee430f6052fa3668894f79053ad87ef757da0d (
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
55
56
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gstreamermm/gstreamermm-0.10.8.ebuild,v 1.2 2011/03/21 01:35:33 nirbheek Exp $
EAPI="3"
inherit autotools gnome2 eutils
DESCRIPTION="C++ interface for GStreamer"
HOMEPAGE="http://gstreamer.freedesktop.org/bindings/cplusplus.html"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="test"
RDEPEND="
>=media-libs/gstreamer-0.10.30:0.10
>=media-libs/gst-plugins-base-0.10.30:0.10
>=dev-cpp/glibmm-2.21.1:2
>=dev-cpp/libxmlpp-2.14:2.6
>=dev-libs/libsigc++-2:2
"
DEPEND="${RDEPEND}
dev-util/pkgconfig
>=dev-cpp/mm-common-0.9.3
test? (
media-libs/gst-plugins-good:0.10
media-plugins/gst-plugins-vorbis:0.10
media-plugins/gst-plugins-x:0.10 )
"
src_prepare() {
# doc-install.pl was removed from glibmm, and is provided by mm-common now
# This should not be needed if the tarball is generated with mm-common-0.9.3
if has_version '>=dev-cpp/glibmm-2.27.97'; then
mm-common-prepare --copy --force
eautoreconf
fi
gnome2_src_prepare
}
src_test() {
# explicitly allow parallel make of tests: they are not built in
# src_compile() and indeed we'd slow down tremendously to run this
# serially.
emake check || die "tests failed"
}
src_install() {
emake DESTDIR="${D}" libdocdir=/usr/share/doc/${PF} install || die "install failed"
dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed"
find "${D}" -name '*.la' -delete || die "removal of *.la files failed"
}
|