Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 312827
Collapse All | Expand All

(-)dirac-1.0.2.ebuild (-15 / +18 lines)
Lines 1-27 Link Here
1
# Copyright 1999-2009 Gentoo Foundation
1
# Copyright 1999-2010 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/media-video/dirac/dirac-1.0.2.ebuild,v 1.8 2009/05/30 09:17:32 ulm Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-video/dirac/dirac-1.0.2.ebuild,v 1.8 2009/05/30 09:17:32 ulm Exp $
4
4
5
WANT_AUTOCONF="latest"
5
WANT_AUTOCONF="latest"
6
WANT_AUTOMAKE="latest"
6
WANT_AUTOMAKE="latest"
7
7
8
inherit eutils autotools
8
inherit autotools eutils
9
9
10
DESCRIPTION="Open Source video codec"
10
DESCRIPTION="Open Source video codec"
11
HOMEPAGE="http://dirac.sourceforge.net/"
11
HOMEPAGE="http://diracvideo.org/"
12
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
12
SRC_URI="http://diracvideo.org/download/${PN}-research/${P}.tar.gz"
13
13
14
LICENSE="MPL-1.1"
14
LICENSE="MPL-1.1"
15
SLOT="0"
15
SLOT="0"
16
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
16
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
17
IUSE="mmx debug doc"
17
IUSE="debug doc mmx test"
18
18
19
DEPEND="doc? ( app-doc/doxygen
19
DEPEND="doc? ( app-doc/doxygen
20
	virtual/latex-base
20
		virtual/latex-base
21
	media-gfx/graphviz
21
		media-gfx/graphviz
22
	|| ( app-text/dvipdfm
22
		|| ( app-text/dvipdfm
23
		app-text/ptex )
23
			app-text/ptex )
24
		)"
24
	)
25
	test? ( dev-lang/perl
26
		>=dev-util/cppunit-1.12.1
27
	)"
25
RDEPEND=""
28
RDEPEND=""
26
29
27
src_unpack() {
30
src_unpack() {
Lines 35-43 Link Here
35
38
36
src_compile() {
39
src_compile() {
37
	econf \
40
	econf \
38
		$(use_enable mmx) \
39
		$(use_enable debug) \
41
		$(use_enable debug) \
40
		$(use_enable doc) \
42
		$(use_enable doc) \
43
		$(use_enable mmx) \
41
		|| die "econf failed"
44
		|| die "econf failed"
42
45
43
	VARTEXFONTS="${T}/fonts" emake || die "emake failed"
46
	VARTEXFONTS="${T}/fonts" emake || die "emake failed"
Lines 45-55 Link Here
45
48
46
src_install() {
49
src_install() {
47
	emake DESTDIR="${D}" \
50
	emake DESTDIR="${D}" \
48
		htmldir="/usr/share/doc/${PF}/html" \
49
		latexdir="/usr/share/doc/${PF}/programmers" \
50
		algodir="/usr/share/doc/${PF}/algorithm" \
51
		algodir="/usr/share/doc/${PF}/algorithm" \
51
		faqdir="/usr/share/doc/${PF}" \
52
		faqdir="/usr/share/doc/${PF}" \
53
		htmldir="/usr/share/doc/${PF}/html" \
54
		latexdir="/usr/share/doc/${PF}/programmers" \
52
		install || die "emake install failed"
55
		install || die "emake install failed"
53
56
54
	dodoc README AUTHORS NEWS TODO ChangeLog
57
	dodoc AUTHORS ChangeLog NEWS README TODO
55
}
58
}

Return to bug 312827