From 6133274b2cf795b4a850d10dc0fa5c22edd0d1bb Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Wed, 25 Dec 2024 12:47:31 +0800 Subject: [PATCH] force build non-parallel --- ...configure-add-check-for-glib-mkenums.patch | 33 +++++++++++++++++++ farstream02.spec | 28 +++++++--------- 2 files changed, 45 insertions(+), 16 deletions(-) create mode 100644 farstream-0.2.8-configure-add-check-for-glib-mkenums.patch diff --git a/farstream-0.2.8-configure-add-check-for-glib-mkenums.patch b/farstream-0.2.8-configure-add-check-for-glib-mkenums.patch new file mode 100644 index 0000000..5236a6f --- /dev/null +++ b/farstream-0.2.8-configure-add-check-for-glib-mkenums.patch @@ -0,0 +1,33 @@ +From 573e29a3f6b379c1bd1dba8c73c65a5f885176a0 Mon Sep 17 00:00:00 2001 +From: Stefan Becker +Date: Thu, 4 Jul 2019 10:54:03 +0300 +Subject: [PATCH] configure: add check for glib-mkenums + +This fixes build failure for latest source with autoconf. Add the check +glib-mkenums and definition of GLIB_MKENUMS to configure.ac + +Fixes #16 +--- + configure.ac | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/configure.ac b/configure.ac +index 31be2770..431aa2da 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -264,6 +264,12 @@ FS_PREFIX="`$PKG_CONFIG --variable=prefix farstream-$FS_APIVERSION`" + AC_SUBST(GLIB_PREFIX) + AC_SUBST(FS_PREFIX) + ++dnl Check for glib-2.0 tools ++AC_MSG_CHECKING([for glib-mkenums]) ++GLIB_MKENUMS="`$PKG_CONFIG --variable=glib_mkenums glib-2.0`" ++AC_SUBST(GLIB_MKENUMS) ++AC_MSG_RESULT($GLIB_MKENUMS) ++ + dnl *** set variables based on configure arguments *** + + dnl set license and copyright notice +-- +2.21.0 + diff --git a/farstream02.spec b/farstream02.spec index beeaad8..e255165 100644 --- a/farstream02.spec +++ b/farstream02.spec @@ -1,11 +1,12 @@ Name: farstream02 Version: 0.2.9 -Release: 1 +Release: 2 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 +License: LGPL-2.1-or-later and GPL-2.0-or-later +URL: https://www.freedesktop.org/wiki/Software/Farstream +Source0: https://freedesktop.org/software/farstream/releases/farstream/farstream-%{version}.tar.gz +Patch0000: farstream-0.2.8-configure-add-check-for-glib-mkenums.patch 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 @@ -19,8 +20,7 @@ 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 +Requires: %{name} = %{version}-%{release} %description devel Development files of farstream. @@ -32,22 +32,15 @@ sed -i 's/-lgstrtp-@GST_API_VERSION@/-lgstrtp-@GST_API_VERSION@ -lm/g' ./tests/r %build autoreconf --force --install %configure -%make_build +%make_build -j1 %install %make_install %delete_la -%check - -%post -/sbin/ldconfig - -%postun -/sbin/ldconfig - %files -%doc COPYING NEWS AUTHORS +%license COPYING +%doc NEWS AUTHORS %{_libdir}/*.so.* %dir %{_libdir}/farstream-0.2 %{_libdir}/farstream-0.2/*.so @@ -69,6 +62,9 @@ autoreconf --force --install %{_datadir}/gtk-doc/html/farstream-plugins-0.2/ %changelog +* Wed Dec 25 2024 Funda Wang - 0.2.9-2 +- force build non-parallel + * Tue Jun 21 2022 SimpleUpdate Robot - 0.2.9-1 - Upgrade to version 0.2.9 -- Gitee