gst-plugins-bad010/gst-plugins-bad010.spec

385 lines
13 KiB
RPMSpec
Raw Permalink Normal View History

%define majorminor %(echo %version | cut -d. -f 1-2)
%define libname lib%{name}
Name: gst-plugins-bad010
Version: 0.10.23
Release: 6mamba
Summary: A set of plug-ins for gstreamer that aren't up to par compared to the rest
Group: System/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://gstreamer.freedesktop.org/modules/gst-plugins-bad.html
Source: http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-%{version}.tar.xz
Patch0: gst-plugins-bad-0.10.9-libx264.patch
Patch1: gst-plugins-bad010-0.10.23-fix_build_of_directfb_plugin.patch
Patch2: gst-plugins-bad010-0.10.23-libmodplug-0.8.9.0.patch
Patch3: gst-plugins-bad010-0.10.23-drop-vpx-compat-defs.patch
Patch4: gst-plugins-bad010-0.10.23-disable-assrender-test.patch
Patch5: gst-plugins-bad010-0.10.23-disable-camerabin-test.patch
Patch6: gst-plugins-bad010-0.10.23-libfaad2-2.10.0.patch
Patch7: gst-plugins-bad010-0.10.23-openssl.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libICE-devel
BuildRequires: libSDL-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel
BuildRequires: libass-devel
BuildRequires: libaudio-devel
BuildRequires: libbrotli-devel
BuildRequires: libbsd-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libcares-devel
BuildRequires: libcdaudio-devel
BuildRequires: libcelt-devel
BuildRequires: libcurl-devel
BuildRequires: libdb53-devel
BuildRequires: libdc1394-devel
BuildRequires: libdca-devel
BuildRequires: libdirac-devel
BuildRequires: libdirectfb-devel
BuildRequires: libdvdnav-devel
BuildRequires: libdvdread-devel
BuildRequires: libe2fs-devel
BuildRequires: libexpat-devel
BuildRequires: libfaac-devel
BuildRequires: libfaad2-devel
BuildRequires: libffi-devel
BuildRequires: libfftw-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libfribidi-devel
BuildRequires: libgcc
BuildRequires: libgcrypt-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgmp-devel
BuildRequires: libgnutls-devel
BuildRequires: libgpg-error-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgsasl-devel
BuildRequires: libgsm-devel
BuildRequires: libgss-devel
BuildRequires: libgst-plugins-base010-devel
BuildRequires: libgstreamer010-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libicu-devel
BuildRequires: libidn-devel
BuildRequires: libidn2-devel
BuildRequires: libjasper-devel
BuildRequires: libkate-devel
BuildRequires: libkrb5-devel
BuildRequires: liblrdf-devel
BuildRequires: libltdl-devel
BuildRequires: liblzma-devel
BuildRequires: libmhash-devel
BuildRequires: libmimic-devel
BuildRequires: libmjpegtools-devel
BuildRequires: libmms-devel
BuildRequires: libmodplug-devel
BuildRequires: libmpfr-devel
BuildRequires: libmusepack-devel
BuildRequires: libmusicbrainz2-devel
BuildRequires: libnettle-devel
BuildRequires: libnghttp2-devel
BuildRequires: libntlm-devel
BuildRequires: libofa-devel
BuildRequires: libopenal-devel
BuildRequires: libopenldap-devel
BuildRequires: libopenssl-devel
BuildRequires: libopus-devel
BuildRequires: liborc-devel
BuildRequires: libp11-kit-devel
BuildRequires: libpango-devel
BuildRequires: libpcre-devel
BuildRequires: libpng-devel
BuildRequires: libpsl-devel
BuildRequires: libraptor2-devel
BuildRequires: librasqal-devel
BuildRequires: libraw1394-devel
BuildRequires: librdf-devel
BuildRequires: librsvg-devel
BuildRequires: librtmp-devel
BuildRequires: libsasl2-devel
BuildRequires: libschroedinger-devel
BuildRequires: libslv2-devel
BuildRequires: libsndfile-devel
BuildRequires: libsoundtouch-devel
BuildRequires: libssh2-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtasn1-devel
BuildRequires: libtiger-devel
BuildRequires: libts-devel
BuildRequires: libudev-devel
BuildRequires: libunistring-devel
BuildRequires: libusb-devel
BuildRequires: libuuid-devel
BuildRequires: libvdpau-devel
BuildRequires: libvo-aacenc-devel
BuildRequires: libxcb-devel
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
BuildRequires: libxvidcore-devel
BuildRequires: libyajl-devel
BuildRequires: libz-devel
BuildRequires: libzstd-devel
BuildRequires: libzvbi-devel
## AUTOBUILDREQ-END
BuildRequires: libmjpegtools-devel >= 2.2.1
BuildRequires: libsoundtouch-devel >= 1.9.2-1mamba
#%ifarch %ix86
#BuildRequires: divx4linux-devel
#%endif
BuildRequires: libuuid-devel
#BuildRequires: libswfdec-devel
BuildRequires: libcroco-devel
BuildRequires: libquicktime-devel
BuildRequires: ladspa-devel
BuildRequires: libslv2-devel
BuildRequires: liblv2core-devel
BuildRequires: mjpegtools
BuildRequires: orc
BuildRequires: libcares-devel
BuildRequires: libsasl-devel
BuildRequires: libgss-devel
BuildRequires: libssh2-devel
BuildRequires: libraptor-devel
BuildRequires: librasqal-devel
BuildRequires: libltdl-devel
BuildRequires: libmpfr-devel
BuildRequires: libgssapi-devel
BuildRequires: udev-devel
Provides: gst-plugins-bad0.10
Obsoletes: gst-plugins-bad0.10 < 0.10.23-6mamba
#FIXME:
#configure: *** Plug-ins with dependencies that will NOT be built:
# acm
# applemedia
# directdrawsink
# directsoundsrc
# flite
# gme
# mythtvsrc
# opencv
# osxvideosrc
# qtwrapper
# spc
# swfdec
# timidity
# wildmidi
# wininet
# zbar
%description
GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par compared to the rest. They might be close to being good quality, but they're missing something - be it a good code review, some documentation, a set of tests, a real live maintainer, or some actual wide use.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: gst-plugins-bad0.10-devel
Obsoletes: gst-plugins-bad0.10-devel < 0.10.23-6mamba
%description devel
GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par compared to the rest. They might be close to being good quality, but they're missing something - be it a good code review, some documentation, a set of tests, a real live maintainer, or some actual wide use.
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q -n gst-plugins-bad-%{version}
#-D -T
#:<< _EOF
#%patch0 -p1
%patch1 -p1
%patch2 -p1 -b .libmodplug-0.8.9.0
%patch3 -p1 -b .drop-vpx-compat-defs
%patch4 -p1 -b .disable-assrender-test
%patch5 -p1 -b .disable-camerabin-test
%patch6 -p1 -b .libfaad2-2.10.0
%patch7 -p1 -b .openssl
find . -type f -name '*glib-gen.mak' -print0 | xargs -0 sed -i 's/\\n\\#include/\\n#include/g'
NOCONFIGURE=1 ./autogen.sh
%build
#:<< _EOF
%configure \
SCHRO_CFLAGS="-I%{_includedir}/schroedinger-1.0" \
--disable-divx \
--disable-vp8 \
--disable-decklink
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang gst-plugins-bad-%{majorminor}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f gst-plugins-bad-%{majorminor}.lang
%defattr(-,root,root)
#%{_bindir}/gst-camera
#%{_bindir}/gst-camera-perf
%{_libdir}/libgstphotography*.so.*
%{_libdir}/libgstbasevideo*.so.*
%{_libdir}/libgstsignalprocessor-*.so.*
%{_libdir}/libgstvdp-0.10.so.*
%{_libdir}/libgstbasecamerabinsrc-0.10.so.*
%{_libdir}/libgstcodecparsers-0.10.so.*
%{_libdir}/gstreamer-%{majorminor}/libgst*.la
%{_libdir}/gstreamer-%{majorminor}/libgst*.so
%{_libdir}/gstreamer-%{majorminor}/libresindvd.la
%{_libdir}/gstreamer-%{majorminor}/libresindvd.so
%{_datadir}/glib-2.0/schemas/org.freedesktop.gstreamer-0.10.default-elements.gschema.xml
#%{_datadir}/gstreamer-%{majorminor}/camera-apps/gst-camera.ui
#%{_datadir}/gstreamer-%{majorminor}/presets/GstAmrwbEnc.prs
%doc AUTHORS COPYING COPYING.LIB
%files devel
%defattr(-,root,root)
%dir %{_includedir}/gstreamer-%{majorminor}
%dir %{_includedir}/gstreamer-%{majorminor}/gst
%dir %{_includedir}/gstreamer-%{majorminor}/gst/interfaces
%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/photography*.h
%dir %{_includedir}/gstreamer-%{majorminor}/gst/signalprocessor
%{_includedir}/gstreamer-%{majorminor}/gst/signalprocessor/gstsignalprocessor.h
%dir %{_includedir}/gstreamer-%{majorminor}/gst/video
%{_includedir}/gstreamer-%{majorminor}/gst/video/gstbasevideo*.h
%dir %{_includedir}/gstreamer-%{majorminor}/gst/vdpau
%{_includedir}/gstreamer-%{majorminor}/gst/vdpau/*.h
%dir %{_includedir}/gstreamer-0.10/gst/basecamerabinsrc
%{_includedir}/gstreamer-0.10/gst/basecamerabinsrc/*.h
%dir %{_includedir}/gstreamer-0.10/gst/codecparsers
%{_includedir}/gstreamer-0.10/gst/codecparsers/*.h
%dir %{_includedir}/gstreamer-0.10/gst/video
%{_includedir}/gstreamer-0.10/gst/video/*.h
#%{_libdir}/gstreamer-%{majorminor}/libgst*.a
%{_libdir}/libgstphotography*.a
%{_libdir}/libgstphotography*.la
%{_libdir}/libgstphotography*.so
%{_libdir}/libgstbasevideo*.a
%{_libdir}/libgstbasevideo*.la
%{_libdir}/libgstbasevideo*.so
%{_libdir}/libgstsignalprocessor-*.a
%{_libdir}/libgstsignalprocessor-*.la
%{_libdir}/libgstsignalprocessor-*.so
%{_libdir}/libgstvdp-0.10.la
%{_libdir}/libgstvdp-0.10.so
%{_libdir}/libgstbasecamerabinsrc-0.10.a
%{_libdir}/libgstbasecamerabinsrc-0.10.la
%{_libdir}/libgstbasecamerabinsrc-0.10.so
%{_libdir}/libgstcodecparsers-0.10.a
%{_libdir}/libgstcodecparsers-0.10.la
%{_libdir}/libgstcodecparsers-0.10.so
%{_libdir}/pkgconfig/gstreamer-plugins-bad-%{majorminor}.pc
%{_libdir}/pkgconfig/gstreamer-basevideo-%{majorminor}.pc
%{_libdir}/pkgconfig/gstreamer-codecparsers-%{majorminor}.pc
%dir %{_datadir}/gtk-doc/html/gst-plugins-bad-libs-%{majorminor}/
%{_datadir}/gtk-doc/html/gst-plugins-bad-libs-0.10/*
%doc ChangeLog NEWS README
%changelog
* Sat Jan 01 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.23-6mamba
- rebuilt with libmjpegtools 2.2.1
* Mon Jun 13 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.23-5mamba
- rebuilt by autoport with build requirements: libsoundtouch-devel>=1.9.2-1mamba
* Wed Apr 30 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.23-4mamba
- rebuilt without divx4linux
* Mon Oct 08 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.23-3mamba
- rebuilt as legacy package
* Wed Sep 05 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.23-2mamba
- rebuilt with libmjpegtools >= 2.0.0
* Thu Aug 09 2012 Automatic Build System <autodist@mambasoft.it> 0.10.23-1mamba
- update to 0.10.23
* Fri Jan 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.22-7mamba
- rebuilt in devel-kde4
* Fri Jan 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.22-6mamba
- added more requirements for more plugins
* Fri Jan 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.22-5mamba
- rebuilt with more build requirements (including mms support for totem)
* Fri Dec 09 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.22-4mamba
- rebuilt with(out) opencv 2.3.1a
* Sat Oct 29 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.22-3mamba
- rebuilt with librasqal 3
* Sat Jul 02 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.22-2mamba
- rebuilt with libcelt 0.11
* Sun Jun 19 2011 Automatic Build System <autodist@mambasoft.it> 0.10.22-1mamba
- automatic update by autodist
* Sat Jan 29 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.21-1mamba
- update to 0.10.21
* Sun Aug 22 2010 Automatic Build System <autodist@mambasoft.it> 0.10.19-3mamba
- automatic rebuild by autodist
* Thu Jun 03 2010 Automatic Build System <autodist@mambasoft.it> 0.10.19-2mamba
- automatic rebuild by autodist
* Thu Jun 03 2010 Automatic Build System <autodist@mambasoft.it> 0.10.19-1mamba
- automatic update by autodist
* Sat Feb 20 2010 Automatic Build System <autodist@mambasoft.it> 0.10.17-1mamba
- automatic update by autodist
* Tue Oct 13 2009 Automatic Build System <autodist@mambasoft.it> 0.10.14-1mamba
- automatic update by autodist
* Tue Jul 14 2009 Automatic Build System <autodist@mambasoft.it> 0.10.13-2mamba
- automatic rebuild by autodist
* Mon Jun 29 2009 Automatic Build System <autodist@mambasoft.it> 0.10.13-1mamba
- automatic update by autodist
* Mon May 18 2009 Automatic Build System <autodist@mambasoft.it> 0.10.11-2mamba
- automatic rebuild by autodist
* Tue Apr 07 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.11-1mamba
- automatic update by autodist
* Sat Mar 07 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.10-1mamba
- update to 0.10.10
* Fri Jan 09 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.9-2mamba
- automatic rebuild by autodist
* Wed Nov 19 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.9-1mamba
- update to 0.10.9
* Fri Aug 29 2008 gil <puntogil@libero.it> 0.10.8-1mamba
- update to 0.10.8
* Sun Jun 01 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.7-1mamba
- update to 0.10.7
* Fri Apr 11 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.6-1mamba
- update to 0.10.6
* Tue Nov 13 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.5-1mamba
- update to 0.10.5
* Tue Jul 25 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.3-1qilnx
- package created by autospec