File mingw32-gst-0_10-plugins-bad.spec of Package mingw32-gst-0_10-plugins-bad
#
# spec file for package mingw32-gst-0_10-plugins-bad
#
# Copyright (c) 2018 SUSE LINUX 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/
#
Name: mingw32-gst-0_10-plugins-bad
Version: 0.10.23
Release: 0
Summary: GStreamer Streaming-Media Framework Plug-Ins
License: LGPL-2.0-or-later
Group: Development/Libraries
Url: http://gstreamer.freedesktop.org/
Source0: gst-plugins-bad-%{version}.tar.xz
Patch0: gst-plugins-bad-0.10.23-winks-git.patch
Patch1: gst-plugins-bad-0.10.23-winks-fix.patch
Patch2: gst-plugins-bad-0.10.23-warnings.patch
Patch3: gst-plugins-bad-0.10.23-no-undefined.patch
Patch4: make43.patch
Patch5: gst-plugins-bad-0.10.23-winks-guid-fixes.patch
#!BuildIgnore: post-build-checks
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: glib2-devel
BuildRequires: gtk-doc
BuildRequires: libtool
BuildRequires: mingw32-cross-binutils
BuildRequires: mingw32-cross-gcc
BuildRequires: mingw32-cross-gcc-c++
BuildRequires: mingw32-cross-pkg-config
BuildRequires: mingw32-filesystem >= 23
BuildRequires: mingw32-flac-devel
BuildRequires: mingw32-glib2-devel >= 2.8.3
BuildRequires: mingw32-gnome-vfs2-devel
BuildRequires: mingw32-gst-0_10-plugins-base-devel >= 0.10.36
BuildRequires: mingw32-gstreamer-0_10-devel >= 0.10.36
BuildRequires: mingw32-libgnurx-devel
BuildRequires: mingw32-libogg-devel
BuildRequires: mingw32-liboil-devel >= 0.3.14
BuildRequires: mingw32-libsoup-devel
BuildRequires: mingw32-libtheora-devel
BuildRequires: mingw32-libvorbis-devel
BuildRequires: python
BuildRequires: xz
%_mingw32_package_header_debug
BuildArch: noarch
%description
GStreamer is a streaming media framework, based on graphs of filters
which operate on media data. Applications using this library can do
anything from real-time sound processing to playing videos, and just
about anything else media-related. Its plugin-based architecture means
that new data types or processing capabilities can be added simply by
installing new plug-ins.
%package devel
Summary: GStreamer Streaming-Media Framework Plug-Ins (development files)
Group: Development/Libraries
%description devel
GStreamer is a streaming-media framework, based on graphs of filters
which operate on media data. Applications using this library can do
anything from real-time sound processing to playing videos, and just
about anything else media-related. Its plug-in-based architecture
means that new data types or processing capabilities can be added by
installing new plug-ins.
This package contains all necessary include files and libraries needed
to develop applications that require these.
%lang_package
%_mingw32_debug_package
%prep
%setup -q -n gst-plugins-bad-%{version}
%patch -P 0
%patch -P 1
%patch -P 2
%patch -P 3 -p1
%patch -P 4 -p1
%patch -P 5 -p1
%build
NOCONFIGURE=indeed ./autogen.sh
echo "lt_cv_deplibs_check_method='pass_all'" >> %{_mingw32_cache}
MINGW32_CFLAGS="%_mingw32_cflags -Wno-missing-braces"
PATH="%{_mingw32_bindir}:$PATH"; export PATH; \
%{_mingw32_configure} \
--enable-shared --disable-static \
--disable-gtk-doc --disable-legacyresample --disable-librfb
%{_mingw32_make} %{?_smp_mflags} || %{_mingw32_make}
%install
%{_mingw32_make} DESTDIR=%{buildroot} install
rm -f %{buildroot}%{_mingw32_libdir}/gstreamer-0.10/*.dll.a
%find_lang gst-plugins-bad-0.10
%files
%defattr(-,root,root)
%{_mingw32_bindir}/libgst*.dll
%{_mingw32_libdir}/gstreamer-0.10/*.dll
%{_mingw32_datadir}/glib-2.0/schemas/org.freedesktop.gstreamer*
%files devel
%defattr(-,root,root)
%{_mingw32_libdir}/libgst*.dll.a
%{_mingw32_libdir}/pkgconfig/gstreamer-*.pc
%{_mingw32_includedir}/gstreamer-0.10/*
%{_mingw32_datadir}/gtk-doc/html/gst-plugins-bad-libs-0.10
%files lang -f gst-plugins-bad-0.10.lang
%defattr(-,root,root)
%changelog