summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-06-13 14:06:17 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-06-13 14:06:17 +0000
commitb0fad1215f5bdfa4fdc737f86ef9084466c67f6f (patch)
treeafd33120cb3ab74f3e480ffe03c532b41c737897 /media-libs/a52dec
parentVersion bump (see bug #226167). (diff)
downloadhistorical-b0fad1215f5bdfa4fdc737f86ef9084466c67f6f.tar.gz
historical-b0fad1215f5bdfa4fdc737f86ef9084466c67f6f.tar.bz2
historical-b0fad1215f5bdfa4fdc737f86ef9084466c67f6f.zip
No longer build tests if we don't need them. Bug #226343.
Package-Manager: portage-2.1.5.5
Diffstat (limited to 'media-libs/a52dec')
-rw-r--r--media-libs/a52dec/ChangeLog10
-rw-r--r--media-libs/a52dec/Manifest6
-rw-r--r--media-libs/a52dec/a52dec-0.7.4-r5.ebuild4
-rw-r--r--media-libs/a52dec/a52dec-0.7.4-r6.ebuild53
-rw-r--r--media-libs/a52dec/files/a52dec-0.7.4-tests-optional.patch31
5 files changed, 98 insertions, 6 deletions
diff --git a/media-libs/a52dec/ChangeLog b/media-libs/a52dec/ChangeLog
index 90878cc7e554..de0e87b8910f 100644
--- a/media-libs/a52dec/ChangeLog
+++ b/media-libs/a52dec/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/a52dec
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/a52dec/ChangeLog,v 1.51 2007/12/28 14:06:34 flameeyes Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/a52dec/ChangeLog,v 1.52 2008/06/13 14:06:16 loki_val Exp $
+
+*a52dec-0.7.4-r6 (13 Jun 2008)
+
+ 13 Jun 2008; Peter Alfredsen <loki_val@gentoo.org>
+ +files/a52dec-0.7.4-tests-optional.patch, +a52dec-0.7.4-r6.ebuild:
+ No longer build tests if we don't need them. Bug #226343.
28 Dec 2007; Diego Pettenò <flameeyes@gentoo.org> a52dec-0.7.4-r5.ebuild:
Make djbfft a runtime dependency too, or --depclean will remove it and break
diff --git a/media-libs/a52dec/Manifest b/media-libs/a52dec/Manifest
index b338adba0de1..8c826663e030 100644
--- a/media-libs/a52dec/Manifest
+++ b/media-libs/a52dec/Manifest
@@ -1,6 +1,8 @@
AUX a52dec-0.7.4-build.patch 1113 RMD160 5b6142d108cb7a2dad04bfa0a4eae0cb599cb604 SHA1 33a3478936f4ac87e85452ea8f96a024fbd9822c SHA256 00a094d6178cd21bfc2303ff2ac91ce656810e6fef50e77ab30e18d0f4d4a650
AUX a52dec-0.7.4-freebsd.patch 343 RMD160 29981d434e6d1fcbbceb36a6200554302d4ef898 SHA1 5631e11ada36c5d0f11bf924cf0bbc5e106e2bd2 SHA256 61a2852445843dcb3cee283cbcd44ce28a1e5d018f60879ba8e8de184668367d
+AUX a52dec-0.7.4-tests-optional.patch 970 RMD160 7c83943c8794b16e338605862700a1ce6e9980e5 SHA1 e4885b79e0ad505c8688876c988085f7532a3182 SHA256 dff7ff3d0b38e57db883825e8f014ab639e5f461c8d109ac3464fe3e33da3857
DIST a52dec-0.7.4.tar.gz 241507 RMD160 5b63b34c5840e7182b733cad41e916a8d4875eb1 SHA1 79b33bd8d89dad7436f85b9154ad35667aa37321 SHA256 a21d724ab3b3933330194353687df82c475b5dfb997513eef4c25de6c865ec33
-EBUILD a52dec-0.7.4-r5.ebuild 1261 RMD160 8a88be27d0fd90f88ac83125e0cbe1c3e7eed1ee SHA1 b07e8eb6edae9e855ce2ac082f57fa2626fc25b9 SHA256 8db42b8fce42070bc059a2bfdb41a0058527567ed4c3c8f233cb9ab521f8bb30
-MISC ChangeLog 7241 RMD160 1fbee4ff1b85b30c8ec7cfbc6f1045684bdd4a4f SHA1 96bae81aed2eafdf60a44bb613beb44a5a07b7dc SHA256 ebd52dcd5f7487740a07ca19db337ac17178727103b20f243ce2b3461e1f0a76
+EBUILD a52dec-0.7.4-r5.ebuild 1262 RMD160 840106242299c30b4c45623e537485988397e8cd SHA1 4b005038599d0ba1c76b657d5f39b29b81d66333 SHA256 202ea09636cf0fd8b634d6f159751e6855191a4a4f060204cf0fd4e215b375be
+EBUILD a52dec-0.7.4-r6.ebuild 1354 RMD160 b0e9763b7568b483838bb23bdff12b59026ab3df SHA1 8b259f0cf1e03df793e2b81163bc50710204db86 SHA256 e4a8e3bd49387edad02e4d7c8e908c3d84a48da6e9917a616ce4a1d6ad1036fe
+MISC ChangeLog 7455 RMD160 9c08a323455102c0536c3da2a33e5ba07f8e9baf SHA1 d9edf220b87814db0f7c9e7df857947cc6fb36fe SHA256 5b580410b5bf9d9f2ae7a3e6b8d54c6bd96b7b94998c2da0d158421bcb3d5308
MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b
diff --git a/media-libs/a52dec/a52dec-0.7.4-r5.ebuild b/media-libs/a52dec/a52dec-0.7.4-r5.ebuild
index fb682331d9af..b5825dbd137f 100644
--- a/media-libs/a52dec/a52dec-0.7.4-r5.ebuild
+++ b/media-libs/a52dec/a52dec-0.7.4-r5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/a52dec/a52dec-0.7.4-r5.ebuild,v 1.18 2007/12/28 14:06:34 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/a52dec/a52dec-0.7.4-r5.ebuild,v 1.19 2008/06/13 14:06:16 loki_val Exp $
WANT_AUTOCONF=latest
WANT_AUTOMAKE=latest
@@ -45,7 +45,7 @@ src_install() {
make DESTDIR="${D}" docdir=/usr/share/doc/${PF}/html install || die
insinto /usr/include/a52dec
- doins ${S}/liba52/a52_internal.h
+ doins "${S}"/liba52/a52_internal.h
dodoc AUTHORS ChangeLog HISTORY NEWS README TODO doc/liba52.txt
}
diff --git a/media-libs/a52dec/a52dec-0.7.4-r6.ebuild b/media-libs/a52dec/a52dec-0.7.4-r6.ebuild
new file mode 100644
index 000000000000..7caeee12b7c7
--- /dev/null
+++ b/media-libs/a52dec/a52dec-0.7.4-r6.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/a52dec/a52dec-0.7.4-r6.ebuild,v 1.1 2008/06/13 14:06:16 loki_val Exp $
+
+WANT_AUTOCONF=latest
+WANT_AUTOMAKE=latest
+
+inherit eutils flag-o-matic libtool autotools
+
+DESCRIPTION="library for decoding ATSC A/52 streams used in DVD"
+HOMEPAGE="http://liba52.sourceforge.net/"
+SRC_URI="http://liba52.sourceforge.net/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="oss djbfft test"
+
+RDEPEND="djbfft? ( sci-libs/djbfft )"
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-build.patch"
+ epatch "${FILESDIR}/${P}-freebsd.patch"
+ epatch "${FILESDIR}/${P}-tests-optional.patch"
+
+ eautoreconf
+ epunt_cxx
+}
+
+src_compile() {
+ filter-flags -fprefetch-loop-arrays
+
+ local myconf="--enable-shared"
+ use oss || myconf="${myconf} --disable-oss"
+ econf \
+ $(use_enable djbfft) \
+ $(use_enable test tests) \
+ ${myconf} || die
+ emake CFLAGS="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" docdir=/usr/share/doc/${PF}/html install || die
+
+ insinto /usr/include/a52dec
+ doins "${S}"/liba52/a52_internal.h
+
+ dodoc AUTHORS ChangeLog HISTORY NEWS README TODO doc/liba52.txt
+}
diff --git a/media-libs/a52dec/files/a52dec-0.7.4-tests-optional.patch b/media-libs/a52dec/files/a52dec-0.7.4-tests-optional.patch
new file mode 100644
index 000000000000..b52fbbd4d31f
--- /dev/null
+++ b/media-libs/a52dec/files/a52dec-0.7.4-tests-optional.patch
@@ -0,0 +1,31 @@
+diff -NrU5 a52dec-0.7.4.orig/configure.in a52dec-0.7.4/configure.in
+--- a52dec-0.7.4.orig/configure.in 2008-06-13 15:48:43.000000000 +0200
++++ a52dec-0.7.4/configure.in 2008-06-13 15:46:23.000000000 +0200
+@@ -106,10 +106,16 @@
+ elif test x"$TENDRA" = x"yes"; then
+ dnl TenDRA portability checking compiler
+ CFLAGS="$CFLAGS -DTenDRA_check"
+ fi
+
++dnl Build tests?
++AC_ARG_ENABLE(tests,
++ AS_HELP_STRING([--disable-tests], [Don't build tests during make]),,
++ enable_tests="yes")
++AM_CONDITIONAL(TESTS, [test "$enable_tests" = "yes"])
++
+ builtin([include],[src/configure.incl])
+
+ AC_C_ATTRIBUTE_ALIGNED
+
+ AC_OUTPUT
+diff -NrU5 a52dec-0.7.4.orig/Makefile.am a52dec-0.7.4/Makefile.am
+--- a52dec-0.7.4.orig/Makefile.am 2008-06-13 15:48:45.000000000 +0200
++++ a52dec-0.7.4/Makefile.am 2008-06-13 15:47:55.000000000 +0200
+@@ -1,3 +1,7 @@
+ SUBDIRS = autotools include doc liba52 libao src vc++ test
+
++if TESTS
++SUBDIRS += test
++endif
++
+ EXTRA_DIST = HISTORY bootstrap