diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-video/dirac |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-video/dirac')
-rw-r--r-- | media-video/dirac/Manifest | 7 | ||||
-rw-r--r-- | media-video/dirac/dirac-1.0.2-r1.ebuild | 56 | ||||
-rw-r--r-- | media-video/dirac/dirac-1.0.2.ebuild | 52 | ||||
-rw-r--r-- | media-video/dirac/files/dirac-0.5.2-doc.patch | 59 | ||||
-rw-r--r-- | media-video/dirac/metadata.xml | 10 |
5 files changed, 184 insertions, 0 deletions
diff --git a/media-video/dirac/Manifest b/media-video/dirac/Manifest new file mode 100644 index 000000000000..f2dcf1711040 --- /dev/null +++ b/media-video/dirac/Manifest @@ -0,0 +1,7 @@ +AUX dirac-0.5.2-doc.patch 2304 SHA256 48d18f815991833bc39239ec5029c047739133d4e6b167c6a5652d7714b79cf7 SHA512 1cac4ce26efd5f28b1d671258d5b8b0612815ac41dff230eda0db2c3a0f7414e2266ed1f92de728c97c40319e5d035f42fd1882233f85e3ccfd83b36b84ac099 WHIRLPOOL 6f66143188fef166d6787e807c3169bc12c2ce458bbe662f99e4008066758f1f616a64b5de2a2069cb93b2da09811934c5384e3fba3eb8c1ae45454fb2f2d7c1 +DIST dirac-1.0.2.tar.gz 918366 SHA256 816b16f18d235ff8ccd40d95fc5b4fad61ae47583e86607932929d70bf1f00fd SHA512 71d49fe17da4069ea28581565d5a4c4f64565848b51d04b39a646bdaa9afc899a265e9ace34af57fba64b03562e8c2259f882f6f17c1e49d1057cd8e69d1250c WHIRLPOOL bb01f8a444f79cd194300ff83cae484bd0ff7be58c712cdaf5f525524f68474a89e093999df770d469d38fedae84559f8fab0b087cb448c52dc21daeaeb29ce8 +EBUILD dirac-1.0.2-r1.ebuild 1502 SHA256 5122d66d48308cf002ac37b2a268183fc3385c2f81bb44c447b264f16663528f SHA512 30f862129ecc2bd6b683c70801d5974b74b598af16032c6b12b1fb45fc793779e37866d6ce06e1a45e644282e55caf5724f06f0ddd7aa67f4490f45b7d628f38 WHIRLPOOL 777f9a6c248d401f71cf8ce9a279f0e296bd5e1365d75661ff396673cbfda41c80b565cd92d80a6b6a3d5408856add1575295a6070f3e9ee2229c6e256948ffe +EBUILD dirac-1.0.2.ebuild 1256 SHA256 c08051f2b5d96aa4289dba37d513b055211af911016aa895f93c3d091ca38ca8 SHA512 acc928cbce4d609ea5a758132208a95b445993fb91a74e1c35c61c99a84298b0fe2abeedacb9b6632faf49eaabaf24b488f52f4c52daa6489ba3fb48b6e456ae WHIRLPOOL 8a557a8a122d2d1c8393c7e5f4aef786f4cd8b3d43f26b2bc176d723b9520143b2e98aadb864b49fd01f37f4a17b6b365e113cfe33943fd7a76b8c3c47d3c8f0 +MISC ChangeLog 2508 SHA256 361120c3d111625b268a17301b9d66e938e11131a6341197e5444b69525f1d76 SHA512 15e6077c94c49e832b22bba52a0c89d2f10e6ae93db7bd2bea8ac32a06c3fe18a4d4f7697825c33533889c5bb7c1e535b74d8a4cf2f00541ba8f8fe9c37e94de WHIRLPOOL 0dab58a6ed56be864938d73def1c98a7a290a8aab2a9799167bd4d8e6ed7df1df7c1328a9c6c9362b0ebdfb070e9f669a101075187731f33ef1f68849c7d8257 +MISC ChangeLog-2015 6587 SHA256 77378523c1f4de8a80187fc1da58f0aa0cea436bb0084f0815279d4acf957dbd SHA512 4106f0d33fb213eeda401eb9f4bb9b82995bb769a334153430f9b26b169fc7ef0555545fc7d296554ebebc50dc6900eba2bd8d676b3a52fe03d3ccb80dbb3267 WHIRLPOOL cfb49cf0416fc7b9bb159061e1c398b6aa3fd4a8d505d4969652414e266219c7886752e785400fc9c50368e0e4789eec016127abe9934237f57541706c3a3a1e +MISC metadata.xml 298 SHA256 8fbdf99e1ba61a10d970ba8cc67aae1b2268650c55f7ac1a4ec610a8d56f7d7b SHA512 af4dca87e12f4378990ff854d7f6ad5af7ccc083694a3ad34521dece8cc740508aa2cecaf6ab8aae3cac66069ba9d6becc5fd7e0856af532a5011db50041dff6 WHIRLPOOL 807907496e1ccc18513c1f8fafd217fbf805f7e373459c48f9b6dc8b37b3e227fb24fad52b2472ff0b822eeaba812962457e8944ac5f5fdfe842085a032bf126 diff --git a/media-video/dirac/dirac-1.0.2-r1.ebuild b/media-video/dirac/dirac-1.0.2-r1.ebuild new file mode 100644 index 000000000000..9721f4f7e14d --- /dev/null +++ b/media-video/dirac/dirac-1.0.2-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils multilib-minimal + +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="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="debug doc cpu_flags_x86_mmx static-libs" + +RDEPEND="" +DEPEND=" + doc? ( + app-doc/doxygen + virtual/latex-base + media-gfx/graphviz + || ( >=app-text/texlive-core-2014 app-text/dvipdfm ) + )" +DOCS=( AUTHORS ChangeLog NEWS README TODO ) + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.5.2-doc.patch + AT_M4DIR="m4" eautoreconf + export VARTEXFONTS="${T}/fonts" +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + $(use_enable static-libs static) \ + $(use_enable cpu_flags_x86_mmx mmx) \ + $(use_enable debug) \ + $(multilib_is_native_abi && echo $(use_enable doc)) + if ! multilib_is_native_abi ; then + sed -i -e 's/ encoder decoder util//' Makefile || die + fi +} + +multilib_src_install() { + emake \ + DESTDIR="${D}" \ + htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \ + latexdir="${EPREFIX}/usr/share/doc/${PF}/programmers" \ + algodir="${EPREFIX}/usr/share/doc/${PF}/algorithm" \ + faqdir="${EPREFIX}/usr/share/doc/${PF}" \ + install +} + +multilib_src_install_all() { + prune_libtool_files --all + einstalldocs +} diff --git a/media-video/dirac/dirac-1.0.2.ebuild b/media-video/dirac/dirac-1.0.2.ebuild new file mode 100644 index 000000000000..afc629a5c63e --- /dev/null +++ b/media-video/dirac/dirac-1.0.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 +inherit autotools 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="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="debug doc cpu_flags_x86_mmx static-libs" + +RDEPEND="" +DEPEND=" + doc? ( + app-doc/doxygen + virtual/latex-base + media-gfx/graphviz + app-text/dvipdfm + )" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.5.2-doc.patch + AT_M4DIR="m4" eautoreconf +} + +src_configure() { + export VARTEXFONTS="${T}/fonts" + + econf \ + $(use_enable static-libs static) \ + $(use_enable cpu_flags_x86_mmx mmx) \ + $(use_enable debug) \ + $(use_enable doc) +} + +src_install() { + emake \ + DESTDIR="${D}" \ + htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \ + latexdir="${EPREFIX}/usr/share/doc/${PF}/programmers" \ + algodir="${EPREFIX}/usr/share/doc/${PF}/algorithm" \ + faqdir="${EPREFIX}/usr/share/doc/${PF}" \ + install + + dodoc AUTHORS ChangeLog NEWS README TODO + + find "${ED}"usr -name '*.la' -exec rm -f {} + +} 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..211486635dbd --- /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]) ++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 ++else ++HAVE_DOXYGEN=false ++HAVE_DOT=false ++HAVE_LATEX=false ++HAVE_DVIPDFM=false ++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..8a24b7f05fd3 --- /dev/null +++ b/media-video/dirac/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>media-video@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="sourceforge">dirac</remote-id> + </upstream> +</pkgmetadata> |