%define codename Omega
%define addon inputstream.adaptive
-%define bento4_ver 1.6.0-639-8-Omega
+%define bento4_ver 1.6.0-641-Omega
Summary: Kodi InputStream addon for several manifest types
Name: kodi-addon-inputstream-adaptive
-Version: %{kodi_ver}.3.1
+Version: %{kodi_ver}.4.4
Release: 1
License: GPL v2+
Group: Applications/Multimedia
Source0: https://github.com/xbmc/inputstream.adaptive/archive/%{version}-%{codename}/%{version}-%{codename}.tar.gz
-# Source0-md5: 0ee0bcd3c16bd737663dcad8b24b88c8
+# Source0-md5: ac05307397df43eb6cc77c8379275056
Source1: https://github.com/xbmc/Bento4/archive/%{bento4_ver}/Bento4-%{bento4_ver}.tar.gz
-# Source1-md5: dbb5808c81aa0e6c0eda484b6e4fc93f
+# Source1-md5: 77b1246f0d738ee4f2006c27eb48d3c8
Patch0: bento4-hash.patch
URL: https://github.com/xbmc/inputstream.adaptive
BuildRequires: cmake >= 3.10
BuildRequires: kodi-devel >= %{kodi_ver}
BuildRequires: kodi-devel < %{next_kodi_ver}
BuildRequires: libstdc++-devel >= 6:7
+BuildRequires: pugixml-devel
BuildRequires: rpmbuild(macros) >= 1.605
Requires: kodi >= %{kodi_ver}
Requires: kodi < %{next_kodi_ver}
%dir %{_libdir}/kodi/addons/%{addon}
%attr(755,root,root) %{_libdir}/kodi/addons/%{addon}/%{addon}.so.%{version}
%attr(755,root,root) %ghost %{_libdir}/kodi/addons/%{addon}/%{addon}.so.21.0
+%ifarch aarch64
+%attr(755,root,root) %ghost %{_libdir}/kodi/addons/%{addon}/libcdm_aarch64_loader.so
+%endif
%dir %{_datadir}/kodi/addons/%{addon}
%{_datadir}/kodi/addons/%{addon}/addon.xml
%{_datadir}/kodi/addons/%{addon}/changelog.txt