commit 9663159ca4c79529b2baa5b78f1f8e8a9b5e9dec
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Sat Feb 26 07:59:21 2022 +0000
Update to 2.0.0
gpac.spec | 29 ++++++++++++++++++-----------
sources | 2 +-
2 files changed, 19 insertions(+), 12 deletions(-)
---
diff --git a/gpac.spec b/gpac.spec
index fab3744..f6a214c 100644
--- a/gpac.spec
+++ b/gpac.spec
@@ -5,18 +5,23 @@
# - Fix unused-direct-shlib-dependency on libgpac
#global git 20150924
-%global commit 413cd94f24ebf09668cc90434af81729a01e6306
-%global date 20211104
-%global shortcommit0 %(c=%{commit}; echo ${c:0:7})
+#global commit 413cd94f24ebf09668cc90434af81729a01e6306
+#global date 20211104
+#global shortcommit0 %(c=%{commit}; echo ${c:0:7})
+
+%if 0%{?el9}
+%global _without_jack 1
+%global _without_freenect 1
+%endif
Name: gpac
Summary: MPEG-4 multimedia framework
-Version: 1.0.2
-Release: 0.2%{?shortcommit0:.%{date}git%{shortcommit0}}%{?dist}
+Version: 2.0.0
+Release: 1%{?shortcommit0:.%{date}git%{shortcommit0}}%{?dist}
License: LGPLv2+
URL:
http://gpac.sourceforge.net/
-#Source0:
https://github.com/gpac/gpac/archive/v%{version}/gpac-%{version}.tar.gz
-Source0:
https://github.com/gpac/gpac/archive/%{commit}/gpac-%{commit}.tar.gz
+Source0:
https://github.com/gpac/gpac/archive/v%{version}/gpac-%{version}.tar.gz
+#Source0:
https://github.com/gpac/gpac/archive/%{commit}/gpac-%{commit}.tar.gz
#Source9: gpac-snapshot.sh
#Debian dependencies provide by gpac
#Build-Depends: debhelper (>= 6), libc6, libc6-dev, libx11-dev (>= 1.3), zlib1g-dev
(>= 1), libfreetype6-dev, libjpeg62-dev | libjpeg62-turbo-dev, libpng-dev, libmad0-dev,
libfaad-dev, libogg-dev, libvorbis-dev, libtheora-dev, liba52-dev | liba52-0.7.4-dev,
libavcodec-dev, libavformat-dev, libavutil-dev, libswscale-dev, libavdevice-dev,
libavfilter-dev, libxv-dev, x11proto-video-dev, libgl1-mesa-dev, x11proto-gl-dev,
libxvidcore-dev, libssl-dev (>= 0.9.8), libjack-dev (>= 0.118), libasound2-dev
(>= 1.0), libpulse-dev (>= 0.9), libsdl-dev (>= 1.2) | libsdl2-dev, ccache
@@ -26,7 +31,6 @@ BuildRequires: SDL2-devel
BuildRequires: a52dec-devel
BuildRequires: librsvg2-devel >= 2.5.0
BuildRequires: libGLU-devel
-BuildRequires: freeglut-devel
BuildRequires: freetype-devel >= 2.1.4
BuildRequires: faad2-devel
BuildRequires: libjpeg-devel
@@ -45,10 +49,10 @@ BuildRequires: libtheora-devel
BuildRequires: libXt-devel
BuildRequires: libXpm-devel
BuildRequires: libXv-devel
-BuildRequires: jack-audio-connection-kit-devel
+%{!?_without_jack:BuildRequires: jack-audio-connection-kit-devel}
# Disable optional freenect for i686 multilibs gpac usage
%ifnarch i686
-BuildRequires: libfreenect-devel
+%{!?_without_freenect:BuildRequires: libfreenect-devel}
%endif
BuildRequires: xmlrpc-c-devel
BuildRequires: doxygen graphviz
@@ -99,7 +103,7 @@ Provides: %{name}-devel-static = %{version}-%{release}
Static library for gpac.
%prep
-%autosetup -p1 -n %{name}-%{commit}
+%autosetup -p1
rm -r extra_lib/
pushd share/doc
# Fix encoding warnings
@@ -196,6 +200,9 @@ rm %{buildroot}%{_includedir}/gpac/config.h
%changelog
+* Sat Feb 26 2022 Leigh Scott <leigh123linux(a)gmail.com> - 2.0.0-1
+- Update to 2.0.0
+
* Wed Feb 09 2022 RPM Fusion Release Engineering <sergiomb(a)rpmfusion.org> -
1.0.2-0.2.20211104git413cd94
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
diff --git a/sources b/sources
index 114b87c..a3e6693 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (gpac-413cd94f24ebf09668cc90434af81729a01e6306.tar.gz) =
825ab32127d7837489af34ea8fb730797e6519b8f13473a7a6a8d923998516ca2d83fe0d04ca345977d291a19722a5c86ff014b4505677ff144533cd74ec2e49
+SHA512 (gpac-2.0.0.tar.gz) =
e95e6d78167fc306917b3ac89e56ba511bbcb0c825da118f5ba374504499352104b5c1f3ee71e7ec018015b8e302f9b07162d22287ddb21c8564b097d900913f