]> git.pld-linux.org Git - packages/kodi-addon-inputstream-ffmpegdirect.git/blame - kodi-addon-inputstream-ffmpegdirect.spec
up to 19.0.2
[packages/kodi-addon-inputstream-ffmpegdirect.git] / kodi-addon-inputstream-ffmpegdirect.spec
CommitLineData
6ed98247
JP
1%define kodi_ver 19
2%define next_kodi_ver %(echo $((%{kodi_ver}+1)))
3%define codename Matrix
4%define addon inputstream.ffmpegdirect
5
6Summary: Kodi InputStream ffmpegdirect addon
7Name: kodi-addon-inputstream-ffmpegdirect
f4d204eb 8Version: %{kodi_ver}.0.2
6ed98247
JP
9Release: 1
10License: GPL v2+
11Group: Applications/Multimedia
12Source0: https://github.com/xbmc/inputstream.ffmpegdirect/archive/%{version}-%{codename}/%{version}-%{codename}.tar.gz
f4d204eb 13# Source0-md5: 3057608fbf20f79524cffd72c730d458
6ed98247
JP
14URL: https://github.com/xbmc/inputstream.ffmpegdirect
15BuildRequires: bzip2-devel
16BuildRequires: cmake >= 3.5
17BuildRequires: ffmpeg-devel
18BuildRequires: kodi-devel >= %{kodi_ver}
19BuildRequires: kodi-devel < %{next_kodi_ver}
20BuildRequires: pkgconfig
21BuildRequires: rpmbuild(macros) >= 1.605
22BuildRequires: zlib-devel
23Requires: kodi >= %{kodi_ver}
24Requires: kodi < %{next_kodi_ver}
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28This is a Kodi input stream addon for streams that can be opened by
29either FFmpeg's libavformat or Kodi's cURL. Common stream formats such
30as plain TS, HLS and DASH are supported as well as many others. Note
31that the only DASH streams supported are those without DRM.
32
33The addon also has support for Archive/Catchup services where there is
34a replay window (usually in days) and can timeshift across that span.
35In addition the addon can also provide timeshift to live streams where
36rewind/pause and fast-forward woud not have previously been possible.
37
38%prep
39%setup -q -n %{addon}-%{version}-%{codename}
40
41%build
42%cmake -B build
43%{__make} -C build
44
45%install
46rm -rf $RPM_BUILD_ROOT
47%{__make} -C build install \
48 DESTDIR=$RPM_BUILD_ROOT
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
55%dir %{_libdir}/kodi/addons/%{addon}
56%attr(755,root,root) %{_libdir}/kodi/addons/%{addon}/%{addon}.so.%{version}
57%dir %{_datadir}/kodi/addons/%{addon}
58%{_datadir}/kodi/addons/%{addon}/addon.xml
59%{_datadir}/kodi/addons/%{addon}/changelog.txt
60%{_datadir}/kodi/addons/%{addon}/fanart.jpg
61%{_datadir}/kodi/addons/%{addon}/icon.png
62%{_datadir}/kodi/addons/%{addon}/resources
This page took 0.09024 seconds and 4 git commands to generate.