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