/[gentoo-x86]/media-video/dirac/dirac-1.0.2.ebuild
Gentoo

Contents of /media-video/dirac/dirac-1.0.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Thu Jan 29 19:15:56 2015 UTC (3 years, 5 months ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +4 -4 lines
Switch to CPU_FLAGS_X86.

(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

1 # Copyright 1999-2015 Gentoo Foundation
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.12 2012/05/15 13:07:41 aballier Exp $
4
5 EAPI=4
6 inherit autotools eutils
7
8 DESCRIPTION="Open Source video codec"
9 HOMEPAGE="http://dirac.sourceforge.net/"
10 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
11
12 LICENSE="MPL-1.1"
13 SLOT="0"
14 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
15 IUSE="debug doc cpu_flags_x86_mmx static-libs"
16
17 RDEPEND=""
18 DEPEND="
19 doc? (
20 app-doc/doxygen
21 virtual/latex-base
22 media-gfx/graphviz
23 app-text/dvipdfm
24 )"
25
26 src_prepare() {
27 epatch "${FILESDIR}"/${PN}-0.5.2-doc.patch
28 AT_M4DIR="m4" eautoreconf
29 }
30
31 src_configure() {
32 export VARTEXFONTS="${T}/fonts"
33
34 econf \
35 $(use_enable static-libs static) \
36 $(use_enable cpu_flags_x86_mmx mmx) \
37 $(use_enable debug) \
38 $(use_enable doc)
39 }
40
41 src_install() {
42 emake \
43 DESTDIR="${D}" \
44 htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
45 latexdir="${EPREFIX}/usr/share/doc/${PF}/programmers" \
46 algodir="${EPREFIX}/usr/share/doc/${PF}/algorithm" \
47 faqdir="${EPREFIX}/usr/share/doc/${PF}" \
48 install
49
50 dodoc AUTHORS ChangeLog NEWS README TODO
51
52 find "${ED}"usr -name '*.la' -exec rm -f {} +
53 }

  ViewVC Help
Powered by ViewVC 1.1.20