diff options
author | Zaheer Abbas Merali <zaheerm@gentoo.org> | 2005-06-08 11:51:08 +0000 |
---|---|---|
committer | Zaheer Abbas Merali <zaheerm@gentoo.org> | 2005-06-08 11:51:08 +0000 |
commit | 59786f8f089583e606bc4cca0d2f30f0c44eaf47 (patch) | |
tree | 58cb3e46600f04a56e4038a8ead9dab4e99108c9 /media-libs | |
parent | Preparing for vlc-0.8.2_beta2: updated use.local descriptions and hardmasked. (diff) | |
download | gentoo-2-59786f8f089583e606bc4cca0d2f30f0c44eaf47.tar.gz gentoo-2-59786f8f089583e606bc4cca0d2f30f0c44eaf47.tar.bz2 gentoo-2-59786f8f089583e606bc4cca0d2f30f0c44eaf47.zip |
upgrading to 0.8.9
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/gst-plugins/ChangeLog | 5 | ||||
-rw-r--r-- | media-libs/gst-plugins/Manifest | 27 | ||||
-rw-r--r-- | media-libs/gst-plugins/files/digest-gst-plugins-0.8.9 | 1 | ||||
-rw-r--r-- | media-libs/gst-plugins/files/gst-plugins-0.8.9-ximagefix.patch | 76 | ||||
-rw-r--r-- | media-libs/gst-plugins/gst-plugins-0.8.9.ebuild | 87 |
5 files changed, 183 insertions, 13 deletions
diff --git a/media-libs/gst-plugins/ChangeLog b/media-libs/gst-plugins/ChangeLog index 4aad7c12ee50..4406b6e3002f 100644 --- a/media-libs/gst-plugins/ChangeLog +++ b/media-libs/gst-plugins/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-libs/gst-plugins # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/gst-plugins/ChangeLog,v 1.106 2005/06/06 10:03:05 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/gst-plugins/ChangeLog,v 1.107 2005/06/08 11:51:08 zaheerm Exp $ + + 08 Jun 2005; Zaheer Abbas Merali <zaheerm@gentoo.org> : + Updating to 0.8.9 06 Jun 2005; Markus Rothe <corsair@gentoo.org> gst-plugins-0.8.8-r2.ebuild: diff --git a/media-libs/gst-plugins/Manifest b/media-libs/gst-plugins/Manifest index a53721fb82c5..13a66fb1d274 100644 --- a/media-libs/gst-plugins/Manifest +++ b/media-libs/gst-plugins/Manifest @@ -1,24 +1,27 @@ -MD5 1e25508be463c0292a92bd3fe746fc1b ChangeLog 14520 -MD5 4d7330ab641498e301c9b0697bc9c8bf gst-plugins-0.8.1.ebuild 2253 -MD5 d7cacbfacbedd2429f72181c730b6ee8 gst-plugins-0.8.2.ebuild 1869 -MD5 3e6a724afd82f75a69f551d4b976303b gst-plugins-0.8.3.ebuild 1869 -MD5 cc26e45cd840601105c37359fc434a8c gst-plugins-0.8.5-r1.ebuild 2020 MD5 d8d8df9fa1d27db4e838fe5f88469c37 gst-plugins-0.8.7.ebuild 2013 -MD5 d4dde2cb238164f6f0e2a4b64ae52daa gst-plugins-0.8.8-r1.ebuild 2037 +MD5 d7cacbfacbedd2429f72181c730b6ee8 gst-plugins-0.8.2.ebuild 1869 +MD5 fd4e70a44a88034a7fcb1c3da81aa29c gst-plugins-0.8.9.ebuild 2047 MD5 bc022a6266e274f530cc331e0c58af9c gst-plugins-0.8.8-r2.ebuild 2166 +MD5 4d7330ab641498e301c9b0697bc9c8bf gst-plugins-0.8.1.ebuild 2253 +MD5 cc26e45cd840601105c37359fc434a8c gst-plugins-0.8.5-r1.ebuild 2020 +MD5 96a26f6716c79d81bb57500cbd5961f2 ChangeLog 14599 MD5 f7cda973aab228bdbbf67f9867e287d4 gst-plugins-0.8.8.ebuild 1933 +MD5 3e6a724afd82f75a69f551d4b976303b gst-plugins-0.8.3.ebuild 1869 MD5 6cf6f97e79b43eaf70fa938c431342a3 metadata.xml 181 +MD5 d4dde2cb238164f6f0e2a4b64ae52daa gst-plugins-0.8.8-r1.ebuild 2037 +MD5 acf565d7ba42d81f95f66ad754ab8be9 files/digest-gst-plugins-0.8.5-r1 71 +MD5 33cfc77852e050bbb91b003695c91131 files/digest-gst-plugins-0.8.8-r1 71 +MD5 33cfc77852e050bbb91b003695c91131 files/digest-gst-plugins-0.8.8-r2 71 +MD5 08ef8415d9778f702053aa3e0090404b files/gst-plugins-0.8.9-ximagefix.patch 2525 MD5 d454a981aba7bfc51b76556d18ef0357 files/digest-gst-plugins-0.8.1 71 MD5 fdc36508749cec2850c94b4bff5cc0a2 files/digest-gst-plugins-0.8.2 71 MD5 b34b0c2aff88ed12404f38ecc09f44f0 files/digest-gst-plugins-0.8.3 71 -MD5 acf565d7ba42d81f95f66ad754ab8be9 files/digest-gst-plugins-0.8.5-r1 71 MD5 1d2b17e15b2072757c3db8f184b7d174 files/digest-gst-plugins-0.8.7 71 MD5 33cfc77852e050bbb91b003695c91131 files/digest-gst-plugins-0.8.8 71 -MD5 33cfc77852e050bbb91b003695c91131 files/digest-gst-plugins-0.8.8-r1 71 -MD5 33cfc77852e050bbb91b003695c91131 files/digest-gst-plugins-0.8.8-r2 71 -MD5 c6e69d419de61401529c6e3000271e1b files/gst-plugins-0.8.0-audioconvert_stereo.patch 4437 -MD5 187dd1210be84f747699a2d2bd11fd0b files/gst-plugins-0.8.5-tcp.patch 1059 +MD5 c6551068a03bbc459e7e798d919c744a files/digest-gst-plugins-0.8.9 71 MD5 a440c49c40c858da65d86ca58adc280d files/gst-plugins-0.8.7-gcc2.patch 1565 +MD5 04bb0cdc1431b53db92b658a3c9fa6dd files/noppcasm.patch 1431 MD5 047909fa0e548bb37041ef3b534f7a30 files/gst-plugins-0.8.8-gstplaybin_subfont.patch 3927 +MD5 187dd1210be84f747699a2d2bd11fd0b files/gst-plugins-0.8.5-tcp.patch 1059 +MD5 c6e69d419de61401529c6e3000271e1b files/gst-plugins-0.8.0-audioconvert_stereo.patch 4437 MD5 2a2cbe69a3c199ac03a66ae707700d70 files/gst-plugins-0.8.8-qtdemux.diff.gz 5379 -MD5 04bb0cdc1431b53db92b658a3c9fa6dd files/noppcasm.patch 1431 diff --git a/media-libs/gst-plugins/files/digest-gst-plugins-0.8.9 b/media-libs/gst-plugins/files/digest-gst-plugins-0.8.9 new file mode 100644 index 000000000000..346795226dc3 --- /dev/null +++ b/media-libs/gst-plugins/files/digest-gst-plugins-0.8.9 @@ -0,0 +1 @@ +MD5 663461ef7b16e9bd7f2605e4ed0db5ba gst-plugins-0.8.9.tar.bz2 2356958 diff --git a/media-libs/gst-plugins/files/gst-plugins-0.8.9-ximagefix.patch b/media-libs/gst-plugins/files/gst-plugins-0.8.9-ximagefix.patch new file mode 100644 index 000000000000..c1dd127f37ca --- /dev/null +++ b/media-libs/gst-plugins/files/gst-plugins-0.8.9-ximagefix.patch @@ -0,0 +1,76 @@ +=================================================================== +RCS file: /cvs/gstreamer/gst-plugins/sys/ximage/Attic/ximagesrc.c,v +rcsdiff: /cvs/gstreamer/gst-plugins/sys/ximage/Attic/ximagesrc.c,v: warning: Unknown phrases like `commitid ...;' are present. +retrieving revision 1.1.2.2 +retrieving revision 1.1.2.3 +diff -u -r1.1.2.2 -r1.1.2.3 +--- ximagesrc.c 2005/05/25 11:36:11 1.1.2.2 ++++ ximagesrc.c 2005/06/03 10:53:19 1.1.2.3 +@@ -153,8 +153,9 @@ + "width", G_TYPE_INT, s->width, + "height", G_TYPE_INT, s->height, + "framerate", GST_TYPE_DOUBLE_RANGE, 1., 100., NULL); +- else +- return gst_caps_new_empty (); ++ ++ return gst_caps_copy (gst_pad_template_get_caps (gst_static_pad_template_get ++ (&gst_ximagesrc_src_template_factory))); + } + + static GstPadLinkReturn +@@ -225,6 +226,16 @@ + case GST_STATE_PAUSED_TO_READY: + s->frame = 0; + break; ++ case GST_STATE_NULL_TO_READY: ++ if (!(s->display = XOpenDisplay (g_getenv ("DISPLAY")))) { ++ GST_ELEMENT_ERROR (element, RESOURCE, OPEN_READ, (NULL), (NULL)); ++ return GST_STATE_FAILURE; ++ } ++ break; ++ case GST_STATE_READY_TO_NULL: ++ XCloseDisplay (s->display); ++ s->display = NULL; ++ break; + default: + break; + } +@@ -248,7 +259,7 @@ + gst_pad_set_get_function (pad, gst_ximagesrc_get); + gst_element_add_pad (GST_ELEMENT (s), pad); + +- s->display = XOpenDisplay (NULL); ++ s->display = NULL; + s->framerate = 10.; + s->clock = NULL; + s->sync = DEFAULT_PROP_SYNC; +@@ -290,7 +301,11 @@ + + switch (prop_id) { + case PROP_DISPLAY_NAME: +- g_value_set_string (value, DisplayString (src->display)); ++ if (src->display) { ++ g_value_set_string (value, DisplayString (src->display)); ++ } else { ++ g_value_set_string (value, NULL); ++ } + break; + case PROP_SCREEN_NUM: + g_value_set_uint (value, src->screen_num); +@@ -309,8 +324,6 @@ + { + GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); + +- element_class->change_state = gst_ximagesrc_change_state; +- + gst_element_class_set_details (element_class, &ximagesrc_details); + + gst_element_class_add_pad_template (element_class, +@@ -354,6 +367,7 @@ + gobject_class->get_property = gst_ximagesrc_get_property; + gobject_class->finalize = gst_ximagesrc_finalize; + ++ gstelement_class->change_state = gst_ximagesrc_change_state; + gstelement_class->set_clock = gst_ximagesrc_set_clock; + + GST_DEBUG_CATEGORY_INIT (ximagesrc_debug, "ximagesrc", 0, diff --git a/media-libs/gst-plugins/gst-plugins-0.8.9.ebuild b/media-libs/gst-plugins/gst-plugins-0.8.9.ebuild new file mode 100644 index 000000000000..33586dd85df5 --- /dev/null +++ b/media-libs/gst-plugins/gst-plugins-0.8.9.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/gst-plugins/gst-plugins-0.8.9.ebuild,v 1.1 2005/06/08 11:51:08 zaheerm Exp $ + +# order is important, gnome2 after gst-plugins +inherit gst-plugins gnome2 eutils flag-o-matic libtool + +DESCRIPTION="Basepack of plugins for gstreamer" +HOMEPAGE="http://gstreamer.net/" +SRC_URI="http://gstreamer.freedesktop.org/src/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~amd64 ~ia64 ~mips ~arm ~ppc64" +IUSE="esd alsa oss" + +RDEPEND=">=media-libs/gstreamer-0.8.9 + >=gnome-base/gconf-1.2" + +DEPEND="${RDEPEND} + >=sys-devel/gettext-0.11.5 + >=dev-util/pkgconfig-0.9" + +PDEPEND="oss? ( >=media-plugins/gst-plugins-oss-${PV} ) + alsa? ( >=media-plugins/gst-plugins-alsa-${PV} ) + esd? ( >=media-plugins/gst-plugins-esd-${PV} )" + +# we need x for the x overlay to get linked +GST_PLUGINS_BUILD="x xshm" + +# overrides the eclass +src_unpack() { + unpack ${A} + + # fix ximagesrc to work in gst-inspect + cd ${S}/sys/ximage + epatch ${FILESDIR}/${P}-ximagefix.patch + +} + +src_compile() { + + elibtoolize + + # gst doesnt handle optimisations well + strip-flags + replace-flags "-O3" "-O2" + filter-flags "-fprefetch-loop-arrays" # see bug 22249 + if use alpha || use amd64 || use ia64 || use hppa; then + append-flags -fPIC + fi + + gst-plugins_src_configure + + emake || die + +} + +# override eclass +src_install() { + + gnome2_src_install + +} + +DOCS="AUTHORS INSTALL README RELEASE TODO" + +pkg_postinst () { + + gnome2_pkg_postinst + gst-plugins_pkg_postinst + + echo "" + einfo "The Gstreamer plugins setup has changed quite a bit on Gentoo," + einfo "applications now should provide the basic plugins needed." + echo "" + einfo "The new seperate plugins are all named 'gst-plugins-<plugin>'." + einfo "To get a listing of currently available plugins execute 'emerge -s gst-plugins-'." + einfo "In most cases it shouldn't be needed though to emerge extra plugins." + +} + +pkg_postrm() { + + gnome2_pkg_postrm + gst-plugins_pkg_postrm + +} |