diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-libs/libdca | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-libs/libdca')
-rw-r--r-- | media-libs/libdca/Manifest | 2 | ||||
-rw-r--r-- | media-libs/libdca/files/libdca-0.0.5-cflags.patch | 12 | ||||
-rw-r--r-- | media-libs/libdca/files/libdca-0.0.5-tests-optional.patch | 15 | ||||
-rw-r--r-- | media-libs/libdca/libdca-0.0.5-r3.ebuild | 57 | ||||
-rw-r--r-- | media-libs/libdca/metadata.xml | 5 |
5 files changed, 91 insertions, 0 deletions
diff --git a/media-libs/libdca/Manifest b/media-libs/libdca/Manifest new file mode 100644 index 000000000000..01c075364ff5 --- /dev/null +++ b/media-libs/libdca/Manifest @@ -0,0 +1,2 @@ +DIST libdca-0.0.5-constant.patch.bz2 3424 SHA256 d8923ad6a61b3e5219e83842e1499e08cace8eabc4b8a9ae23db2ee00939cc5d SHA512 37bd56b8c240f16a6ee86b04d44571345278f8b9dd395cbc307e9fb7e6c001487411d1b4775af19dc97f18fcaed63be97fafeb4fe504f0a76b87022ec792d23e WHIRLPOOL 167492c49abbb02e2683c7bb5b29e23078022b1d77590a52b87cd0db5fa643a381ec02950aad7da34271fbc08447a0ed868dc5b50d63cd6532de5d907c54abe5 +DIST libdca-0.0.5.tar.bz2 393291 SHA256 dba022e022109a5bacbe122d50917769ff27b64a7bba104bd38ced8de8510642 SHA512 d9f0ed34efeb3f27af8424fcb3e6df56744c6735854a65b5709c02b42b4513b9c4618dcc19eb44293afa051bd95616651bda5fc3b49dfabe975d0babfb1bc287 WHIRLPOOL 04d4c12ee32ba6d067a2dfdd4274cb2e3ac242b9b4d68bb43249398a2b77a629c90567ed3cdccb0b830b77f5ed98ce2d3e048e23754ee3e838533986b0a5c5b6 diff --git a/media-libs/libdca/files/libdca-0.0.5-cflags.patch b/media-libs/libdca/files/libdca-0.0.5-cflags.patch new file mode 100644 index 000000000000..16e897f79e50 --- /dev/null +++ b/media-libs/libdca/files/libdca-0.0.5-cflags.patch @@ -0,0 +1,12 @@ +Index: libdca-0.0.5/configure.ac +=================================================================== +--- libdca-0.0.5.orig/configure.ac ++++ libdca-0.0.5/configure.ac +@@ -32,7 +32,6 @@ if test x"$GCC" = x"yes"; then + TRY_CFLAGS=`echo "$OPT_CFLAGS $CFLAGS"|sed "s/-O[0-9]*//g"` + changequote([,]) + TRY_CFLAGS="$TRY_CFLAGS -O3" +- AC_TRY_CFLAGS([$TRY_CFLAGS],[OPT_CFLAGS=$TRY_CFLAGS; CFLAGS=""]) + + AC_ARG_ENABLE([debug], + [ --enable-debug debug mode configuration]) diff --git a/media-libs/libdca/files/libdca-0.0.5-tests-optional.patch b/media-libs/libdca/files/libdca-0.0.5-tests-optional.patch new file mode 100644 index 000000000000..73a5dfaa9ff5 --- /dev/null +++ b/media-libs/libdca/files/libdca-0.0.5-tests-optional.patch @@ -0,0 +1,15 @@ +diff -NrU5 libdca-0.0.5.orig/test/Makefile.am libdca-0.0.5/test/Makefile.am +--- libdca-0.0.5.orig/test/Makefile.am 2008-06-13 23:54:27.000000000 +0200 ++++ libdca-0.0.5/test/Makefile.am 2008-06-13 23:54:46.000000000 +0200 +@@ -1,10 +1,10 @@ + AM_CFLAGS = $(DCADEC_CFLAGS) + +-noinst_PROGRAMS = compare ++check_PROGRAMS = compare + compare_SOURCES = compare.c + compare_LDADD = $(COMPARE_LIBS) + + dist_check_SCRIPTS = regression compile globals + EXTRA_DIST = tests + TESTS = regression compile + #broken test: globals diff --git a/media-libs/libdca/libdca-0.0.5-r3.ebuild b/media-libs/libdca/libdca-0.0.5-r3.ebuild new file mode 100644 index 000000000000..ef01f1ebc77a --- /dev/null +++ b/media-libs/libdca/libdca-0.0.5-r3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils flag-o-matic multilib multilib-minimal + +DESCRIPTION="library for decoding DTS Coherent Acoustics streams used in DVD" +HOMEPAGE="http://www.videolan.org/developers/libdca.html" +SRC_URI="http://www.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.bz2 + mirror://gentoo/${P}-constant.patch.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="debug oss static-libs" + +RDEPEND="!media-libs/libdts + abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r3 + !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )" +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS ChangeLog NEWS README TODO doc/${PN}.txt ) + +src_prepare() { + epatch "${FILESDIR}"/${P}-cflags.patch \ + "${FILESDIR}"/${P}-tests-optional.patch \ + "${WORKDIR}"/${P}-constant.patch + + eautoreconf +} + +multilib_src_configure() { + append-lfs-flags #328875 + + ECONF_SOURCE="${S}" econf \ + --disable-dependency-tracking \ + $(use_enable debug) \ + $(use_enable static-libs static) \ + $(use_enable oss) + + # Those are thrown away afterwards, don't build them in the first place + if [ "${ABI}" != "${DEFAULT_ABI}" ] ; then + sed -i -e 's/ libao src//' Makefile || die + fi +} + +multilib_src_compile() { + emake OPT_CFLAGS="" || die +} + +multilib_src_install() { + emake DESTDIR="${D}" install || die + + find "${ED}" -name '*.la' -exec rm -f '{}' + + rm -f "${ED}"/usr/$(get_libdir)/libdts.a +} diff --git a/media-libs/libdca/metadata.xml b/media-libs/libdca/metadata.xml new file mode 100644 index 000000000000..e1774e3d9ad7 --- /dev/null +++ b/media-libs/libdca/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>sound</herd> +</pkgmetadata> |