Compare commits

..

10 Commits

2 changed files with 127 additions and 43 deletions

View File

@@ -0,0 +1,55 @@
--- gstreamer-1.16.2/common/glib-gen.mak
+++ gstreamer-1.16.2/common/glib-gen.mak
@@ -1,11 +1,13 @@
# these are the variables your Makefile.am should set
# the example is based on the colorbalance interface
+H := \#
+
#glib_enum_headers=$(colorbalance_headers)
#glib_enum_define=GST_COLOR_BALANCE
#glib_enum_prefix=gst_color_balance
-enum_headers=$(foreach h,$(glib_enum_headers),\n\#include \"$(h)\")
+enum_headers=$(foreach h,$(glib_enum_headers),\n$(H)include \"$(h)\")
# these are all the rules generating the relevant files
%-marshal.h: %-marshal.list
--- gstreamer-1.16.2/common/gst-glib-gen.mak
+++ gstreamer-1.16.2/common/gst-glib-gen.mak
@@ -1,14 +1,16 @@
# these are the variables your Makefile.am should set
# the example is based on the colorbalance interface
+H := \#
+
#glib_enum_headers=$(colorbalance_headers)
#glib_enum_define=GST_COLOR_BALANCE
#glib_gen_prefix=gst_color_balance
#glib_gen_basename=colorbalance
#glib_gen_decl_banner=GST_EXPORT
-#glib_gen_decl_include=\#include <gst/foo/foo-prelude.h>
+#glib_gen_decl_include=$(H)include <gst/foo/foo-prelude.h>
-enum_headers=$(foreach h,$(glib_enum_headers),\n\#include \"$(h)\")
+enum_headers=$(foreach h,$(glib_enum_headers),\n$(H)include \"$(h)\")
# these are all the rules generating the relevant files
$(glib_gen_basename)-marshal.h: $(glib_gen_basename)-marshal.list
--- gstreamer-1.16.2/libs/gst/controller/Makefile.am
+++ gstreamer-1.16.2/libs/gst/controller/Makefile.am
@@ -4,11 +4,13 @@
gstinterpolationcontrolsource.h \
gstlfocontrolsource.h
+H := \#
+
glib_enum_define = GST_CONTROLLER
glib_gen_prefix = gst
glib_gen_basename = controller
glib_gen_decl_banner=GST_CONTROLLER_API
-glib_gen_decl_include=\#include <gst/controller/controller-prelude.h>
+glib_gen_decl_include=$(H)include <gst/controller/controller-prelude.h>
built_sources = controller-enumtypes.c
built_headers = controller-enumtypes.h

View File

@@ -1,28 +1,28 @@
%define MAJversion %(echo %version | cut -d. -f 1) %define MAJversion %(echo %version | cut -d. -f 1)
%define majversion %(echo %version | cut -d. -f 1-2) %define majversion %(echo %version | cut -d. -f 1-2)
%define gscachedir /var/cache/gstreamer-0.10
%define libname lib%{name} %define libname lib%{name}
Name: gstreamer Name: gstreamer
Version: 1.16.2 Version: 1.20.1
Release: 1mamba Release: 2mamba
Epoch: 2 Epoch: 2
Summary: A framework for streaming media Summary: A framework for streaming media
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://gstreamer.freedesktop.org URL: https://gstreamer.freedesktop.org
Source: http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-%{version}.tar.xz Source: http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-%{version}.tar.xz
Patch0: gstreamer-1.1.3-bison-3.0.patch Patch0: gstreamer-1.1.3-bison-3.0.patch
Patch1: gstreamer-1.16.2-glib-2.64.2.patch
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: gtk-doc BuildRequires: libcap-devel
BuildRequires: libffi-devel BuildRequires: libdw-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: pkg-config BuildRequires: libunwind-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: bash BuildRequires: bash
BuildRequires: ldconfig BuildRequires: ldconfig
@@ -31,7 +31,7 @@ BuildRequires: flex
BuildRequires: libtool BuildRequires: libtool
BuildRequires: automake BuildRequires: automake
BuildRequires: autoconf BuildRequires: autoconf
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: hotdoc
# FIXME: # FIXME:
# checking for docbook2ps... false # checking for docbook2ps... false
@@ -50,7 +50,7 @@ GStreamer is a streaming-media framework, based on graphs of filters which opera
%package -n %{libname} %package -n %{libname}
Summary: Libraries for GStreamer streaming-media framework Summary: Libraries for GStreamer streaming-media framework
Group: System/Libraries Group: System/Libraries
#Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
%description -n %{libname} %description -n %{libname}
GStreamer is a library that allows the construction of graphs of media-handling components, ranging from simple Ogg/Vorbis playback to complex audio (mixing) and video (non-linear editing) processing. Applications can take advantage of advances in codec and filter technology transparently. GStreamer is a library that allows the construction of graphs of media-handling components, ranging from simple Ogg/Vorbis playback to complex audio (mixing) and video (non-linear editing) processing. Applications can take advantage of advances in codec and filter technology transparently.
@@ -65,7 +65,7 @@ Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release}
%description -n %{libname}-devel %description -n %{libname}-devel
GStreamer is a library that allows the construction of graphs of media-handling components, ranging from simple Ogg/Vorbis playback to complex audio (mixing) and video (non-linear editing) processing. Applications can take advantage of advances in codec and filter technology transparently. GStreamer is a library that allows the construction of graphs of media-handling components, ranging from simple Ogg/Vorbis playback to complex audio (mixing) and video (non-linear editing) processing. Applications can take advantage of advances in codec and filter technology transparently.
Developers can add new codecs and filters by writing a simple plugin with a clean, generic interface. Developers can add new codecs and filters by writing a simple plugin with a clean, generic interface.
This package contains static libraries and header files need for development. This package contains static libraries and header files needed for development.
%package -n %{libname}-apidocs %package -n %{libname}-apidocs
Summary: GStreamer library API documentation Summary: GStreamer library API documentation
@@ -75,43 +75,40 @@ Requires: gtk-doc
%description -n %{libname}-apidocs %description -n %{libname}-apidocs
GStreamer library API documentation. GStreamer library API documentation.
%debug_package
%prep %prep
%setup -q -n gstreamer-%{version} %setup -q -n gstreamer-%{version}
#-D -T #-D -T
#%patch0 -p1 %ifarch x86_64 aarch64
sed -i "s|/libexec'|/libexec64'|" meson.build
%endif
%build %build
#:<< _EOF #:<< _EOF
./autogen.sh %meson \
export CHECK_LIBS=-lcheck -Ddoc=enabled
%configure \
--with-cachedir=%{gscachedir} \ #export CHECK_LIBS=-lcheck
%ifnarch arm #% configure \
--enable-gtk-doc \ # --with-cachedir=%{gscachedir} \
%endif #%ifnarch arm
--with-html-dir=%{_datadir}/gtk-doc/html # --enable-gtk-doc \
# --enable-docbook #%endif
# --with-html-dir=%{_datadir}/gtk-doc/html
## --enable-docbook
#% ifnarch arm x86_64 #% ifnarch arm x86_64
# --enable-gtk-doc \ # --enable-gtk-doc \
#% endif #% endif
%make %meson_build
%install %install
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall %meson_install
install -d %{buildroot}%{gscachedir} #install -d %{buildroot}%{gscachedir}
## remove binaries that conflict with gstreamer-0.8.x
#rm -f %{buildroot}%{_bindir}/gst-feedback
#rm -f %{buildroot}%{_bindir}/gst-inspect
#rm -f %{buildroot}%{_bindir}/gst-launch
#rm -f %{buildroot}%{_bindir}/gst-md5sum
#rm -f %{buildroot}%{_bindir}/gst-typefind
#rm -f %{buildroot}%{_bindir}/gst-xmlinspect
#rm -f %{buildroot}%{_bindir}/gst-xmllaunch
%find_lang gstreamer-%{MAJversion}.0 %find_lang gstreamer-%{MAJversion}.0
@@ -127,6 +124,7 @@ install -d %{buildroot}%{gscachedir}
%{_datadir}/bash-completion/helpers/gst* %{_datadir}/bash-completion/helpers/gst*
%{_bindir}/gst-inspect-%{MAJversion}.0 %{_bindir}/gst-inspect-%{MAJversion}.0
%{_bindir}/gst-launch-%{MAJversion}.0 %{_bindir}/gst-launch-%{MAJversion}.0
%{_bindir}/gst-tester-%{MAJversion}.0
%{_bindir}/gst-typefind-%{MAJversion}.0 %{_bindir}/gst-typefind-%{MAJversion}.0
%{_bindir}/gst-stats-%{MAJversion}.0 %{_bindir}/gst-stats-%{MAJversion}.0
%{_datadir}/gdb/auto-load/usr/%{_lib}/libgstreamer-*.so.*-gdb.py %{_datadir}/gdb/auto-load/usr/%{_lib}/libgstreamer-*.so.*-gdb.py
@@ -136,11 +134,10 @@ install -d %{buildroot}%{gscachedir}
%files -n %{libname} %files -n %{libname}
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/*.so.* %{_libdir}/libgst*.so.*
%{_libdir}/gstreamer-%{MAJversion}.0/ %{_libdir}/gstreamer-%{MAJversion}.0/
%{_libdir}/girepository-1.0/Gst*.typelib %{_libdir}/girepository-1.0/Gst*.typelib
%{_libexecdir}/gstreamer-%{MAJversion}.0/gst-* %{_libexecdir}/gstreamer-%{MAJversion}.0/gst-*
%dir %{gscachedir}
%doc AUTHORS COPYING %doc AUTHORS COPYING
%files -n %{libname}-devel %files -n %{libname}-devel
@@ -148,18 +145,50 @@ install -d %{buildroot}%{gscachedir}
%{_includedir}/gstreamer-%{MAJversion}.0/ %{_includedir}/gstreamer-%{MAJversion}.0/
%{_datadir}/aclocal/* %{_datadir}/aclocal/*
%{_datadir}/gir-1.0/Gst*.gir %{_datadir}/gir-1.0/Gst*.gir
%{_libdir}/*.so %{_libdir}/libgst*-%{MAJversion}.0.so
%{_libdir}/*.la
%{_libdir}/pkgconfig/* %{_libdir}/pkgconfig/*
%doc NEWS README RELEASE TODO %doc NEWS RELEASE
%files -n %{libname}-apidocs #%files -n %{libname}-apidocs
%defattr(-,root,root) #%defattr(-,root,root)
%{_datadir}/gtk-doc/html/gstreamer-%{MAJversion}.0/ #%{_datadir}/gtk-doc/html/gstreamer-%{MAJversion}.0/
%{_datadir}/gtk-doc/html/gstreamer-libs-%{MAJversion}.0/ #%{_datadir}/gtk-doc/html/gstreamer-libs-%{MAJversion}.0/
%{_datadir}/gtk-doc/html/gstreamer-plugins-%{MAJversion}.0/ #%{_datadir}/gtk-doc/html/gstreamer-plugins-%{MAJversion}.0/
%changelog %changelog
* Thu Apr 21 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.20.1-2mamba
- fix libexecdir in pkg-config file
* Wed Mar 16 2022 Automatic Build System <autodist@mambasoft.it> 1.20.1-1mamba
- automatic version update by autodist
* Sat Feb 12 2022 Automatic Build System <autodist@mambasoft.it> 1.20.0-1mamba
- automatic version update by autodist
* Thu Feb 03 2022 Automatic Build System <autodist@mambasoft.it> 1.18.6-1mamba
- automatic version update by autodist
* Thu Sep 09 2021 Automatic Build System <autodist@mambasoft.it> 1.18.5-1mamba
- automatic version update by autodist
* Tue Mar 16 2021 Automatic Build System <autodist@mambasoft.it> 1.18.4-1mamba
- automatic version update by autodist
* Thu Jan 14 2021 Automatic Build System <autodist@mambasoft.it> 1.18.3-1mamba
- automatic version update by autodist
* Mon Dec 07 2020 Automatic Build System <autodist@mambasoft.it> 1.18.2-1mamba
- automatic version update by autodist
* Tue Oct 27 2020 Automatic Build System <autodist@mambasoft.it> 1.18.1-1mamba
- automatic version update by autodist
* Fri Sep 18 2020 Automatic Build System <autodist@mambasoft.it> 1.18.0-1mamba
- automatic version update by autodist
* Fri Jul 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.16.2-2mamba
- libgstreamer: require gstreamer-tools; added debug package
* Wed Dec 04 2019 Automatic Build System <autodist@mambasoft.it> 1.16.2-1mamba * Wed Dec 04 2019 Automatic Build System <autodist@mambasoft.it> 1.16.2-1mamba
- automatic version update by autodist - automatic version update by autodist
@@ -326,7 +355,7 @@ install -d %{buildroot}%{gscachedir}
- automatic version update by autodist - automatic version update by autodist
* Wed Oct 03 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-2mamba * Wed Oct 03 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-2mamba
- remove obsolete for *gstreamer0.10 to prevent a circoluar obsolete with gstreamer010 legacy package - remove obsolete for *gstreamer0.10 to prevent a circular obsolete with gstreamer010 legacy package
* Tue Sep 25 2012 Automatic Build System <autodist@mambasoft.it> 1.0.0-1mamba * Tue Sep 25 2012 Automatic Build System <autodist@mambasoft.it> 1.0.0-1mamba
- update to 1.0.0 - update to 1.0.0