diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-06-10 01:45:51 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-06-10 01:45:51 +0000 |
commit | d4e6a7c421db5726ef4b2554b027bd6db65ccbac (patch) | |
tree | f131a6f65c677a16161c466f5ad35138e1e72848 /media-video/dirac | |
parent | Add a raid-stop script by Milan Holzäpfel #95594. (diff) | |
download | historical-d4e6a7c421db5726ef4b2554b027bd6db65ccbac.tar.gz historical-d4e6a7c421db5726ef4b2554b027bd6db65ccbac.tar.bz2 historical-d4e6a7c421db5726ef4b2554b027bd6db65ccbac.zip |
First addition to portage, needed to build dirac codec support on VLC. Added patch to make documentation compilation optional. It uses cppunit if present to do unit testing, but it has its own testsuite also if it's not present.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'media-video/dirac')
-rw-r--r-- | media-video/dirac/ChangeLog | 12 | ||||
-rw-r--r-- | media-video/dirac/Manifest | 15 | ||||
-rw-r--r-- | media-video/dirac/dirac-0.5.2.ebuild | 49 | ||||
-rw-r--r-- | media-video/dirac/files/digest-dirac-0.5.2 | 1 | ||||
-rw-r--r-- | media-video/dirac/files/dirac-0.5.2-doc.patch | 59 | ||||
-rw-r--r-- | media-video/dirac/metadata.xml | 5 |
6 files changed, 141 insertions, 0 deletions
diff --git a/media-video/dirac/ChangeLog b/media-video/dirac/ChangeLog new file mode 100644 index 000000000000..c2317084cd94 --- /dev/null +++ b/media-video/dirac/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for media-video/dirac +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/dirac/ChangeLog,v 1.1 2005/06/10 01:45:50 flameeyes Exp $ + +*dirac-0.5.2 (10 Jun 2005) + + 10 Jun 2005; Diego Pettenò <flameeyes@gentoo.org> + +files/dirac-0.5.2-doc.patch, +metadata.xml, +dirac-0.5.2.ebuild: + First addition to portage, needed to build dirac codec support on VLC. Added + patch to make documentation compilation optional. It uses cppunit if present + to do unit testing, but it has its own testsuite also if it's not present. + diff --git a/media-video/dirac/Manifest b/media-video/dirac/Manifest new file mode 100644 index 000000000000..56b184dab229 --- /dev/null +++ b/media-video/dirac/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 83a4ad50d2574b952705c2640217465c dirac-0.5.2.ebuild 1076 +MD5 7300a7b361fa9f48e37722c6952bd432 metadata.xml 158 +MD5 337f052023408dbbdaf5bfa79a272917 ChangeLog 595 +MD5 75a42cb31d27cafec5f65b4289a303d1 files/dirac-0.5.2-doc.patch 2300 +MD5 dda7e7b65c9d20118346c4beef33b6a7 files/digest-dirac-0.5.2 63 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.1 (GNU/Linux) + +iD8DBQFCqO/kj5H05b2HAEkRAgWeAJ0RIzfc5DmOoe7mTRJ4sQbadSaamACfeiUj +iCLziJo+j+Vz+ru7/fprv0I= +=f4jL +-----END PGP SIGNATURE----- diff --git a/media-video/dirac/dirac-0.5.2.ebuild b/media-video/dirac/dirac-0.5.2.ebuild new file mode 100644 index 000000000000..54178e833815 --- /dev/null +++ b/media-video/dirac/dirac-0.5.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/dirac/dirac-0.5.2.ebuild,v 1.1 2005/06/10 01:45:50 flameeyes Exp $ + +inherit eutils + +DESCRIPTION="Open Source video codec" +HOMEPAGE="http://dirac.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="mmx debug doc" + +DEPEND="doc? ( app-doc/doxygen + virtual/tetex )" +RDEPEND="" + +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/${P}-doc.patch + + autoreconf || die "autoreconf failed" + libtoolize --copy --force || die "libtoolize failed" +} + +src_compile() { + econf \ + $(use_enable mmx) \ + $(use_enable debug) \ + $(use_enable doc) \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" \ + htmldir="/usr/share/doc/${PF}/html" \ + latexdir="/usr/share/doc/${PF}/programmers" \ + algodir="/usr/share/doc/${PF}/algorithm" \ + faqdir="/usr/share/doc/${PF}" \ + install + + dodoc README AUTHORS NEWS TODO ChangeLog +} diff --git a/media-video/dirac/files/digest-dirac-0.5.2 b/media-video/dirac/files/digest-dirac-0.5.2 new file mode 100644 index 000000000000..0db6b5dd6330 --- /dev/null +++ b/media-video/dirac/files/digest-dirac-0.5.2 @@ -0,0 +1 @@ +MD5 e83e3dc3025c04b3163fbcd1d5e6a328 dirac-0.5.2.tar.gz 671231 diff --git a/media-video/dirac/files/dirac-0.5.2-doc.patch b/media-video/dirac/files/dirac-0.5.2-doc.patch new file mode 100644 index 000000000000..0f934e0ad69d --- /dev/null +++ b/media-video/dirac/files/dirac-0.5.2-doc.patch @@ -0,0 +1,59 @@ +diff -x '*~' -ur dirac-0.5.2/configure.ac dirac-0.5.2-doc/configure.ac +--- dirac-0.5.2/configure.ac 2005-05-20 15:05:25.000000000 +0200 ++++ dirac-0.5.2-doc/configure.ac 2005-06-10 03:31:58.683588784 +0200 +@@ -105,28 +105,37 @@ + dnl ----------------------------------------------- + dnl Checks for optional programs. + dnl ----------------------------------------------- +-AC_CHECK_PROG(HAVE_DOXYGEN, doxygen, true, false) +- if test $HAVE_DOXYGEN = "false"; then +- AC_MSG_WARN([*** doxygen not found, code documentation will not be built]) +- fi +-AM_CONDITIONAL(HAVE_DOXYGEN, $HAVE_DOXYGEN) ++AC_ARG_ENABLE(doc, AC_HELP_STRING([--enable-doc], [enables doc building (no)]), [enabledoc=${enableval}], [enabledoc=no]) + +-AC_CHECK_PROG(HAVE_DOT, dot, true, false) +- if test $HAVE_DOT = "false"; then +- AC_MSG_WARN([*** dot not found, inheritance diagrams will not be generated in code documentation]) ++HAVE_DOXYGEN=false ++HAVE_DOT=false ++HAVE_LATEX=false ++HAVE_DVIPDFM=false ++ ++if test "x$enabledoc" != "xno"; then ++ AC_CHECK_PROG(HAVE_DOXYGEN, doxygen, true, false) ++ if test $HAVE_DOXYGEN = "false"; then ++ AC_MSG_WARN([*** doxygen not found, code documentation will not be built]) ++ fi ++ ++ AC_CHECK_PROG(HAVE_DOT, dot, true, false) ++ if test $HAVE_DOT = "false"; then ++ AC_MSG_WARN([*** dot not found, inheritance diagrams will not be generated in code documentation]) ++ fi ++ ++ AC_CHECK_PROG(HAVE_LATEX, latex, true, false) ++ if test $HAVE_LATEX = "false"; then ++ AC_MSG_WARN([*** latex not found, algorithm documentation will not be built]) ++ fi ++ ++ AC_CHECK_PROG(HAVE_DVIPDFM, dvipdfm, true, false) ++ if test $HAVE_DVIPDFM = "false"; then ++ AC_MSG_WARN([*** dvipdfm not found, programmer documentation will not be built]) + fi ++fi ++AM_CONDITIONAL(HAVE_DOXYGEN, $HAVE_DOXYGEN) + AM_CONDITIONAL(HAVE_DOT, $HAVE_DOT) +- +-AC_CHECK_PROG(HAVE_LATEX, latex, true, false) +- if test $HAVE_LATEX = "false"; then +- AC_MSG_WARN([*** latex not found, algorithm documentation will not be built]) +- fi + AM_CONDITIONAL(HAVE_LATEX, $HAVE_LATEX) +- +-AC_CHECK_PROG(HAVE_DVIPDFM, dvipdfm, true, false) +- if test $HAVE_DVIPDFM = "false"; then +- AC_MSG_WARN([*** dvipdfm not found, programmer documentation will not be built]) +- fi + AM_CONDITIONAL(HAVE_DVIPDFM, $HAVE_DVIPDFM) + + AC_ARG_ENABLE(overlay, diff --git a/media-video/dirac/metadata.xml b/media-video/dirac/metadata.xml new file mode 100644 index 000000000000..d9df1878d8e2 --- /dev/null +++ b/media-video/dirac/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>video</herd> +</pkgmetadata> |