Accepting request 78458 from home:dimstar:branches:multimedia:libs

Gstreamer 0.11 base plugins develepmont branch. Parallel installable to 0.10; Package renamed from gstreamer-0_10 to gstreamer; the version should just not be part of the name (Do not submit to Factory yet.. it's too early)

OBS-URL: https://build.opensuse.org/request/show/78458
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-base?expand=0&rev=1
This commit is contained in:
Cristian Rodríguez 2011-08-17 21:41:23 +00:00 committed by Git OBS Bridge
commit ccb7734516
7 changed files with 1587 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

5
baselibs.conf Normal file
View File

@ -0,0 +1,5 @@
gstreamer-0_10-plugins-base
provides "gstreamer010-plugins-base-<targettype> = <version>"
obsoletes "gstreamer010-plugins-base-<targettype> <= <version>"
libgstinterfaces-0_10-0
libgstapp-0_10-0

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a4dc0dc87015c35fccec9a80eadb112276e80ca13796e02b946e7c64b282c0ae
size 2606484

View File

@ -0,0 +1,25 @@
From 2d1ffa68a9970e3f67233bfbeeb5baf1ed913b53 Mon Sep 17 00:00:00 2001
From: Tim-Philipp Müller <tim.muller@collabora.co.uk>
Date: Tue, 09 Aug 2011 15:41:01 +0000
Subject: xmptag: fix compiler warning in release mode
Fix compiler warning caused by g_assert_not_reached() being skipped
because releases are compiled with -DG_DISABLE_ASSERT.
https://bugzilla.gnome.org/show_bug.cgi?id=656264
---
diff --git a/gst-libs/gst/tag/gstxmptag.c b/gst-libs/gst/tag/gstxmptag.c
index 4045ef5..0c178b4 100644
--- a/gst-libs/gst/tag/gstxmptag.c
+++ b/gst-libs/gst/tag/gstxmptag.c
@@ -175,6 +175,7 @@ xmp_tag_type_get_name (GstXmpTagType tagtype)
default:
g_assert_not_reached ();
}
+ return NULL; /* make compiler happy with -DG_DISABLE_ASSERT */
}
struct _PendingXmpTag
--
cgit v0.8.3-6-g21f6

File diff suppressed because it is too large Load Diff

302
gstreamer-plugins-base.spec Normal file
View File

