summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2007-09-29 10:40:39 +0000
committerSamuli Suominen <drac@gentoo.org>2007-09-29 10:40:39 +0000
commit6897645fbc9f4a49eb1445ea050d640a0e6e0ecc (patch)
treeb5caeb89c24dc2280db484a4ff56fd901313eb8e /media-plugins/gst-plugins-a52dec
parentRemoving GStreamer 0.8 and unused 0.10 versions, patches. (diff)
downloadgentoo-2-6897645fbc9f4a49eb1445ea050d640a0e6e0ecc.tar.gz
gentoo-2-6897645fbc9f4a49eb1445ea050d640a0e6e0ecc.tar.bz2
gentoo-2-6897645fbc9f4a49eb1445ea050d640a0e6e0ecc.zip
Removing GStreamer 0.8 and unused 0.10 versions, patches.
(Portage version: 2.1.3.11)
Diffstat (limited to 'media-plugins/gst-plugins-a52dec')
-rw-r--r--media-plugins/gst-plugins-a52dec/files/digest-gst-plugins-a52dec-0.10.4-r13
-rw-r--r--media-plugins/gst-plugins-a52dec/files/digest-gst-plugins-a52dec-0.8.116
-rw-r--r--media-plugins/gst-plugins-a52dec/files/digest-gst-plugins-a52dec-0.8.123
-rw-r--r--media-plugins/gst-plugins-a52dec/files/gsta52-audio-volume.patch207
-rw-r--r--media-plugins/gst-plugins-a52dec/gst-plugins-a52dec-0.10.4-r1.ebuild20
-rw-r--r--media-plugins/gst-plugins-a52dec/gst-plugins-a52dec-0.8.11.ebuild10
-rw-r--r--media-plugins/gst-plugins-a52dec/gst-plugins-a52dec-0.8.12.ebuild10
7 files changed, 0 insertions, 259 deletions
diff --git a/media-plugins/gst-plugins-a52dec/files/digest-gst-plugins-a52dec-0.10.4-r1 b/media-plugins/gst-plugins-a52dec/files/digest-gst-plugins-a52dec-0.10.4-r1
deleted file mode 100644
index aebedd2db84a..000000000000
--- a/media-plugins/gst-plugins-a52dec/files/digest-gst-plugins-a52dec-0.10.4-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 c10f40e3641d827ca7853b0a3d560257 gst-plugins-ugly-0.10.4.tar.bz2 720893
-RMD160 0651853d7d36bda9d267ca3cecfb6cead95a3e6e gst-plugins-ugly-0.10.4.tar.bz2 720893
-SHA256 4871c52b2421b582330a0f9dc6a42da3b706140c346aa0cd690eb40758afe152 gst-plugins-ugly-0.10.4.tar.bz2 720893
diff --git a/media-plugins/gst-plugins-a52dec/files/digest-gst-plugins-a52dec-0.8.11 b/media-plugins/gst-plugins-a52dec/files/digest-gst-plugins-a52dec-0.8.11
deleted file mode 100644
index d30f6bd8cca1..000000000000
--- a/media-plugins/gst-plugins-a52dec/files/digest-gst-plugins-a52dec-0.8.11
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 35aea4e2860ff5c9a86c3fca0ec07295 gst-plugins-0.8.11-conffix.patch.bz2 463
-RMD160 070ca474768776984765390d97d02de8e62376ff gst-plugins-0.8.11-conffix.patch.bz2 463
-SHA256 c8b6e6d7e231b69be598a5cedef278716bb71eec0136500946490ef992bc48de gst-plugins-0.8.11-conffix.patch.bz2 463
-MD5 ea787eeed3761ff03cb60ecebebe1c30 gst-plugins-0.8.11.tar.bz2 2439654
-RMD160 833aec123a52cd0f36ec883c349cc8d69090d749 gst-plugins-0.8.11.tar.bz2 2439654
-SHA256 0e48eef1d3bfa2263c1047f9f84622a4e16e33d963252cb8153ff1b340c4ba90 gst-plugins-0.8.11.tar.bz2 2439654
diff --git a/media-plugins/gst-plugins-a52dec/files/digest-gst-plugins-a52dec-0.8.12 b/media-plugins/gst-plugins-a52dec/files/digest-gst-plugins-a52dec-0.8.12
deleted file mode 100644
index 2835eef1c17c..000000000000
--- a/media-plugins/gst-plugins-a52dec/files/digest-gst-plugins-a52dec-0.8.12
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 c5cb7312d96fe008763b3ac56e665ca5 gst-plugins-0.8.12.tar.bz2 2506926
-RMD160 cc0bbf3d790cb5791ce982fe6493bf2d8496a507 gst-plugins-0.8.12.tar.bz2 2506926
-SHA256 8728da4f71bc87e10fb064d28154220d66a3d8332482fd2c8a7ed47c5f0a03ba gst-plugins-0.8.12.tar.bz2 2506926
diff --git a/media-plugins/gst-plugins-a52dec/files/gsta52-audio-volume.patch b/media-plugins/gst-plugins-a52dec/files/gsta52-audio-volume.patch
deleted file mode 100644
index 50139c6e0da5..000000000000
--- a/media-plugins/gst-plugins-a52dec/files/gsta52-audio-volume.patch
+++ /dev/null
@@ -1,207 +0,0 @@
-diff -Naur gst-plugins-ugly-0.10.4-orig/ext/a52dec/gsta52dec.c gst-plugins-ugly-0.10.4/ext/a52dec/gsta52dec.c
---- gst-plugins-ugly-0.10.4-orig/ext/a52dec/gsta52dec.c 2006-11-01 17:38:01.647477958 +0100
-+++ gst-plugins-ugly-0.10.4/ext/a52dec/gsta52dec.c 2006-11-01 17:38:07.821539358 +0100
-@@ -58,7 +58,9 @@
- enum
- {
- ARG_0,
-- ARG_DRC
-+ ARG_DRC,
-+ ARG_MODE,
-+ ARG_LFE,
- };
-
- static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE ("sink",
-@@ -94,6 +96,30 @@
-
- static GstElementClass *parent_class = NULL;
-
-+#define GST_TYPE_A52DEC_MODE (gst_a52dec_mode_get_type())
-+static GType
-+gst_a52dec_mode_get_type (void)
-+{
-+ static GType a52dec_mode_type = 0;
-+ static const GEnumValue a52dec_modes[] = {
-+ {A52_MONO, "Mono", "mono"},
-+ {A52_STEREO, "Stereo", "stereo"},
-+ {A52_3F, "3 Front", "3f"},
-+ {A52_2F1R, "2 Front, 1 Rear", "2f1r"},
-+ {A52_3F1R, "3 Front, 1 Rear", "3f1r"},
-+ {A52_2F2R, "2 Front, 2 Rear", "2f2r"},
-+ {A52_3F2R, "3 Front, 2 Rear", "3f2r"},
-+ {A52_DOLBY, "Dolby", "dolby"},
-+ {0, NULL, NULL},
-+ };
-+
-+ if (!a52dec_mode_type) {
-+ a52dec_mode_type = g_enum_register_static ("GstA52DecMode", a52dec_modes);
-+ }
-+ return a52dec_mode_type;
-+}
-+
-+
- GType
- gst_a52dec_get_type (void)
- {
-@@ -153,6 +179,11 @@
- g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_DRC,
- g_param_spec_boolean ("drc", "Dynamic Range Compression",
- "Use Dynamic Range Compression", FALSE, G_PARAM_READWRITE));
-+ g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_MODE,
-+ g_param_spec_enum ("mode", "Decoder Mode", "Decoding Mode (default 3f2r)",
-+ GST_TYPE_A52DEC_MODE, A52_3F2R, G_PARAM_READWRITE));
-+ g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_LFE,
-+ g_param_spec_boolean ("lfe", "LFE", "LFE", TRUE, G_PARAM_READWRITE));
-
- oil_init ();
-
-@@ -191,6 +222,7 @@
- gst_pad_use_fixed_caps (a52dec->srcpad);
- gst_element_add_pad (GST_ELEMENT (a52dec), a52dec->srcpad);
-
-+ a52dec->request_channels = A52_CHANNEL;
- a52dec->dynamic_range_compression = FALSE;
- a52dec->cache = NULL;
- }
-@@ -268,6 +300,12 @@
- }
- chans += 2;
- break;
-+ case A52_MONO:
-+ if (pos) {
-+ pos[0 + chans] = GST_AUDIO_CHANNEL_POSITION_FRONT_MONO;
-+ }
-+ chans += 1;
-+ break;
- default:
- /* error, caller should post error message */
- g_free (pos);
-@@ -441,6 +479,49 @@
- gst_a52dec_update_streaminfo (a52dec);
- }
-
-+ /* If we haven't had an explicit number of channels chosen through properties
-+ * at this point, choose what to downmix to now, based on what the peer will
-+ * accept - this allows a52dec to do downmixing in preference to a
-+ * downstream element such as audioconvert.
-+ */
-+ if (a52dec->request_channels == A52_CHANNEL) {
-+ GstCaps *caps;
-+
-+ caps = gst_pad_get_allowed_caps (a52dec->srcpad);
-+ if (caps && gst_caps_get_size (caps) > 0) {
-+ GstCaps *copy = gst_caps_copy_nth (caps, 0);
-+ GstStructure *structure = gst_caps_get_structure (copy, 0);
-+ gint channels;
-+ const int a52_channels[6] = {
-+ A52_MONO,
-+ A52_STEREO,
-+ A52_STEREO | A52_LFE,
-+ A52_2F2R,
-+ A52_2F2R | A52_LFE,
-+ A52_3F2R | A52_LFE,
-+ };
-+
-+ /* Prefer the original number of channels, but fixate to something
-+ * preferred (first in the caps) downstream if possible.
-+ */
-+ gst_structure_fixate_field_nearest_int (structure, "channels",
-+ flags ? gst_a52dec_channels (flags, NULL) : 6);
-+ gst_structure_get_int (structure, "channels", &channels);
-+ if (channels <= 6)
-+ a52dec->request_channels = a52_channels[channels - 1];
-+ else
-+ a52dec->request_channels = a52_channels[5];
-+
-+ gst_caps_unref (copy);
-+ } else if (flags)
-+ a52dec->request_channels = a52dec->stream_channels;
-+ else
-+ a52dec->request_channels = A52_3F2R | A52_LFE;
-+
-+ if (caps)
-+ gst_caps_unref (caps);
-+ }
-+
- /* process */
- flags = a52dec->request_channels; /* | A52_ADJUST_LEVEL; */
- a52dec->level = 1;
-@@ -681,7 +762,6 @@
- a52dec->bit_rate = -1;
- a52dec->sample_rate = -1;
- a52dec->stream_channels = A52_CHANNEL;
-- a52dec->request_channels = A52_3F2R | A52_LFE;
- a52dec->using_channels = A52_CHANNEL;
- a52dec->level = 1;
- a52dec->bias = 0;
-@@ -729,6 +809,18 @@
- src->dynamic_range_compression = g_value_get_boolean (value);
- GST_OBJECT_UNLOCK (src);
- break;
-+ case ARG_MODE:
-+ GST_OBJECT_LOCK (src);
-+ src->request_channels &= ~A52_CHANNEL_MASK;
-+ src->request_channels |= g_value_get_enum (value);
-+ GST_OBJECT_UNLOCK (src);
-+ break;
-+ case ARG_LFE:
-+ GST_OBJECT_LOCK (src);
-+ src->request_channels &= ~A52_LFE;
-+ src->request_channels |= g_value_get_boolean (value) ? A52_LFE : 0;
-+ GST_OBJECT_UNLOCK (src);
-+ break;
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
- break;
-@@ -747,6 +839,16 @@
- g_value_set_boolean (value, src->dynamic_range_compression);
- GST_OBJECT_UNLOCK (src);
- break;
-+ case ARG_MODE:
-+ GST_OBJECT_LOCK (src);
-+ g_value_set_enum (value, src->request_channels & A52_CHANNEL_MASK);
-+ GST_OBJECT_UNLOCK (src);
-+ break;
-+ case ARG_LFE:
-+ GST_OBJECT_LOCK (src);
-+ g_value_set_boolean (value, src->request_channels & A52_LFE);
-+ GST_OBJECT_UNLOCK (src);
-+ break;
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
- break;
-diff -Naur gst-plugins-ugly-0.10.4-orig/ext/a52dec/gsta52dec.h gst-plugins-ugly-0.10.4/ext/a52dec/gsta52dec.h
---- gst-plugins-ugly-0.10.4-orig/ext/a52dec/gsta52dec.h 2006-11-01 17:38:01.658476286 +0100
-+++ gst-plugins-ugly-0.10.4/ext/a52dec/gsta52dec.h 2006-11-01 17:38:07.822539206 +0100
-@@ -73,6 +73,31 @@
-
- GType gst_a52dec_get_type (void);
-
-+#ifndef A52_MONO
-+#define A52_MONO 1
-+#endif
-+#ifndef A52_STEREO
-+#define A52_STEREO 2
-+#endif
-+#ifndef A52_3F
-+#define A52_3F 3
-+#endif
-+#ifndef A52_2F1R
-+#define A52_2F1R 4
-+#endif
-+#ifndef A52_3F1R
-+#define A52_3F1R 5
-+#endif
-+#ifndef A52_2F2R
-+#define A52_2F2R 6
-+#endif
-+#ifndef A52_3F2R
-+#define A52_3F2R 7
-+#endif
-+#ifndef A52_DOLBY
-+#define A52_DOLBY 10
-+#endif
-+
- G_END_DECLS
-
- #endif /* __GST_A52DEC_H__ */
diff --git a/media-plugins/gst-plugins-a52dec/gst-plugins-a52dec-0.10.4-r1.ebuild b/media-plugins/gst-plugins-a52dec/gst-plugins-a52dec-0.10.4-r1.ebuild
deleted file mode 100644
index d768a6dcbcfc..000000000000
--- a/media-plugins/gst-plugins-a52dec/gst-plugins-a52dec-0.10.4-r1.ebuild
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-a52dec/gst-plugins-a52dec-0.10.4-r1.ebuild,v 1.2 2007/02/16 13:09:15 uberlord Exp $
-
-inherit gst-plugins-ugly
-
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE=""
-
-RDEPEND=">=media-libs/a52dec-0.7.3
- >=media-libs/gst-plugins-base-0.10.3
- >=media-libs/gstreamer-0.10.3"
-
-DEPEND="${RDEPEND}"
-
-src_unpack() {
- gst-plugins-ugly_src_unpack
- cd ${S}
- epatch ${FILESDIR}/gsta52-audio-volume.patch
-}
diff --git a/media-plugins/gst-plugins-a52dec/gst-plugins-a52dec-0.8.11.ebuild b/media-plugins/gst-plugins-a52dec/gst-plugins-a52dec-0.8.11.ebuild
deleted file mode 100644
index d0cacf6ece08..000000000000
--- a/media-plugins/gst-plugins-a52dec/gst-plugins-a52dec-0.8.11.ebuild
+++ /dev/null
@@ -1,10 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-a52dec/gst-plugins-a52dec-0.8.11.ebuild,v 1.12 2007/07/10 23:08:59 mr_bones_ Exp $
-
-inherit gst-plugins
-
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86"
-IUSE=""
-
-DEPEND=">=media-libs/a52dec-0.7.3"
diff --git a/media-plugins/gst-plugins-a52dec/gst-plugins-a52dec-0.8.12.ebuild b/media-plugins/gst-plugins-a52dec/gst-plugins-a52dec-0.8.12.ebuild
deleted file mode 100644
index 94574a4e987e..000000000000
--- a/media-plugins/gst-plugins-a52dec/gst-plugins-a52dec-0.8.12.ebuild
+++ /dev/null
@@ -1,10 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-a52dec/gst-plugins-a52dec-0.8.12.ebuild,v 1.4 2007/07/10 23:08:59 mr_bones_ Exp $
-
-inherit gst-plugins
-
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
-IUSE=""
-
-DEPEND=">=media-libs/a52dec-0.7.3"