File mingw64-gst-0_10-plugins-good.spec of Package mingw64-gst-0_10-plugins-good

#
# spec file for package mingw64-gst-0_10-plugins-good
#
# 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:           mingw64-gst-0_10-plugins-good
Version:        0.10.31
Release:        0
Summary:        GStreamer Streaming-Media Framework Plug-Ins
License:        LGPL-2.1-or-later
Group:          Development/Libraries
Url:            http://gstreamer.freedesktop.org/
#http://gstreamer.freedesktop.org/src/gst-plugins-good/
Source0:        gst-plugins-good-%{version}.tar.xz
Source1000:     %{name}-rpmlintrc
Patch0:         gst-plugins-good-waveform-git.patch
Patch1:         make43.patch
#!BuildIgnore: post-build-checks
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  glib2-devel
BuildRequires:  gtk-doc
BuildRequires:  libtool
BuildRequires:  mingw64-cross-binutils
BuildRequires:  mingw64-cross-gcc
BuildRequires:  mingw64-cross-gcc-c++
BuildRequires:  mingw64-cross-pkg-config
BuildRequires:  mingw64-filesystem >= 23
BuildRequires:  mingw64-flac-devel
BuildRequires:  mingw64-glib2-devel >= 2.8.3
BuildRequires:  mingw64-gnome-vfs2-devel
BuildRequires:  mingw64-gst-0_10-plugins-base-devel >= 0.10.30
BuildRequires:  mingw64-gstreamer-0_10-devel >= 0.10.30
BuildRequires:  mingw64-libgnurx-devel
BuildRequires:  mingw64-libogg-devel
BuildRequires:  mingw64-liboil-devel >= 0.3.14
BuildRequires:  mingw64-libsoup-devel
BuildRequires:  mingw64-libtheora-devel
BuildRequires:  mingw64-libvorbis-devel
BuildRequires:  python
BuildRequires:  xz
%_mingw64_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.

%lang_package

%_mingw64_debug_package

%prep
%setup -q -n gst-plugins-good-%{version}
%patch -P 0
%patch -P 1 -p1

%build
NOCONFIGURE=indeed ./autogen.sh
echo "lt_cv_deplibs_check_method='pass_all'" >> %{_mingw64_cache}
PATH="%{_mingw64_bindir}:$PATH"; export PATH; \
%{_mingw64_configure} \
	--disable-gtk-doc --disable-gdk_pixbuf \
    --disable-cairo   --disable-jpeg \
    --disable-libpng  --disable-annodex --disable-shout2
%{_mingw64_make} %{?_smp_mflags} || %{_mingw64_make}

%install
%{_mingw64_make} DESTDIR=%{buildroot} install
rm -f %{buildroot}%{_mingw64_libdir}/gstreamer-0.10/*.dll.a
%find_lang gst-plugins-good-0.10

%files
%defattr(-,root,root)
%{_mingw64_libdir}/gstreamer-0.10/*
%{_mingw64_datadir}/gstreamer-0.10/*

%files lang -f gst-plugins-good-0.10.lang
%defattr(-,root,root)

%changelog
openSUSE Build Service is sponsored by