Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
6142a6809d
!8 [sync] PR-7: Package upgrade
From: @openeuler-sync-bot 
Reviewed-by: @gitee-cmd 
Signed-off-by: @gitee-cmd
2022-10-17 01:16:30 +00:00
wk333
a3dc5af569 Package upgrade
(cherry picked from commit d91343f2dfcfa957ce9328dbba0c5be0ff003c88)
2022-10-14 17:17:16 +08:00
openeuler-ci-bot
8255cb56f3
!5 【编译失败处理】22.03:LTS:Next分支包编译失败
Merge pull request !5 from 王歌/openEuler-22.03-LTS-Next
2022-01-11 11:26:58 +00:00
wang--ge
c80cb7adf6 fix build error due to GNU version mismatch 2022-01-11 16:43:28 +08:00
openeuler-ci-bot
dc56a805d2 !4 master分支python2模块删除
From: @jl_git
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-11-03 20:21:29 +08:00
jialei
9c35d4071f python2 to python3 2020-10-30 13:20:40 +08:00
openeuler-ci-bot
9d1902e620 !2 Fix build fail with make 4.3
Merge pull request !2 from ultra_planet/master
2020-07-31 18:43:10 +08:00
lingsheng
2964be9f64 Fix build fail with make 4.3 2020-07-31 18:32:53 +08:00
openeuler-ci-bot
3d2afbea82 !1 Package init
Merge pull request !1 from 雷炬/master
2020-06-20 10:44:59 +08:00
lei_ju
d7537142b3 Package init 2020-06-19 17:59:05 +08:00
4 changed files with 128 additions and 0 deletions

View File

@ -0,0 +1,38 @@
From 54987d445ea714b467d901b7daf8c09ed0644189 Mon Sep 17 00:00:00 2001
From: Debarshi Ray <debarshir@freedesktop.org>
Date: Thu, 12 Mar 2020 14:07:23 +0100
Subject: [PATCH] build: Adapt to backwards incompatible change in GNU Make 4.3
GNU Make 4.3 has a backwards incompatible change affecting the use of
number signs or hashes (ie., #) inside function invocations. See:
https://lists.gnu.org/archive/html/info-gnu/2020-01/msg00004.html
In this case, it would expand the '\#' in the '\n\#include \"$(h)\"'
argument to the foreach call to '\#', not '#'. This would lead to
spurious backslashes in front of the '#include' directives in the
generated fs-enumtypes.c file.
Spotted by Ernestas Kulik.
https://gitlab.freedesktop.org/farstream/farstream/-/merge_requests/4
---
common-modified/gst-glib-gen.mak | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/common-modified/gst-glib-gen.mak b/common-modified/gst-glib-gen.mak
index 14f1ba37..2247a41c 100644
--- a/common-modified/gst-glib-gen.mak
+++ b/common-modified/gst-glib-gen.mak
@@ -6,7 +6,8 @@
#glib_gen_prefix=gst_color_balance
#glib_gen_basename=colorbalance
-enum_headers=$(foreach h,$(glib_enum_headers),\n\#include \"$(h)\")
+hash:=\#
+enum_headers=$(foreach h,$(glib_enum_headers),\n$(hash)include \"$(h)\")
# these are all the rules generating the relevant files
$(glib_gen_basename)-enumtypes.h: $(glib_enum_headers)
--
GitLab

BIN
farstream-0.2.9.tar.gz Normal file

Binary file not shown.

86
farstream02.spec Normal file
View File

@ -0,0 +1,86 @@
Name: farstream02
Version: 0.2.9
Release: 1
Summary: Audio/Video Communications Framework
License: LGPLv2+ and GPLv2+
URL: http://www.freedesktop.org/wiki/Software/Farstream
Source0: http://freedesktop.org/software/farstream/releases/farstream/farstream-%{version}.tar.gz
Patch0001: build-Adapt-to-backwards-incompatible-change-in-GNU-Make-4.3.patch
BuildRequires: libnice-devel >= 0.1.3 gstreamer1-devel >= 1.0.0 python3-devel autoconf
BuildRequires: gstreamer1-plugins-base-devel >= 1.0.0 gupnp-igd-devel gobject-introspection-devel
BuildRequires: gtk-doc
Requires: gstreamer1-plugins-good >= 1.0.0 gstreamer1-plugins-bad-free >= 1.0.0 libnice-gstreamer1
%description
The Farstream (formerly Farsight) project is an effort to create a framework to
deal with all known audio/video conferencing protocols.
%package devel
Summary: Development files of farstream
Requires: farstream02 = %{version}-%{release} gstreamer1-devel >= 1.0.0
Requires: gstreamer1-plugins-base-devel >= 1.0.0 pkgconfig
%description devel
Development files of farstream.
%prep
%autosetup -n farstream-%{version} -p1
sed -i 's/-lgstrtp-@GST_API_VERSION@/-lgstrtp-@GST_API_VERSION@ -lm/g' ./tests/rtp/Makefile.am
%build
autoreconf --force --install
%configure
%make_build
%install
%make_install
%delete_la
%check
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%doc COPYING NEWS AUTHORS
%{_libdir}/*.so.*
%dir %{_libdir}/farstream-0.2
%{_libdir}/farstream-0.2/*.so
%{_libdir}/gstreamer-1.0/*.so
%{_libdir}/girepository-1.0/Farstream-0.2.typelib
%dir %{_datadir}/farstream
%dir %{_datadir}/farstream/0.2
%dir %{_datadir}/farstream/0.2/fsrtpconference
%dir %{_datadir}/farstream/0.2/fsrawconference
%{_datadir}/farstream/0.2/fsrawconference/default-element-properties
%{_datadir}/farstream/0.2/fsrtpconference/default-*
%files devel
%{_libdir}/libfarstream-0.2.so
%{_libdir}/pkgconfig/farstream-0.2.pc
%{_includedir}/farstream-0.2/farstream/
%{_datadir}/gir-1.0/Farstream-0.2.gir
%{_datadir}/gtk-doc/html/farstream-libs-0.2/
%{_datadir}/gtk-doc/html/farstream-plugins-0.2/
%changelog
* Tue Jun 21 2022 SimpleUpdate Robot <tc@openeuler.org> - 0.2.9-1
- Upgrade to version 0.2.9
* Tue Jan 11 2022 Ge Wang <wangge20@huawei.com> - 0.2.8-6
- Fix build fail due to GNU make version mismatch
* Tue Oct 27 2020 jialei <jialei17@huawei.com> - 0.2.8-5
- change python2 to python3
* Fri Jul 31 2020 lingsheng <lingsheng@huawei.com> - 0.2.8-4
- Fix build fail with make 4.3
* Thu Apr 23 2020 leiju <leiju4@huawei.com> - 0.2.8-3
- Package init

4
farstream02.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: gitlab.gnome
src_repo: farstream
tag_prefix: ^
seperator: .