update to 19.4 [release 19.4-1mamba;Sat Jun 04 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 02:21:39 +01:00
parent 5ded551786
commit 5878e77a79

View File

@ -13,10 +13,10 @@
%define pkgrel %(echo %version | cut -d_ -f2)
%define codenameadd -Matrix
%define ffmpeg_ver 4.3.2%{codenameadd}-19.1
#%define ffmpeg_ver 4.3.2%{codenameadd}-19.1
Name: kodi
Version: 19.3
Version: 19.4
Release: 1mamba
Summary: A media player and entertainment hub for digital media
Group: Graphical Desktop/Applications/Multimedia
@ -25,8 +25,9 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://kodi.tv/
Source: https://github.com/xbmc/xbmc/archive/%{version}%{?codenameadd}.tar.gz
#http://ftp.df.lth.se/pub/xbmc/releases/source/%{version}%{?codenameadd}.tar.gz
Source1: https://github.com/xbmc/FFmpeg/archive/%{ffmpeg_ver}.tar.gz
Source1: https://github.com/BlackIkeEagle/kodi-FFmpeg/archive/refs/heads/fix/4.3-kodi-dav1d-1.0.tar.gz
Source2: http://mirrors.kodi.tv/build-deps/sources/fmt-6.1.2.tar.gz
Source3: http://mirrors.kodi.tv/build-deps/sources/spdlog-1.5.0.tar.gz
Patch0: xbmc-12.0-do_not_require_lsb_release.patch
Patch1: xbmc-12.0-inconsistent_operand_constraints_in_an_asm.patch
Patch2: xbmc-12.0-systeminfo.patch
@ -43,63 +44,71 @@ BuildRequires: libGLU-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libXrandr-devel
BuildRequires: libXv-devel
BuildRequires: libalsa-devel
BuildRequires: libass-devel
BuildRequires: libatomic-devel
BuildRequires: libavahi-devel
BuildRequires: libavcodec-ffmpeg-devel
BuildRequires: libavfilter-ffmpeg-devel
BuildRequires: libavformat-ffmpeg-devel
BuildRequires: libavutil-ffmpeg-devel
BuildRequires: libbluetooth-devel
BuildRequires: libbluray-devel
BuildRequires: libbrotli-devel
BuildRequires: libbzip2-devel
BuildRequires: libcap-devel
BuildRequires: libcdio-devel
BuildRequires: libcec-devel
%ifarch x86_64 %{ix86}
BuildRequires: libcrystalhd-devel
%endif
BuildRequires: libcurl-devel
BuildRequires: libdav1d-devel
BuildRequires: libdbus-devel
BuildRequires: libdrm-devel
BuildRequires: libfmt-devel
BuildRequires: libfreetype-devel
BuildRequires: libfribidi-devel
BuildRequires: libfstrcmp-devel
BuildRequires: libgcc
BuildRequires: libgif-devel
BuildRequires: libglvnd-devel
BuildRequires: libgmp-devel
BuildRequires: libgnutls-devel
BuildRequires: libidn2-devel
BuildRequires: libinput-devel
BuildRequires: libjpeg-devel
BuildRequires: liblcms2-devel
BuildRequires: liblzma-devel
BuildRequires: liblzo-devel
BuildRequires: libmariadb-devel
BuildRequires: libmesa-devel
BuildRequires: libmicrohttpd-devel
BuildRequires: libnettle-devel
BuildRequires: libnfs-devel
BuildRequires: libopenssl-devel
BuildRequires: libp11-kit-devel
BuildRequires: libpcre-devel
BuildRequires: libplist-devel
BuildRequires: libpng-devel
BuildRequires: libpostproc-ffmpeg-devel
BuildRequires: libpulseaudio-devel
BuildRequires: libpulseaudio-glib-devel
BuildRequires: libpython3-devel
BuildRequires: libpython39-devel
BuildRequires: libsmbclient-devel
BuildRequires: libspdlog-devel
BuildRequires: libsqlite-devel
BuildRequires: libstdc++6-devel
BuildRequires: libswresample-ffmpeg-devel
BuildRequires: libswscale-ffmpeg-devel
BuildRequires: libtag-devel
BuildRequires: libtasn1-devel
BuildRequires: libtinyxml-devel
BuildRequires: libudev-devel
BuildRequires: libunistring-devel
BuildRequires: libuuid-devel
BuildRequires: libva-devel
BuildRequires: libvdpau-devel
BuildRequires: libwaylandpp-devel
BuildRequires: libxkbcommon-devel
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
BuildRequires: libz-devel
BuildRequires: libzstd-devel
BuildRequires: lirc-devel
BuildRequires: trousers-devel
## AUTOBUILDREQ-END
BuildRequires: doxygen
BuildRequires: gperf
@ -129,7 +138,7 @@ BuildRequires: libdcadec-devel
BuildRequires: libcrossguid-devel
BuildRequires: libflatbuffers-devel
BuildRequires: librapidjson-devel
BuildRequires: libwaylandpp-devel
BuildRequires: libwaylandpp-devel >= 1.0.0
Requires: mesa-tests
Requires: xdpyinfo
Requires: libprojectM
@ -173,19 +182,24 @@ XBMC is an award-winning free and open source (GPL) software media player and en
%patch4 -p1
%endif
ln -s %{SOURCE1} tools/depends/target/ffmpeg/
#ln -s %{SOURCE1} tools/depends/target/ffmpeg/
%ifarch %{ix86}
cd tools/depends/target/ffmpeg/
tar xf %{ffmpeg_ver}.tar.gz
cd FFmpeg-%{ffmpeg_ver}
%patch7 -p1
%endif
#%ifarch %{ix86}
#cd tools/depends/target/ffmpeg/
#tar xf %{ffmpeg_ver}.tar.gz
#cd FFmpeg-%{ffmpeg_ver}
#%patch7 -p1
#%endif
%build
#:<< ___EOF
%cmake -d build \
\
-DENABLE_INTERNAL_FFMPEG=ON \
-DFFMPEG_URL="%{SOURCE1}" \
-DENABLE_INTERNAL_FMT=ON \
-DFMT_URL="%{SOURCE2}" \
-DENABLE_INTERNAL_SPDLOG=ON \
-DSPDLOG_URL="%{SOURCE3}" \
%ifarch x86_64 %{ix86}
-DAPP_RENDER_SYSTEM="gl"
%endif
@ -266,6 +280,9 @@ fi
%doc README.md
%changelog
* Sat Jun 04 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 19.4-1mamba
- update to 19.4
* Tue Oct 26 2021 Automatic Build System <autodist@mambasoft.it> 19.3-1mamba
- automatic version update by autodist