@ -0,0 +1,302 @@
#
# spec file for package gstreamer-0_10-plugins-base
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
%define build_v4l 0%{?suse_version} <= 1140
%define with_vfs 0
Name: gstreamer-plugins-base
%define _name gst-plugins-base
Version: 0.11.0
Release: 1
%define gst_branch 0.11
BuildRequires: alsa-devel
BuildRequires: cdparanoia-devel
BuildRequires: check-devel
%if %{with_vfs}
BuildRequires: gnome-vfs2-devel
%endif
BuildRequires: gstreamer-devel
BuildRequires: gtk-doc
BuildRequires: gtk2-devel
BuildRequires: iso-codes-devel
BuildRequires: krb5
%if %suse_version > 1110
BuildRequires: libgudev-1_0-devel
%endif
BuildRequires: libtheora-devel
%if %{build_v4l}
BuildRequires: libv4l-devel
%endif
BuildRequires: libvisual-devel
BuildRequires: libvorbis-devel
BuildRequires: orc
BuildRequires: python-devel
BuildRequires: sgml-skel
BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files
%ifarch %ix86 ppc x86_64
BuildRequires: valgrind-devel
%endif
%if %suse_version >= 1120
BuildRequires: gobject-introspection-devel >= 0.9.12
%endif
License: GPLv2+ ; LGPLv2.1+
Group: Productivity/Multimedia/Other
Source: %{_name}-%{version}.tar.bz2
Source2: baselibs.conf
# PATCH-FIX-UPSTREAM gstreamer-plugins-base-nonvoid.patch bgo#656264 dimstar@opensuse.org -- Return a value in non-void function
Patch0: gstreamer-plugins-base-nonvoid.patch
Url: http://gstreamer.freedesktop.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: GStreamer Streaming-Media Framework Plug-Ins
Supplements: gstreamer
# Name up to 10.3:
Provides: gstreamer010-plugins-base = %{version}
Obsoletes: gstreamer010-plugins-base < %{version}
# Generic name, never used in SuSE:
Provides: gst-plugins-base = %{version}
# Nanes of splitted subpackages (<=10.2 and ==SLE10):
Provides: gstreamer010-plugins-base-oil = %{version}-%{release} gstreamer010-plugins-base-visual = %{version}-%{release}
Obsoletes: gstreamer010-plugins-base-oil < %{version}-%{release} gstreamer010-plugins-base-visual < %{version}-%{release}
Recommends: %{name}-lang = %{version}
# Core modules may depend on new enough libraries:
Requires: libgstinterfaces-0_10-0 >= %{version}
# For update from <= 11.1 (gstapp):
Conflicts: gstreamer-0_10-plugins-bad < 0.10.10
PreReq: filesystem
%define gstreamer_plugins_base_req %(zgrep --text "^GST[_A-Z]*_REQ" %{S:0} | sort -u | sed 's/GST_REQ=/gstreamer >= /')
Requires: %gstreamer_plugins_base_req
Recommends: PackageKit-gstreamer-plugin
%description
GStreamer is a streaming media framework based on graphs of filters
that operate on media data. Applications using this library can do
anything media-related, from real-time sound processing to playing
videos. Its plug-in-based architecture means that new data types or
processing capabilities can be added simply by installing new plug-ins.
%if %{with_vfs}
%package -n gstreamer-plugin-gnomevfs
License: GPLv2+ ; LGPLv2.1+
Summary: GStreamer Streaming-Media Framework Plug-Ins -- gnome-vfs plugin
Group: Productivity/Multimedia/Other
# We want to have base modules installed:
Requires: %{name}
Supplements: packageand(%{name}:gnome-vfs2)
%description -n gstreamer-plugin-gnomevfs
GStreamer is a streaming media framework based on graphs of filters
that operate on media data. Applications using this library can do
anything media-related, from real-time sound processing to playing
videos. Its plug-in-based architecture means that new data types or
processing capabilities can be added simply by installing new plug-ins.
%endif
%package -n libgstinterfaces-0_11-0
License: GPLv2+ ; LGPLv2.1+
# This is a library package bundle, which contains more shared
# libraries. Use the name of the lowest level one, because libgstbase
# may cause confusion (it is a part of libgstreamer-0_11-0).
# libgstapp is packaged separately, as it uses a different versioning
# Makefile variable.
Summary: GStreamer Streaming-Media Framework Plug-Ins
Group: System/Libraries
# We want to have base modules installed:
Requires: %{name}
# Name of previous branch (<10.1 and <SLE10), if not updated:
Obsoletes: gstreamer-plugin-libs < 0.10
%description -n libgstinterfaces-0_11-0
GStreamer is a streaming media framework based on graphs of filters
that operate on media data. Applications using this library can do
anything media-related, from real-time sound processing to playing
videos. Its plug-in-based architecture means that new data types or
processing capabilities can be added simply by installing new plug-ins.
%package -n libgstapp-0_11-25
License: GPLv2+ ; LGPLv2.1+
Summary: GStreamer Streaming-Media Framework Plug-Ins
Group: Productivity/Multimedia/Other
# We want to have base modules installed:
Requires: %{name}
%description -n libgstapp-0_11-25
GStreamer is a streaming media framework based on graphs of filters
that operate on media data. Applications using this library can do
anything media-related, from real-time sound processing to playing
videos. Its plug-in-based architecture means that new data types or
processing capabilities can be added simply by installing new plug-ins.
%package devel
License: GPLv2+ ; LGPLv2.1+
Summary: Include files and libraries mandatory for development with gstreamer-0_10-plugins-base
Group: Development/Libraries/C and C++
Requires: libgstinterfaces-0_11-0 = %{version} libgstapp-0_11-25 = %{version} gstreamer-devel
Requires: glib2-devel libxml2-devel zlib-devel
# Name up to 10.3:
Provides: gstreamer010-plugins-base-devel = %{version}
Obsoletes: gstreamer010-plugins-base-devel < %{version}
# libgstapp has moved from bad to base (<= 11.1)
Provides: gstreamer-0_10-plugins-bad-devel = 0.10.10
Obsoletes: gstreamer-0_10-plugins-bad-devel < 0.10.10
# Name up to 10.3:
Provides: gstreamer010-plugins-bad-devel = 0.10.8
Obsoletes: gstreamer010-plugins-bad-devel < 0.10.8
# Generic name, never used in SuSE:
Provides: gst-plugins-base-devel = %{version}
%description devel
This package contains all necessary include files and libraries needed
to compile and link applications that use gstreamer-0_10-plugins-base.
%package doc
License: GPLv2+ ; LGPLv2.1+
Summary: Documentation for gstreamer-0_10-plugins-base
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
# Name up to 10.3:
Provides: gstreamer010-plugins-base-doc = %{version}
Obsoletes: gstreamer010-plugins-base-doc < %{version}
# Generic name, never used in SuSE:
Provides: gst-plugins-base-doc = %{version}
%description doc
This package contains documentation for the gstreamer-0_10-plugins-base
package.
%lang_package
%prep
%setup -q -n %{_name}-%{version}
%patch0 -p1
#translation-update-upstream po gst-plugins-base-0.10
%build
# FIXME: GTKDOC_CFLAGS, GST_OBJ_CFLAGS:
# Silently ignored compilation of uninstalled gtk-doc scanners without RPM_OPT_FLAGS.
%if %suse_version >= 1110
NOCONFIGURE=1 ./autogen.sh
%endif
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure\
--disable-static\
--enable-experimental\
--enable-gtk-doc\
%if %suse_version >= 1120
--enable-introspection\
%endif
%{nil}
make %{?jobs:-j%jobs}
%install
%makeinstall
find %{buildroot} -type f -name "*.la" -exec %{__rm} -fv {} +
%find_lang %{_name}-%{gst_branch}
%clean
rm -rf $RPM_BUILD_ROOT
%post -n libgstinterfaces-0_11-0 -p /sbin/ldconfig
%postun -n libgstinterfaces-0_11-0 -p /sbin/ldconfig
%post -n libgstapp-0_11-25 -p /sbin/ldconfig
%postun -n libgstapp-0_11-25 -p /sbin/ldconfig
%files
%defattr(-, root, root)
%doc AUTHORS COPYING COPYING.LIB NEWS README RELEASE REQUIREMENTS
%{_bindir}/gst-discoverer-%{gst_branch}
%{_bindir}/gst-visualise-%{gst_branch}
%{_libdir}/gstreamer-%{gst_branch}/libgstadder.so
%{_libdir}/gstreamer-%{gst_branch}/libgstalsa.so
%{_libdir}/gstreamer-%{gst_branch}/libgstapp.so
%{_libdir}/gstreamer-%{gst_branch}/libgstaudioconvert.so
%{_libdir}/gstreamer-%{gst_branch}/libgstaudioresample.so
%{_libdir}/gstreamer-%{gst_branch}/libgstaudiotestsrc.so
%{_libdir}/gstreamer-%{gst_branch}/libgstaudiorate.so
%{_libdir}/gstreamer-%{gst_branch}/libgstcdparanoia.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstdecodebin.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstdecodebin2.so
#%{_libdir}/gstreamer-%{gst_branch}/libgstffmpegcolorspace.so
%if %suse_version > 1030
%{_libdir}/gstreamer-%{gst_branch}/libgstgio.so
%endif
%{_libdir}/gstreamer-%{gst_branch}/libgstlibvisual.so
%{_libdir}/gstreamer-%{gst_branch}/libgstogg.so
%{_libdir}/gstreamer-%{gst_branch}/libgstpango.so
%{_libdir}/gstreamer-%{gst_branch}/libgstplayback.so
%{_libdir}/gstreamer-%{gst_branch}/libgstsubparse.so
%{_libdir}/gstreamer-%{gst_branch}/libgsttcp.so
%{_libdir}/gstreamer-%{gst_branch}/libgsttheora.so
%{_libdir}/gstreamer-%{gst_branch}/libgsttypefindfunctions.so
%if %{build_v4l}
%{_libdir}/gstreamer-%{gst_branch}/libgstvideo4linux.so
%endif
%{_libdir}/gstreamer-%{gst_branch}/libgstvideoconvert.so
%{_libdir}/gstreamer-%{gst_branch}/libgstvideorate.so
%{_libdir}/gstreamer-%{gst_branch}/libgstvideoscale.so
%{_libdir}/gstreamer-%{gst_branch}/libgstvideotestsrc.so
%{_libdir}/gstreamer-%{gst_branch}/libgstvolume.so
%{_libdir}/gstreamer-%{gst_branch}/libgstvorbis.so
%{_libdir}/gstreamer-%{gst_branch}/libgstximagesink.so
%{_libdir}/gstreamer-%{gst_branch}/libgstxvimagesink.so
%{_libdir}/gstreamer-%{gst_branch}/libgstgdp.so
%{_libdir}/gstreamer-%{gst_branch}/libgstencodebin.so
%doc %{_mandir}/man1/gst-visualise-%{gst_branch}.*
%if %{with_vfs}
%files -n gstreamer-plugin-gnomevfs
%defattr(-, root, root)
%{_libdir}/gstreamer-%{gst_branch}/libgstgnomevfs.so
%endif
%files lang -f %{_name}-%{gst_branch}.lang
%files -n libgstinterfaces-0_11-0
%defattr(-, root, root)
%{_libdir}/*.so.*
%if %suse_version >= 1120
%{_libdir}/girepository-1.0/*.typelib
%exclude %{_libdir}/girepository-1.0/GstApp-*.typelib
%endif
%exclude %{_libdir}/libgstapp*.so.*
%files -n libgstapp-0_11-25
%defattr(-, root, root)
%{_libdir}/libgstapp*.so.*
%if %suse_version >= 1120
%{_libdir}/girepository-1.0/GstApp-*.typelib
%endif
%files devel
%defattr(-, root, root)
%{_includedir}/gstreamer-%{gst_branch}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%if %suse_version >= 1120
%{_datadir}/gir-1.0/*.gir
%endif
%files doc
%defattr(-, root, root)
%{_datadir}/gtk-doc/html/gst-plugins-base-libs-%{gst_branch}
%{_datadir}/gtk-doc/html/gst-plugins-base-plugins-%{gst_branch}
%changelog