summaryrefslogtreecommitdiff
blob: 8dbb00bbf0713e77eaef7aa5c2a8fdd065e7ab25 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/schroedinger/schroedinger-0.3.0.0.ebuild,v 1.2 2007/02/01 13:54:30 beandog Exp $

DESCRIPTION="C-based libraries and GStreamer plugins for the Dirac video codec"
HOMEPAGE="http://schrodinger.sourceforge.net/"
SRC_URI="mirror://sourceforge/schrodinger/${P}.tar.gz"

LICENSE="|| ( MPL-1.1 LGPL-2.1 GPL-2 MIT )"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="debug profile examples doc"

RDEPEND=">=dev-libs/liboil-0.3.10
	doc? ( dev-util/gtk-doc )
	>=media-libs/gstreamer-0.10
	>=media-libs/gst-plugins-base-0.10
	profile? ( dev-util/valgrind )"
DEPEND="${RDEPEND}
	dev-util/pkgconfig"

src_compile() {
	econf \
		$(use_enable debug) \
		$(use_enable profile profiling) \
		$(use_enable profile valgrind) \
		$(use_enable profile gcov) \
		$(use_enable examples) \
		|| die "econf failed"
	emake || die "emake failed"
}

src_install() {
	make install DESTDIR="${D}" || die "make install failed"
	dodoc ChangeLog
}