Removed libdts, finally, use libdca
authorSamuli Suominen <ssuominen@gentoo.org>
Fri, 15 Feb 2008 18:57:31 +0000 (18:57 +0000)
committerSamuli Suominen <ssuominen@gentoo.org>
Fri, 15 Feb 2008 18:57:31 +0000 (18:57 +0000)
media-libs/libdts/ChangeLog [deleted file]
media-libs/libdts/Manifest [deleted file]
media-libs/libdts/files/libdts-0.0.2-freebsd.patch [deleted file]
media-libs/libdts/files/libdts-0.0.2-libtool.patch [deleted file]
media-libs/libdts/files/libdts-0.0.2-strict-aliasing.patch [deleted file]
media-libs/libdts/files/libdts-0.0.2-visibility.patch [deleted file]
media-libs/libdts/libdts-0.0.2-r5.ebuild [deleted file]
media-libs/libdts/metadata.xml [deleted file]

diff --git a/media-libs/libdts/ChangeLog b/media-libs/libdts/ChangeLog
deleted file mode 100644 (file)
index b3e7e85..0000000
+++ /dev/null
@@ -1,162 +0,0 @@
-# ChangeLog for media-libs/libdts
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libdts/ChangeLog,v 1.41 2007/01/21 18:49:38 flameeyes Exp $
-
-  21 Jan 2007; Diego Pettenò <flameeyes@gentoo.org>
-  -libdts-0.0.2-r3.ebuild:
-  Remove old version.
-
-  20 Oct 2006; Bryan Østergaard <kloeri@gentoo.org> libdts-0.0.2-r5.ebuild:
-  Stable on Alpha.
-
-  01 Oct 2006; Tobias Scherbaum <dertobi123@gentoo.org>
-  libdts-0.0.2-r5.ebuild:
-  hppa stable, bug #141971
-
-  27 Sep 2006; Diego Pettenò <flameeyes@gentoo.org> libdts-0.0.2-r3.ebuild,
-  libdts-0.0.2-r5.ebuild:
-  Force latest version of autoconf/automake. Closes bug #149189.
-
-  15 Aug 2006; Joshua Jackson <tsunam@gentoo.org> libdts-0.0.2-r5.ebuild:
-  Stable x86; bug #141971
-
-  12 Aug 2006; Markus Rothe <corsair@gentoo.org> libdts-0.0.2-r5.ebuild:
-  Stable on ppc64; bug #141971
-
-  03 Aug 2006; Jason Wever <weeve@gentoo.org> libdts-0.0.2-r5.ebuild:
-  Stable on SPARC wrt bug #141971.
-
-  01 Aug 2006; Patrick McLean <chutzpah@gentoo.org> libdts-0.0.2-r5.ebuild:
-  Stable on amd64 (bug # 141971).
-
-  28 Jul 2006; Tobias Scherbaum <dertobi123@gentoo.org>
-  libdts-0.0.2-r5.ebuild:
-  ppc stable, bug #141971
-
-*libdts-0.0.2-r5 (22 Jun 2006)
-
-  22 Jun 2006; Diego Pettenò <flameeyes@gentoo.org>
-  files/libdts-0.0.2-strict-aliasing.patch, -libdts-0.0.2-r4.ebuild,
-  +libdts-0.0.2-r5.ebuild:
-  Fix typo in strict aliasing patch, thanks to Honza Macháček in bug #137573.
-
-*libdts-0.0.2-r4 (17 Jun 2006)
-
-  17 Jun 2006; Diego Pettenò <flameeyes@gentoo.org>
-  +files/libdts-0.0.2-strict-aliasing.patch, +libdts-0.0.2-r4.ebuild:
-  Add patch to fix strict aliasing breakages.
-
-  31 May 2006; Diego Pettenò <flameeyes@gentoo.org> libdts-0.0.2-r3.ebuild:
-  Create the m4 directory so that it doesn't fail if visibility patch is not
-  applied, fixes problems reported by many people. Thanks to Seemant for
-  showing me the problem.
-
-  28 May 2006; Diego Pettenò <flameeyes@gentoo.org>
-  +files/libdts-0.0.2-visibility.patch, libdts-0.0.2-r3.ebuild:
-  Add patch to add support for visibility (with GCC 4.1).
-
-  25 May 2006; Diego Pettenò <flameeyes@gentoo.org> libdts-0.0.2-r3.ebuild:
-  Add ~x86-fbsd keyword.
-
-  24 May 2006; Diego Pettenò <flameeyes@gentoo.org> libdts-0.0.2-r3.ebuild:
-  Rice it down, don't add extra flags to the build, like the deprecated -mtune
-  or -O3 -fomit-frame-pointer.
-
-  06 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> libdts-0.0.2-r3.ebuild:
-  Remove redundant dependencies.
-
-  04 Jan 2006; Diego Pettenò <flameeyes@gentoo.org>
-  files/libdts-0.0.2-libtool.patch:
-  Improve patch to make sure it always builds with PIC version also on x86.
-
-  25 Nov 2005; Diego Pettenò <flameeyes@gentoo.org>
-  files/libdts-0.0.2-libtool.patch, -files/libdts-0.0.2-libtool2.patch,
-  libdts-0.0.2-r3.ebuild:
-  Remove libtool2 patch for PPC, fixing finally the PIC thing. It was due to
-  -prefer-non-pic flag used in libdtls/configure.incls. Similar problem was
-  fixed in a52dec-0.7.4-build.patch, from which libdts derive.
-
-  31 Oct 2005; Diego Pettenò <flameeyes@gentoo.org> -libdts-0.0.2.ebuild:
-  Remove old version.
-
-  31 Oct 2005; Diego Pettenò <flameeyes@gentoo.org> libdts-0.0.2-r3.ebuild:
-  Use eautoreconf instead of manual call to the various tools.
-
-  15 Oct 2005; Hardave Riar <hardave@gentoo.org> libdts-0.0.2-r3.ebuild:
-  Keyworded ~mips.
-
-  13 Sep 2005; Aron Griffis <agriffis@gentoo.org> libdts-0.0.2-r3.ebuild:
-  Mark 0.0.2-r3 stable on alpha
-
-  03 Sep 2005; Markus Rothe <corsair@gentoo.org> libdts-0.0.2-r3.ebuild:
-  Stable on ppc64
-
-  27 Aug 2005; Jeremy Huddleston <eradicator@gentoo.org>
-  libdts-0.0.2-r3.ebuild:
-  Stable amd64, sparc, and x86.  This is the same as -r1 was on those platforms.
-
-*libdts-0.0.2-r3 (26 Aug 2005)
-
-  26 Aug 2005; Jeremy Huddleston <eradicator@gentoo.org>
-  -libdts-0.0.2-r1.ebuild, -libdts-0.0.2-r2.ebuild, +libdts-0.0.2-r3.ebuild:
-  Fix proper PIC usage for everyone but ppc.  See bug #98494.
-
-  18 Aug 2005; Diego Pettenò <flameeyes@gentoo.org>
-  +files/libdts-0.0.2-freebsd.patch, libdts-0.0.2-r2.ebuild:
-  Added patch for Gentoo/FreeBSD compatibility (similar to a52dec). Thanks to
-  Alberto Zennaro for let me know of this.
-
-*libdts-0.0.2-r2 (21 Jul 2005)
-
-  21 Jul 2005; Diego Pettenò <flameeyes@gentoo.org>
-  +files/libdts-0.0.2-libtool2.patch, +libdts-0.0.2-r2.ebuild:
-  Updated libtool patch to compile the shared libraries with -fPIC on all
-  platforms.
-
-  08 May 2005; Aron Griffis <agriffis@gentoo.org> libdts-0.0.2-r1.ebuild:
-  stable on ia64
-
-  05 May 2005; Aron Griffis <agriffis@gentoo.org> libdts-0.0.2-r1.ebuild:
-  add ~ia64
-
-  19 Apr 2005; Bryan Østergaard <kloeri@gentoo.org> libdts-0.0.2.ebuild:
-  Stable on alpha, bug 89277.
-
-  16 Apr 2005; Michael Hanselmann <hansmi@gentoo.org>
-  libdts-0.0.2-r1.ebuild:
-  Stable on ppc.
-
-  11 Apr 2005; Jan Brinkmann <luckyduck@gentoo.org> libdts-0.0.2-r1.ebuild,
-  libdts-0.0.2.ebuild:
-  added dummy src_test(), tests fail.
-
-*libdts-0.0.2-r1 (26 Mar 2005)
-
-  26 Mar 2005; Jeremy Huddleston <eradicator@gentoo.org>
-  +files/libdts-0.0.2-libtool.patch, +libdts-0.0.2-r1.ebuild:
-  Fix -fPIC usage.  Use libtool to build shared and static libs.
-
-  06 Feb 2005; Markus Rothe <corsair@gentoo.org> libdts-0.0.2.ebuild:
-  Stable on ppc64
-
-  27 Dec 2004; Bryan Østergaard <kloeri@gentoo.org> libdts-0.0.2.ebuild:
-  ~alpha keyword, bug 75669.
-
-  26 Dec 2004; Markus Rothe <corsair@gentoo.org> libdts-0.0.2.ebuild:
-  Added ~ppc64 to KEYWORDS; bug #75669
-
-  01 Sep 2004; Jeremy Huddleston <eradicator@gentoo.org> libdts-0.0.2.ebuild:
-  Stable amd64, sparc.
-
-  23 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> libdts-0.0.2.ebuild:
-  Added to ~sparc and ~amd64.  Removed autoconf from RDEPEND.
-
-  08 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org> libdts-0.0.2.ebuild:
-  Stable x86.
-
-*libdts-0.0.2 (02 Mar 2004)
-
-  02 Mar 2004; Jeremy Huddleston <eradicator@gentoo.org> :
-  DTS Decoding Library based off a52dec. Ebuild provided by Derk-Jan Hartman
-  <thedj@users.sourceforge.net> in bug #43366.
-
diff --git a/media-libs/libdts/Manifest b/media-libs/libdts/Manifest
deleted file mode 100644 (file)
index 9ae90df..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-AUX libdts-0.0.2-freebsd.patch 501 RMD160 45b2b4e946f72fe22635b0570792165b36968370 SHA1 db393a700a8750364c3f57b6e6e20598d4279020 SHA256 fbb4a28ae2871ccd5ac6bd431c0fd31517d85e23885bf967b5967b92d844ca19
-AUX libdts-0.0.2-libtool.patch 3533 RMD160 6c9d90cac92150c8aa710a44be0ed085c5bb44aa SHA1 c886a3d8796101685a9bc27946af2a72798fba33 SHA256 37fed429417d5d6da1d293ff4ae77f625346a847d3543d21a995caec7f8e751e
-AUX libdts-0.0.2-strict-aliasing.patch 1507 RMD160 cea40d257e643a7a1f1f8c711c34707125a91f0b SHA1 482ef46eb1934f5fcfa9fb80ee22f49422e3617c SHA256 efb0e10f948309e09cb575dd8b48a85397f7e40cfb849320ac0d855e8ec7f19e
-AUX libdts-0.0.2-visibility.patch 6644 RMD160 7416e3b9b493a39a40ec954f5b005a0acab95f4c SHA1 d120370880db1e6778f4d206635319a5a277b70b SHA256 137c5d65f05e98132a72fbd084d4685ea2060ebd1805606cd1845c07c7bcff57
-DIST libdts-0.0.2.tar.gz 295185 RMD160 c7b904465244b887e6b62f997bcf043d241cf2ce SHA1 602fd9d9442453600e425f62972797bf508ea2d3 SHA256 ef552cedb9addd5c54a1d5adf49c2b5d6932606e7161443bd88a524a9a477595
-EBUILD libdts-0.0.2-r5.ebuild 1195 RMD160 b68b5046990a57068af7adc04d22561c76264551 SHA1 2918525a230285bc8ae0531638e6c065d6236c1c SHA256 a95242071cfa526769522865f59538833abc001769114ab7a774dcad161e0f61
-MISC ChangeLog 6038 RMD160 a796d5053a365b412e60f03cdcb3b755e9002272 SHA1 a6310889757a300299e6b126fa3bed5ee506b9f3 SHA256 d54853f168e466c118809d42f9542b5049227ed3a213b209f144d3136ad0b699
-MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b
diff --git a/media-libs/libdts/files/libdts-0.0.2-freebsd.patch b/media-libs/libdts/files/libdts-0.0.2-freebsd.patch
deleted file mode 100644 (file)
index e160550..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur libdts-0.0.2/libao/audio_out_oss.c libdts-0.0.2-fbsd/libao/audio_out_oss.c
---- libdts-0.0.2/libao/audio_out_oss.c 2004-02-05 10:14:12.000000000 +0100
-+++ libdts-0.0.2-fbsd/libao/audio_out_oss.c    2005-08-18 15:53:05.000000000 +0200
-@@ -35,7 +35,7 @@
- #if defined(__OpenBSD__) || defined(__NetBSD__)
- #include <soundcard.h>
- #elif defined(__FreeBSD__)
--#include <machine/soundcard.h>
-+#include <sys/soundcard.h>
- #ifndef AFMT_S16_NE
- #include <machine/endian.h>
- #if BYTE_ORDER == LITTLE_ENDIAN
diff --git a/media-libs/libdts/files/libdts-0.0.2-libtool.patch b/media-libs/libdts/files/libdts-0.0.2-libtool.patch
deleted file mode 100644 (file)
index c6e26c5..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
-Index: libdts-0.0.2/configure.ac
-===================================================================
---- libdts-0.0.2.orig/configure.ac
-+++ libdts-0.0.2/configure.ac
-@@ -77,22 +77,8 @@ else
-     esac
- fi
- 
--#libtool# dnl Checks for libtool - this must be done after we set cflags
--#libtool# AC_DISABLE_SHARED
--#libtool# AC_LIBTOOL_WIN32_DLL
--#libtool# AC_PROG_LIBTOOL
--
--dnl Build the PIC library? - to be removed once libtool is re-enabled
--AC_PROG_RANLIB
--case "${target_os}" in
--  *mingw32* | *cygwin* | *djgpp*)
--    NEED_PIC=false
--    ;;
--  *)
--    NEED_PIC=:
--    ;;
--esac
--AM_CONDITIONAL(NEED_PIC, ${NEED_PIC})
-+AC_LIBTOOL_WIN32_DLL
-+AC_PROG_LIBTOOL
- 
- dnl Checks for libraries.
- LIBAO_LIBS="-lm"
-Index: libdts-0.0.2/libdts/Makefile.am
-===================================================================
---- libdts-0.0.2.orig/libdts/Makefile.am
-+++ libdts-0.0.2/libdts/Makefile.am
-@@ -1,22 +1,13 @@
- AM_CFLAGS = $(OPT_CFLAGS) $(LIBDTS_CFLAGS)
- 
--#libtool# lib_LTLIBRARIES = libdts.la
--#libtool# 
--#libtool# libdts_la_SOURCES = bitstream.c parse.c downmix.c
--#libtool# libdts_la_LIBADD = $(LIBDTS_LIBS)
--#libtool# libdts_la_LDFLAGS = -no-undefined
-+lib_LTLIBRARIES = libdts.la
- 
--lib_LIBRARIES = libdts.a $(libdts_pic_a)
--libdts_a_SOURCES = bitstream.c parse.c downmix.c
-+libdts_la_SOURCES = bitstream.c parse.c downmix.c
-+libdts_la_LIBADD = $(LIBDTS_LIBS)
-+libdts_la_LDFLAGS = -no-undefined
- 
- pkgconfigdir = $(libdir)/pkgconfig
- pkgconfig_DATA = libdts.pc
- 
- EXTRA_DIST = configure.incl dts_internal.h bitstream.h tables.h tables_quantization.h tables_huffman.h tables_fir.h tables_adpcm.h tables_vq.h
- 
--if NEED_PIC
--libdts_pic_a = libdts_pic.a
--endif
--libdts_pic_a_SOURCES = $(libdts_a_SOURCES)
--libdts_pic_a_CPPFLAGS = -fPIC -DPIC
--
-Index: libdts-0.0.2/src/Makefile.am
-===================================================================
---- libdts-0.0.2.orig/src/Makefile.am
-+++ libdts-0.0.2/src/Makefile.am
-@@ -2,10 +2,8 @@ AM_CFLAGS = $(DTSDEC_CFLAGS)
- 
- bin_PROGRAMS = dtsdec extract_dts
- dtsdec_SOURCES = dtsdec.c getopt.c gettimeofday.c
--#libtool# dtsdec_LDADD = $(top_builddir)/libdts/libdts.la \
--#libtool#            $(top_builddir)/libao/libao.a $(LIBAO_LIBS)
--dtsdec_LDADD = $(top_builddir)/libdts/libdts.a \
--             $(top_builddir)/libao/libao.a $(LIBAO_LIBS)
-+dtsdec_LDADD = $(top_builddir)/libdts/libdts.la \
-+             $(top_builddir)/libao/libao.la $(LIBAO_LIBS)
- extract_dts_SOURCES = extract_dts.c getopt.c
- 
- man_MANS = dtsdec.1 extract_dts.1
-Index: libdts-0.0.2/libdts/configure.incl
-===================================================================
---- libdts-0.0.2.orig/libdts/configure.incl
-+++ libdts-0.0.2/libdts/configure.incl
-@@ -1,9 +1,6 @@
- AC_SUBST([LIBDTS_CFLAGS])
- AC_SUBST([LIBDTS_LIBS])
- 
--dnl avoid -fPIC when possible
--AC_LIBTOOL_NON_PIC([LIBDTS_CFLAGS="$LIBDTS_CFLAGS -prefer-non-pic"])
--
- AC_ARG_ENABLE([fixed],
-     [  --enable-fixed          use fixed-point (integer-based) arithmetic])
- AC_ARG_ENABLE([double],
-Index: libdts-0.0.2/libao/Makefile.am
-===================================================================
---- libdts-0.0.2.orig/libao/Makefile.am
-+++ libdts-0.0.2/libao/Makefile.am
-@@ -1,7 +1,7 @@
- AM_CFLAGS = $(OPT_CFLAGS)
- 
--noinst_LIBRARIES = libao.a
--libao_a_SOURCES = audio_out.c audio_out_null.c audio_out_float.c \
-+noinst_LTLIBRARIES = libao.la
-+libao_la_SOURCES = audio_out.c audio_out_null.c audio_out_float.c \
-                 audio_out_oss.c audio_out_solaris.c audio_out_al.c \
-                 audio_out_win.c audio_out_wav.c audio_out_aif.c \
-                 audio_out_peak.c convert2s16.c
diff --git a/media-libs/libdts/files/libdts-0.0.2-strict-aliasing.patch b/media-libs/libdts/files/libdts-0.0.2-strict-aliasing.patch
deleted file mode 100644 (file)
index 4a3e545..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-Index: libdts-0.0.2/libdts/bitstream.h
-===================================================================
---- libdts-0.0.2.orig/libdts/bitstream.h
-+++ libdts-0.0.2/libdts/bitstream.h
-@@ -28,22 +28,38 @@
- 
- #else
- 
--#   define swab32(x)\
--((((uint8_t*)&x)[0] << 24) | (((uint8_t*)&x)[1] << 16) |  \
-- (((uint8_t*)&x)[2] << 8)  | (((uint8_t*)&x)[3]))
-+static inline uint32_t swab32(uint32_t x) {
-+      union {
-+              uint32_t x32;
-+              uint8_t x8[4];
-+      } u;
-+      u.x32 = x;
-+      return u.x8[0] << 24 | u.x8[1] << 16 | u.x8[2] << 8 | u.x8[3];
-+}
- 
- #endif
- 
- #ifdef WORDS_BIGENDIAN
- 
--#   define swable32(x)\
--((((uint8_t*)&x)[0] << 16) | (((uint8_t*)&x)[1] << 24) |  \
-- (((uint8_t*)&x)[2])  | (((uint8_t*)&x)[3] << 8))
-+static inline uint32_t swable32(uint32_t x) {
-+      union {
-+              uint32_t x32;
-+              uint8_t x8[4];
-+      } u;
-+      u.x32 = x;
-+      return u.x8[0] << 16 | u.x8[1] << 24 | u.x8[2] | u.x8[3] << 8;
-+}
- 
- #else
- 
--#   define swable32(x)\
--((((uint16_t*)&x)[0] << 16) | (((uint16_t*)&x)[1]))
-+static inline uint32_t swable32(uint32_t x) {
-+      union {
-+              uint32_t x32;
-+              uint16_t x16[2];
-+      } u;
-+      u.x32 = x;
-+      return u.x16[0] << 16 | u.x16[1];
-+}
- 
- #endif
- 
-Index: libdts-0.0.2/libao/Makefile.am
-===================================================================
---- libdts-0.0.2.orig/libao/Makefile.am
-+++ libdts-0.0.2/libao/Makefile.am
-@@ -1,4 +1,4 @@
--AM_CFLAGS = $(OPT_CFLAGS)
-+AM_CFLAGS = $(OPT_CFLAGS) -fno-strict-aliasing
- 
- noinst_LIBRARIES = libao.a
- libao_a_SOURCES = audio_out.c audio_out_null.c audio_out_float.c \
diff --git a/media-libs/libdts/files/libdts-0.0.2-visibility.patch b/media-libs/libdts/files/libdts-0.0.2-visibility.patch
deleted file mode 100644 (file)
index e8cc1f1..0000000
+++ /dev/null
@@ -1,230 +0,0 @@
-Index: libdts-0.0.2/configure.ac
-===================================================================
---- libdts-0.0.2.orig/configure.ac
-+++ libdts-0.0.2/configure.ac
-@@ -139,4 +139,7 @@ builtin([include],[src/configure.incl])
- 
- AC_C_ATTRIBUTE_ALIGNED
- 
-+CC_ATTRIBUTE_VISIBILITY
-+CC_FLAG_VISIBILITY([CFLAGS="$CFLAGS -fvisibility=hidden"])
-+
- AC_OUTPUT
-Index: libdts-0.0.2/include/dts.h
-===================================================================
---- libdts-0.0.2.orig/include/dts.h
-+++ libdts-0.0.2/include/dts.h
-@@ -23,6 +23,14 @@
- #ifndef DTS_H
- #define DTS_H
- 
-+#ifndef EXPORTED
-+# ifdef SUPPORT_ATTRIBUTE_VISIBILITY
-+#  define EXPORTED __attribute__((visibility("default")))
-+# else
-+#  define EXPORTED
-+# endif
-+#endif
-+
- /* x86 accelerations */
- #define MM_ACCEL_X86_MMX      0x80000000
- #define MM_ACCEL_X86_3DNOW    0x40000000
-@@ -64,22 +72,22 @@ typedef struct dts_state_s dts_state_t;
- #define DTS_LFE 0x80
- #define DTS_ADJUST_LEVEL 0x100
- 
--dts_state_t * dts_init (uint32_t mm_accel);
-+dts_state_t * dts_init (uint32_t mm_accel) EXPORTED;
- 
- int dts_syncinfo (dts_state_t *state, uint8_t * buf, int * flags,
--                  int * sample_rate, int * bit_rate, int *frame_length);
-+                  int * sample_rate, int * bit_rate, int *frame_length) EXPORTED;
- 
- int dts_frame (dts_state_t * state, uint8_t * buf, int * flags,
--               level_t * level, sample_t bias);
-+               level_t * level, sample_t bias) EXPORTED;
- 
- void dts_dynrng (dts_state_t * state,
--                 level_t (* call) (level_t, void *), void * data);
-+                 level_t (* call) (level_t, void *), void * data) EXPORTED;
- 
--int dts_blocks_num (dts_state_t * state);
--int dts_block (dts_state_t * state);
-+int dts_blocks_num (dts_state_t * state) EXPORTED;
-+int dts_block (dts_state_t * state) EXPORTED;
- 
--sample_t * dts_samples (dts_state_t * state);
-+sample_t * dts_samples (dts_state_t * state) EXPORTED;
- 
--void dts_free (dts_state_t * state);
-+void dts_free (dts_state_t * state) EXPORTED;
- 
- #endif /* DTS_H */
-Index: libdts-0.0.2/m4/attributes.m4
-===================================================================
---- /dev/null
-+++ libdts-0.0.2/m4/attributes.m4
-@@ -0,0 +1,163 @@
-+# Functions to check for attributes support in compiler
-+
-+AC_DEFUN([CC_ATTRIBUTE_CONSTRUCTOR], [
-+      AC_CACHE_CHECK([if compiler supports __attribute__((constructor))],
-+              [cc_cv_attribute_constructor],
-+              [AC_COMPILE_IFELSE([
-+                      void ctor() __attribute__((constructor));
-+                      void ctor() { };
-+                      ],
-+                      [cc_cv_attribute_constructor=yes],
-+                      [cc_cv_attribute_constructor=no])
-+              ])
-+      
-+      if test "x$cc_cv_attribute_constructor" = "xyes"; then
-+              AC_DEFINE([SUPPORT_ATTRIBUTE_CONSTRUCTOR], 1, [Define this if the compiler supports the constructor attribute])
-+              $1
-+      else
-+              true
-+              $2
-+      fi
-+])
-+
-+AC_DEFUN([CC_ATTRIBUTE_FORMAT], [
-+      AC_CACHE_CHECK([if compiler supports __attribute__((format(printf, n, n)))],
-+              [cc_cv_attribute_format],
-+              [AC_COMPILE_IFELSE([
-+                      void __attribute__((format(printf, 1, 2))) printflike(const char *fmt, ...) { }
-+                      ],
-+                      [cc_cv_attribute_format=yes],
-+                      [cc_cv_attribute_format=no])
-+              ])
-+      
-+      if test "x$cc_cv_attribute_format" = "xyes"; then
-+              AC_DEFINE([SUPPORT_ATTRIBUTE_FORMAT], 1, [Define this if the compiler supports the format attribute])
-+              $1
-+      else
-+              true
-+              $2
-+      fi
-+])
-+
-+AC_DEFUN([CC_ATTRIBUTE_FORMAT_ARG], [
-+      AC_CACHE_CHECK([if compiler supports __attribute__((format_arg(printf)))],
-+              [cc_cv_attribute_format_arg],
-+              [AC_COMPILE_IFELSE([
-+                      void __attribute__((format_arg(printf, 1))) gettextlike(const char *fmt) { }
-+                      ],
-+                      [cc_cv_attribute_format_arg=yes],
-+                      [cc_cv_attribute_format_arg=no])
-+              ])
-+      
-+      if test "x$cc_cv_attribute_format_arg" = "xyes"; then
-+              AC_DEFINE([SUPPORT_ATTRIBUTE_FORMAT_ARG], 1, [Define this if the compiler supports the format_arg attribute])
-+              $1
-+      else
-+              true
-+              $2
-+      fi
-+])
-+
-+AC_DEFUN([CC_ATTRIBUTE_VISIBILITY], [
-+      AC_CACHE_CHECK([if compiler supports __attribute__((visibility("...")))],
-+              [cc_cv_attribute_visibility],
-+              [AC_COMPILE_IFELSE([
-+                      void __attribute__((visibility("internal"))) internal_function() { }
-+                      void __attribute__((visibility("hidden"))) hidden_function() { }
-+                      void __attribute__((visibility("default"))) external_function() { }
-+                      ],
-+                      [cc_cv_attribute_visibility=yes],
-+                      [cc_cv_attribute_visibility=no])
-+              ])
-+      
-+      if test "x$cc_cv_attribute_visibility" = "xyes"; then
-+              AC_DEFINE([SUPPORT_ATTRIBUTE_VISIBILITY], 1, [Define this if the compiler supports the visibility attribute])
-+              $1
-+      else
-+              true
-+              $2
-+      fi
-+])
-+
-+AC_DEFUN([CC_FLAG_VISIBILITY], [
-+      AC_CACHE_CHECK([if compiler supports -fvisibility=hidden],
-+              [cc_cv_flag_visibility],
-+              [
-+              save_CFLAGS=$CFLAGS
-+              CFLAGS="$CFLAGS -fvisibility=hidden"
-+              AC_COMPILE_IFELSE([int a;],
-+                      [cc_cv_flag_visibility=yes],
-+                      [cc_cv_flag_visibility=no])
-+              CFLAGS="$save_CFLAGS"
-+              ])
-+      
-+      if test "x$cc_cv_flag_visibility" = "xyes"; then
-+              AC_DEFINE([SUPPORT_FLAG_VISIBILITY], 1, [Define this if the compiler supports the -fvisibility flag])
-+              $1
-+      else
-+              true
-+              $2
-+      fi
-+])
-+
-+AC_DEFUN([CC_ATTRIBUTE_NONNULL], [
-+      AC_CACHE_CHECK([if compiler supports __attribute__((nonnull()))],
-+              [cc_cv_attribute_nonnull],
-+              [AC_COMPILE_IFELSE([
-+                      void some_function(void *foo, void *bar) __attribute__((nonnull()));
-+                      void some_function(void *foo, void *bar) { }
-+                      ],
-+                      [cc_cv_attribute_nonnull=yes],
-+                      [cc_cv_attribute_nonnull=no])
-+              ])
-+      
-+      if test "x$cc_cv_attribute_nonnull" = "xyes"; then
-+              AC_DEFINE([SUPPORT_ATTRIBUTE_NONNULL], 1, [Define this if the compiler supports the nonnull attribute])
-+              $1
-+      else
-+              true
-+              $2
-+      fi
-+])
-+
-+AC_DEFUN([CC_ATTRIBUTE_UNUSED], [
-+      AC_CACHE_CHECK([if compiler supports __attribute__((unused))],
-+              [cc_cv_attribute_unused],
-+              [AC_COMPILE_IFELSE([
-+                      void some_function(void *foo, __attribute__((unused)) void *bar);
-+                      ],
-+                      [cc_cv_attribute_unused=yes],
-+                      [cc_cv_attribute_unused=no])
-+              ])
-+      
-+      if test "x$cc_cv_attribute_unused" = "xyes"; then
-+              AC_DEFINE([SUPPORT_ATTRIBUTE_UNUSED], 1, [Define this if the compiler supports the unused attribute])
-+              $1
-+      else
-+              true
-+              $2
-+      fi
-+])
-+
-+AC_DEFUN([CC_FUNC_EXPECT], [
-+      AC_CACHE_CHECK([if compiler has __builtin_expect function],
-+              [cc_cv_func_expect],
-+              [AC_COMPILE_IFELSE([
-+                      int some_function()
-+                      {
-+                              int a = 3;
-+                              return (int)__builtin_expect(a, 3);
-+                      }
-+                      ],
-+                      [cc_cv_func_expect=yes],
-+                      [cc_cv_func_expect=no])
-+              ])
-+      
-+      if test "x$cc_cv_func_expect" = "xyes"; then
-+              AC_DEFINE([SUPPORT__BUILTIN_EXPECT], 1, [Define this if the compiler supports __builtin_expect() function])
-+              $1
-+      else
-+              true
-+              $2
-+      fi
-+])
diff --git a/media-libs/libdts/libdts-0.0.2-r5.ebuild b/media-libs/libdts/libdts-0.0.2-r5.ebuild
deleted file mode 100644 (file)
index 9092433..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libdts/libdts-0.0.2-r5.ebuild,v 1.10 2006/10/20 21:44:36 kloeri Exp $
-
-WANT_AUTOCONF="latest"
-WANT_AUTOMAKE="latest"
-
-inherit eutils toolchain-funcs autotools
-
-DESCRIPTION="library for decoding DTS Coherent Acoustics streams used in DVD"
-HOMEPAGE="http://www.videolan.org/dtsdec.html"
-SRC_URI="http://www.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd"
-IUSE="oss debug"
-RESTRICT="test"
-
-src_unpack() {
-       unpack ${A}
-       cd "${S}"
-       mkdir "${S}/m4"
-
-       epatch "${FILESDIR}/${P}-strict-aliasing.patch"
-       epatch "${FILESDIR}/${P}-libtool.patch"
-       epatch "${FILESDIR}/${P}-freebsd.patch"
-       [[ $(gcc-major-version)$(gcc-minor-version) -ge 41 ]] && \
-               epatch "${FILESDIR}/${P}-visibility.patch"
-
-       AT_M4DIR="m4" eautoreconf
-}
-
-src_compile() {
-       econf $(use_enable oss) $(use_enable debug) || die
-       emake OPT_CFLAGS="" || die "emake failed"
-}
-
-src_install() {
-       emake DESTDIR="${D}" install || die
-       dodoc AUTHORS ChangeLog NEWS README TODO doc/libdts.txt
-}
diff --git a/media-libs/libdts/metadata.xml b/media-libs/libdts/metadata.xml
deleted file mode 100644 (file)
index e1774e3..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>sound</herd>
-</pkgmetadata>