We truncated the diff of some files because they were too big.
If you want to see the full diff for every file, click here.
Changes of Revision 72
kodi-noX-raspberry-pi.changes
Changed
x
1
2
-------------------------------------------------------------------
3
+Tue Mar 9 13:56:45 UTC 2021 - Manfred Hollstein <manfred.h@gmx.net>
4
+
5
+- Version update to Kodi 19.0 Matrix
6
+
7
+-------------------------------------------------------------------
8
Thu Dec 31 09:09:09 UTC 2020 - olaf@aepfle.de
9
10
- SSE does not depend on buildhost
11
kodi-noX-raspberry-pi2.changes
Changed
11
1
2
-------------------------------------------------------------------
3
+Tue Mar 9 13:56:45 UTC 2021 - Manfred Hollstein <manfred.h@gmx.net>
4
+
5
+- Version update to Kodi 19.0 Matrix
6
+
7
+-------------------------------------------------------------------
8
Thu Dec 31 09:09:09 UTC 2020 - olaf@aepfle.de
9
10
- SSE does not depend on buildhost
11
kodi-noX.changes
Changed
11
1
2
-------------------------------------------------------------------
3
+Tue Mar 9 13:56:45 UTC 2021 - Manfred Hollstein <manfred.h@gmx.net>
4
+
5
+- Version update to Kodi 19.0 Matrix
6
+
7
+-------------------------------------------------------------------
8
Thu Dec 31 09:09:09 UTC 2020 - olaf@aepfle.de
9
10
- SSE does not depend on buildhost
11
kodi.changes
Changed
11
1
2
-------------------------------------------------------------------
3
+Tue Mar 9 13:56:45 UTC 2021 - Manfred Hollstein <manfred.h@gmx.net>
4
+
5
+- Version update to Kodi 19.0 Matrix
6
+
7
+-------------------------------------------------------------------
8
Thu Dec 31 09:09:09 UTC 2020 - olaf@aepfle.de
9
10
- SSE does not depend on buildhost
11
kodi-noX-raspberry-pi.spec
Changed
201
1
2
3
# Please edit kodi.spec and kodi.changes only. *-noX.* files are generated from
4
# kodi.* files with the pre_checkin.sh script
5
-%define kodi_version Leia
6
-%define ffmpeg_version 4.0.3-Leia-RC5
7
+%define kodi_version Matrix
8
+%define ffmpeg_version 4.3.1-Matrix-Beta1
9
%define _kodi_addons_dir %{_datadir}/kodi/addons
10
# set this parameter to enable building Kodi with ccache, debug information, etc.
11
-%define dev_build 1
12
+%define dev_build 0
13
# WARNING: Build with bundled ffmpeg until version 18.0 is reached
14
%bcond_without sysffmpeg
15
# kodi can be built without X support when openGL ES is used (mainly used on ARM boards used as media center)
16
%bcond_with kodi_with_X11
17
+# Enable or disable Wayland depending on whether the stack is usable or not:
18
+%bcond_with kodi_with_wayland
19
+
20
%define kodi_platform raspberry-pi
21
%define kodi_player omxplayer
22
23
24
ExclusiveArch: does-not-build
25
26
Name: kodi-noX-raspberry-pi
27
-Version: 18.9
28
+Version: 19.0
29
Release: 0
30
Summary: Media center (formerly known as XBMC)
31
License: GPL-2.0+ and GPL-3.0+
32
33
Source22: https://github.com/xbmc/libdvdcss/archive/1.4.2-Leia-Beta-5.tar.gz
34
# DOWNLOAD from https://github.com/xbmc/libdvd*/archive/6.0.0-Leia-Alpha-3.tar.gz
35
Source23: libdvdread-6.0.0-Leia-Alpha-3.tar.gz
36
-%if %{without sysffmpeg}
37
+## if %{without sysffmpeg}
38
Source30: https://github.com/xbmc/FFmpeg/archive/%{ffmpeg_version}.tar.gz
39
-%endif
40
-Patch0: kodi-sse.patch
41
+## endif
42
+#Patch0: kodi-sse.patch
43
#Patch0: kodi.arm.patch
44
#Patch1: no-xbmc-symbolic-link.patch
45
#Patch2: kodi-texturepacker.patch
46
47
Patch6: kodi-install.patch
48
Patch7: kodi-apply-dvdrun.patch
49
Patch8: kodi-libdrm.patch
50
+%if %{without kodi_with_wayland}
51
+Patch9: kodi-disable-wayland.patch
52
+%endif
53
54
BuildRequires: autoconf
55
BuildRequires: automake
56
+BuildRequires: binutils-gold
57
BuildRequires: desktop-file-utils
58
BuildRequires: fdupes
59
BuildRequires: gawk
60
61
BuildRequires: gcc8-c++
62
%endif
63
BuildRequires: ghostscript
64
+BuildRequires: graphviz
65
BuildRequires: groff-full
66
BuildRequires: libtool
67
BuildRequires: pkg-config
68
69
BuildRequires: fstrcmp-devel
70
BuildRequires: pkgconfig(fmt)
71
BuildRequires: pkgconfig(RapidJSON) >= 1.0.2
72
-BuildRequires: pkgconfig(python2)
73
+BuildRequires: pkgconfig(python3)
74
BuildRequires: libmysqlclient-devel
75
BuildRequires: pkgconfig(libass)
76
BuildRequires: pkgconfig(libcurl)
77
78
BuildRequires: pkgconfig(uuid)
79
BuildRequires: libyajl-devel >= 2
80
BuildRequires: pkgconfig(libidn2)
81
+BuildRequires: pkgconfig(libinput)
82
BuildRequires: pkgconfig(libxml-2.0)
83
BuildRequires: pkgconfig(libxslt)
84
BuildRequires: pkgconfig(fribidi)
85
86
BuildRequires: pkgconfig(libpcre)
87
BuildRequires: pkgconfig(freetype2)
88
BuildRequires: pkgconfig(taglib) >= 1.9
89
-BuildRequires: pkgconfig(libcdio)
90
+BuildRequires: pkgconfig(libcdio) >= 2.1.0
91
BuildRequires: pkgconfig(lirc)
92
+BuildRequires: pkgconfig(RapidJSON)
93
%if %{with kodi_libbluray}
94
BuildRequires: pkgconfig(libbluray) >= 0.7.0
95
%endif
96
97
BuildRequires: pkgconfig(libmicrohttpd)
98
BuildRequires: pkgconfig(libpulse) >= 1.0
99
BuildRequires: pkgconfig(avahi-client)
100
+BuildRequires: pkgconfig(gbm)
101
%if %{with kodi_with_X11}
102
BuildRequires: pkgconfig(x11)
103
BuildRequires: pkgconfig(xext)
104
BuildRequires: pkgconfig(xrandr)
105
BuildRequires: pkgconfig(libdrm)
106
BuildRequires: pkgconfig(egl)
107
+BuildRequires: pkgconfig(xkbcommon)
108
%endif
109
BuildRequires: pkgconfig(libssh)
110
BuildRequires: pkgconfig(smbclient)
111
BuildRequires: pkgconfig(libnfs)
112
+%if 0%{?suse_version} >= 1550
113
+BuildRequires: pkgconfig(libplist-2.0)
114
+%else
115
BuildRequires: pkgconfig(libplist)
116
+%endif
117
BuildRequires: shairplay-devel
118
BuildRequires: pkgconfig(libudev)
119
BuildRequires: pkgconfig(libcec) >= 4.0.0
120
121
BuildRequires: pkgconfig(jack)
122
BuildRequires: pkgconfig(libass)
123
BuildRequires: pkgconfig(libbluray)
124
-BuildRequires: pkgconfig(libcdio)
125
BuildRequires: pkgconfig(libcdio_paranoia)
126
BuildRequires: pkgconfig(libdc1394-2)
127
BuildRequires: pkgconfig(liboil-0.3) >= 0.3.15
128
129
BuildRequires: pkgconfig(libva-x11) >= 1.0.0
130
%endif
131
%endif
132
+%if %{with kodi_with_wayland}
133
+BuildRequires: pkgconfig(libva-wayland)
134
+BuildRequires: pkgconfig(wayland-scanner)
135
+BuildRequires: pkgconfig(wayland-protocols)
136
+BuildRequires: pkgconfig(wayland-client)
137
+BuildRequires: pkgconfig(wayland-client++)
138
+BuildRequires: pkgconfig(wayland-cursor++)
139
+BuildRequires: pkgconfig(wayland-egl++)
140
+%endif
141
%if %{with enable_opengles}
142
%if "%{kodi_platform}" == "none"
143
BuildRequires: Mesa-libEGL-devel
144
145
BuildRequires: gperf
146
BuildRequires: unzip
147
BuildRequires: zip
148
-%ifarch %ix86
149
BuildRequires: nasm
150
-%endif
151
%if %{dev_build}
152
BuildRequires: ccache
153
%endif
154
155
BuildRequires: libjpeg8-devel
156
BuildRequires: lzo-devel
157
#
158
+BuildRequires: pkgconfig(spdlog) > 1.5.0
159
+BuildRequires: libunistring-devel
160
+
161
+%if 0%{?suse_version} > 1510
162
+BuildRequires: pkgconfig(gtest)
163
+%else
164
+BuildRequires: googletest-devel
165
+%endif
166
+#
167
%{?systemd_requires}
168
169
# kodi needs libnfs to access nfs sources, it is not automatically required
170
171
#
172
Obsoletes: xbmc < %{version}
173
Provides: xbmc = %{version}
174
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
175
%if %{with kodi_with_X11}
176
Conflicts: kodi
177
%else
178
179
Development files for Kodi Media Center
180
181
%prep
182
-%autosetup -p1 -n xbmc-%{version}-%{kodi_version}
183
+%setup -q -n xbmc-%{version}-%{kodi_version}
184
+#%setup -q -n xbmc-%{version}
185
+
186
+#%patch0
187
+#%patch1
188
+#%patch2
189
+#%patch3
190
+#%patch4
191
+#%patch5
192
+%patch6
193
+%patch7
194
+#%patch8 -p1
195
+%if %{without kodi_with_wayland}
196
+%patch9
197
+%endif
198
199
%build
200
201
kodi-noX-raspberry-pi2.spec
Changed
201
1
2
3
# Please edit kodi.spec and kodi.changes only. *-noX.* files are generated from
4
# kodi.* files with the pre_checkin.sh script
5
-%define kodi_version Leia
6
-%define ffmpeg_version 4.0.3-Leia-RC5
7
+%define kodi_version Matrix
8
+%define ffmpeg_version 4.3.1-Matrix-Beta1
9
%define _kodi_addons_dir %{_datadir}/kodi/addons
10
# set this parameter to enable building Kodi with ccache, debug information, etc.
11
-%define dev_build 1
12
+%define dev_build 0
13
# WARNING: Build with bundled ffmpeg until version 18.0 is reached
14
%bcond_without sysffmpeg
15
# kodi can be built without X support when openGL ES is used (mainly used on ARM boards used as media center)
16
%bcond_with kodi_with_X11
17
+# Enable or disable Wayland depending on whether the stack is usable or not:
18
+%bcond_with kodi_with_wayland
19
+
20
%define kodi_platform raspberry-pi2
21
%define kodi_player omxplayer
22
23
24
ExclusiveArch: does-not-build
25
26
Name: kodi-noX-raspberry-pi2
27
-Version: 18.9
28
+Version: 19.0
29
Release: 0
30
Summary: Media center (formerly known as XBMC)
31
License: GPL-2.0+ and GPL-3.0+
32
33
Source22: https://github.com/xbmc/libdvdcss/archive/1.4.2-Leia-Beta-5.tar.gz
34
# DOWNLOAD from https://github.com/xbmc/libdvd*/archive/6.0.0-Leia-Alpha-3.tar.gz
35
Source23: libdvdread-6.0.0-Leia-Alpha-3.tar.gz
36
-%if %{without sysffmpeg}
37
+## if %{without sysffmpeg}
38
Source30: https://github.com/xbmc/FFmpeg/archive/%{ffmpeg_version}.tar.gz
39
-%endif
40
-Patch0: kodi-sse.patch
41
+## endif
42
+#Patch0: kodi-sse.patch
43
#Patch0: kodi.arm.patch
44
#Patch1: no-xbmc-symbolic-link.patch
45
#Patch2: kodi-texturepacker.patch
46
47
Patch6: kodi-install.patch
48
Patch7: kodi-apply-dvdrun.patch
49
Patch8: kodi-libdrm.patch
50
+%if %{without kodi_with_wayland}
51
+Patch9: kodi-disable-wayland.patch
52
+%endif
53
54
BuildRequires: autoconf
55
BuildRequires: automake
56
+BuildRequires: binutils-gold
57
BuildRequires: desktop-file-utils
58
BuildRequires: fdupes
59
BuildRequires: gawk
60
61
BuildRequires: gcc8-c++
62
%endif
63
BuildRequires: ghostscript
64
+BuildRequires: graphviz
65
BuildRequires: groff-full
66
BuildRequires: libtool
67
BuildRequires: pkg-config
68
69
BuildRequires: fstrcmp-devel
70
BuildRequires: pkgconfig(fmt)
71
BuildRequires: pkgconfig(RapidJSON) >= 1.0.2
72
-BuildRequires: pkgconfig(python2)
73
+BuildRequires: pkgconfig(python3)
74
BuildRequires: libmysqlclient-devel
75
BuildRequires: pkgconfig(libass)
76
BuildRequires: pkgconfig(libcurl)
77
78
BuildRequires: pkgconfig(uuid)
79
BuildRequires: libyajl-devel >= 2
80
BuildRequires: pkgconfig(libidn2)
81
+BuildRequires: pkgconfig(libinput)
82
BuildRequires: pkgconfig(libxml-2.0)
83
BuildRequires: pkgconfig(libxslt)
84
BuildRequires: pkgconfig(fribidi)
85
86
BuildRequires: pkgconfig(libpcre)
87
BuildRequires: pkgconfig(freetype2)
88
BuildRequires: pkgconfig(taglib) >= 1.9
89
-BuildRequires: pkgconfig(libcdio)
90
+BuildRequires: pkgconfig(libcdio) >= 2.1.0
91
BuildRequires: pkgconfig(lirc)
92
+BuildRequires: pkgconfig(RapidJSON)
93
%if %{with kodi_libbluray}
94
BuildRequires: pkgconfig(libbluray) >= 0.7.0
95
%endif
96
97
BuildRequires: pkgconfig(libmicrohttpd)
98
BuildRequires: pkgconfig(libpulse) >= 1.0
99
BuildRequires: pkgconfig(avahi-client)
100
+BuildRequires: pkgconfig(gbm)
101
%if %{with kodi_with_X11}
102
BuildRequires: pkgconfig(x11)
103
BuildRequires: pkgconfig(xext)
104
BuildRequires: pkgconfig(xrandr)
105
BuildRequires: pkgconfig(libdrm)
106
BuildRequires: pkgconfig(egl)
107
+BuildRequires: pkgconfig(xkbcommon)
108
%endif
109
BuildRequires: pkgconfig(libssh)
110
BuildRequires: pkgconfig(smbclient)
111
BuildRequires: pkgconfig(libnfs)
112
+%if 0%{?suse_version} >= 1550
113
+BuildRequires: pkgconfig(libplist-2.0)
114
+%else
115
BuildRequires: pkgconfig(libplist)
116
+%endif
117
BuildRequires: shairplay-devel
118
BuildRequires: pkgconfig(libudev)
119
BuildRequires: pkgconfig(libcec) >= 4.0.0
120
121
BuildRequires: pkgconfig(jack)
122
BuildRequires: pkgconfig(libass)
123
BuildRequires: pkgconfig(libbluray)
124
-BuildRequires: pkgconfig(libcdio)
125
BuildRequires: pkgconfig(libcdio_paranoia)
126
BuildRequires: pkgconfig(libdc1394-2)
127
BuildRequires: pkgconfig(liboil-0.3) >= 0.3.15
128
129
BuildRequires: pkgconfig(libva-x11) >= 1.0.0
130
%endif
131
%endif
132
+%if %{with kodi_with_wayland}
133
+BuildRequires: pkgconfig(libva-wayland)
134
+BuildRequires: pkgconfig(wayland-scanner)
135
+BuildRequires: pkgconfig(wayland-protocols)
136
+BuildRequires: pkgconfig(wayland-client)
137
+BuildRequires: pkgconfig(wayland-client++)
138
+BuildRequires: pkgconfig(wayland-cursor++)
139
+BuildRequires: pkgconfig(wayland-egl++)
140
+%endif
141
%if %{with enable_opengles}
142
%if "%{kodi_platform}" == "none"
143
BuildRequires: Mesa-libEGL-devel
144
145
BuildRequires: gperf
146
BuildRequires: unzip
147
BuildRequires: zip
148
-%ifarch %ix86
149
BuildRequires: nasm
150
-%endif
151
%if %{dev_build}
152
BuildRequires: ccache
153
%endif
154
155
BuildRequires: libjpeg8-devel
156
BuildRequires: lzo-devel
157
#
158
+BuildRequires: pkgconfig(spdlog) > 1.5.0
159
+BuildRequires: libunistring-devel
160
+
161
+%if 0%{?suse_version} > 1510
162
+BuildRequires: pkgconfig(gtest)
163
+%else
164
+BuildRequires: googletest-devel
165
+%endif
166
+#
167
%{?systemd_requires}
168
169
# kodi needs libnfs to access nfs sources, it is not automatically required
170
171
#
172
Obsoletes: xbmc < %{version}
173
Provides: xbmc = %{version}
174
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
175
%if %{with kodi_with_X11}
176
Conflicts: kodi
177
%else
178
179
Development files for Kodi Media Center
180
181
%prep
182
-%autosetup -p1 -n xbmc-%{version}-%{kodi_version}
183
+%setup -q -n xbmc-%{version}-%{kodi_version}
184
+#%setup -q -n xbmc-%{version}
185
+
186
+#%patch0
187
+#%patch1
188
+#%patch2
189
+#%patch3
190
+#%patch4
191
+#%patch5
192
+%patch6
193
+%patch7
194
+#%patch8 -p1
195
+%if %{without kodi_with_wayland}
196
+%patch9
197
+%endif
198
199
%build
200
201
kodi-noX.spec
Changed
201
1
2
3
# Please edit kodi.spec and kodi.changes only. *-noX.* files are generated from
4
# kodi.* files with the pre_checkin.sh script
5
-%define kodi_version Leia
6
-%define ffmpeg_version 4.0.3-Leia-RC5
7
+%define kodi_version Matrix
8
+%define ffmpeg_version 4.3.1-Matrix-Beta1
9
%define _kodi_addons_dir %{_datadir}/kodi/addons
10
# set this parameter to enable building Kodi with ccache, debug information, etc.
11
-%define dev_build 1
12
+%define dev_build 0
13
# WARNING: Build with bundled ffmpeg until version 18.0 is reached
14
%bcond_without sysffmpeg
15
# kodi can be built without X support when openGL ES is used (mainly used on ARM boards used as media center)
16
%bcond_with kodi_with_X11
17
+# Enable or disable Wayland depending on whether the stack is usable or not:
18
+%bcond_with kodi_with_wayland
19
+
20
%define kodi_platform none
21
%define kodi_player none
22
23
24
ExclusiveArch: does-not-build
25
26
Name: kodi-noX
27
-Version: 18.9
28
+Version: 19.0
29
Release: 0
30
Summary: Media center (formerly known as XBMC)
31
License: GPL-2.0+ and GPL-3.0+
32
33
Source22: https://github.com/xbmc/libdvdcss/archive/1.4.2-Leia-Beta-5.tar.gz
34
# DOWNLOAD from https://github.com/xbmc/libdvd*/archive/6.0.0-Leia-Alpha-3.tar.gz
35
Source23: libdvdread-6.0.0-Leia-Alpha-3.tar.gz
36
-%if %{without sysffmpeg}
37
+## if %{without sysffmpeg}
38
Source30: https://github.com/xbmc/FFmpeg/archive/%{ffmpeg_version}.tar.gz
39
-%endif
40
-Patch0: kodi-sse.patch
41
+## endif
42
+#Patch0: kodi-sse.patch
43
#Patch0: kodi.arm.patch
44
#Patch1: no-xbmc-symbolic-link.patch
45
#Patch2: kodi-texturepacker.patch
46
47
Patch6: kodi-install.patch
48
Patch7: kodi-apply-dvdrun.patch
49
Patch8: kodi-libdrm.patch
50
+%if %{without kodi_with_wayland}
51
+Patch9: kodi-disable-wayland.patch
52
+%endif
53
54
BuildRequires: autoconf
55
BuildRequires: automake
56
+BuildRequires: binutils-gold
57
BuildRequires: desktop-file-utils
58
BuildRequires: fdupes
59
BuildRequires: gawk
60
61
BuildRequires: gcc8-c++
62
%endif
63
BuildRequires: ghostscript
64
+BuildRequires: graphviz
65
BuildRequires: groff-full
66
BuildRequires: libtool
67
BuildRequires: pkg-config
68
69
BuildRequires: fstrcmp-devel
70
BuildRequires: pkgconfig(fmt)
71
BuildRequires: pkgconfig(RapidJSON) >= 1.0.2
72
-BuildRequires: pkgconfig(python2)
73
+BuildRequires: pkgconfig(python3)
74
BuildRequires: libmysqlclient-devel
75
BuildRequires: pkgconfig(libass)
76
BuildRequires: pkgconfig(libcurl)
77
78
BuildRequires: pkgconfig(uuid)
79
BuildRequires: libyajl-devel >= 2
80
BuildRequires: pkgconfig(libidn2)
81
+BuildRequires: pkgconfig(libinput)
82
BuildRequires: pkgconfig(libxml-2.0)
83
BuildRequires: pkgconfig(libxslt)
84
BuildRequires: pkgconfig(fribidi)
85
86
BuildRequires: pkgconfig(libpcre)
87
BuildRequires: pkgconfig(freetype2)
88
BuildRequires: pkgconfig(taglib) >= 1.9
89
-BuildRequires: pkgconfig(libcdio)
90
+BuildRequires: pkgconfig(libcdio) >= 2.1.0
91
BuildRequires: pkgconfig(lirc)
92
+BuildRequires: pkgconfig(RapidJSON)
93
%if %{with kodi_libbluray}
94
BuildRequires: pkgconfig(libbluray) >= 0.7.0
95
%endif
96
97
BuildRequires: pkgconfig(libmicrohttpd)
98
BuildRequires: pkgconfig(libpulse) >= 1.0
99
BuildRequires: pkgconfig(avahi-client)
100
+BuildRequires: pkgconfig(gbm)
101
%if %{with kodi_with_X11}
102
BuildRequires: pkgconfig(x11)
103
BuildRequires: pkgconfig(xext)
104
BuildRequires: pkgconfig(xrandr)
105
BuildRequires: pkgconfig(libdrm)
106
BuildRequires: pkgconfig(egl)
107
+BuildRequires: pkgconfig(xkbcommon)
108
%endif
109
BuildRequires: pkgconfig(libssh)
110
BuildRequires: pkgconfig(smbclient)
111
BuildRequires: pkgconfig(libnfs)
112
+%if 0%{?suse_version} >= 1550
113
+BuildRequires: pkgconfig(libplist-2.0)
114
+%else
115
BuildRequires: pkgconfig(libplist)
116
+%endif
117
BuildRequires: shairplay-devel
118
BuildRequires: pkgconfig(libudev)
119
BuildRequires: pkgconfig(libcec) >= 4.0.0
120
121
BuildRequires: pkgconfig(jack)
122
BuildRequires: pkgconfig(libass)
123
BuildRequires: pkgconfig(libbluray)
124
-BuildRequires: pkgconfig(libcdio)
125
BuildRequires: pkgconfig(libcdio_paranoia)
126
BuildRequires: pkgconfig(libdc1394-2)
127
BuildRequires: pkgconfig(liboil-0.3) >= 0.3.15
128
129
BuildRequires: pkgconfig(libva-x11) >= 1.0.0
130
%endif
131
%endif
132
+%if %{with kodi_with_wayland}
133
+BuildRequires: pkgconfig(libva-wayland)
134
+BuildRequires: pkgconfig(wayland-scanner)
135
+BuildRequires: pkgconfig(wayland-protocols)
136
+BuildRequires: pkgconfig(wayland-client)
137
+BuildRequires: pkgconfig(wayland-client++)
138
+BuildRequires: pkgconfig(wayland-cursor++)
139
+BuildRequires: pkgconfig(wayland-egl++)
140
+%endif
141
%if %{with enable_opengles}
142
%if "%{kodi_platform}" == "none"
143
BuildRequires: Mesa-libEGL-devel
144
145
BuildRequires: gperf
146
BuildRequires: unzip
147
BuildRequires: zip
148
-%ifarch %ix86
149
BuildRequires: nasm
150
-%endif
151
%if %{dev_build}
152
BuildRequires: ccache
153
%endif
154
155
BuildRequires: libjpeg8-devel
156
BuildRequires: lzo-devel
157
#
158
+BuildRequires: pkgconfig(spdlog) > 1.5.0
159
+BuildRequires: libunistring-devel
160
+
161
+%if 0%{?suse_version} > 1510
162
+BuildRequires: pkgconfig(gtest)
163
+%else
164
+BuildRequires: googletest-devel
165
+%endif
166
+#
167
%{?systemd_requires}
168
169
# kodi needs libnfs to access nfs sources, it is not automatically required
170
171
#
172
Obsoletes: xbmc < %{version}
173
Provides: xbmc = %{version}
174
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
175
%if %{with kodi_with_X11}
176
Conflicts: kodi
177
%else
178
179
Development files for Kodi Media Center
180
181
%prep
182
-%autosetup -p1 -n xbmc-%{version}-%{kodi_version}
183
+%setup -q -n xbmc-%{version}-%{kodi_version}
184
+#%setup -q -n xbmc-%{version}
185
+
186
+#%patch0
187
+#%patch1
188
+#%patch2
189
+#%patch3
190
+#%patch4
191
+#%patch5
192
+%patch6
193
+%patch7
194
+#%patch8 -p1
195
+%if %{without kodi_with_wayland}
196
+%patch9
197
+%endif
198
199
%build
200
201
kodi.spec
Changed
201
1
2
3
# Please edit kodi.spec and kodi.changes only. *-noX.* files are generated from
4
# kodi.* files with the pre_checkin.sh script
5
-%define kodi_version Leia
6
-%define ffmpeg_version 4.0.3-Leia-RC5
7
+%define kodi_version Matrix
8
+%define ffmpeg_version 4.3.1-Matrix-Beta1
9
%define _kodi_addons_dir %{_datadir}/kodi/addons
10
# set this parameter to enable building Kodi with ccache, debug information, etc.
11
-%define dev_build 1
12
+%define dev_build 0
13
# WARNING: Build with bundled ffmpeg until version 18.0 is reached
14
%bcond_without sysffmpeg
15
# kodi can be built without X support when openGL ES is used (mainly used on ARM boards used as media center)
16
%bcond_without kodi_with_X11
17
+# Enable or disable Wayland depending on whether the stack is usable or not:
18
+%bcond_with kodi_with_wayland
19
+
20
%define kodi_platform none
21
%define kodi_player none
22
23
24
#
25
%bcond_without systemd
26
27
-ExclusiveArch: %ix86 x86_64 aarch64
28
+ExclusiveArch: %ix86 x86_64 %arm aarch64
29
30
Name: kodi
31
-Version: 18.9
32
+Version: 19.0
33
Release: 0
34
Summary: Media center (formerly known as XBMC)
35
License: GPL-2.0+ and GPL-3.0+
36
37
Source22: https://github.com/xbmc/libdvdcss/archive/1.4.2-Leia-Beta-5.tar.gz
38
# DOWNLOAD from https://github.com/xbmc/libdvd*/archive/6.0.0-Leia-Alpha-3.tar.gz
39
Source23: libdvdread-6.0.0-Leia-Alpha-3.tar.gz
40
-%if %{without sysffmpeg}
41
+## if %{without sysffmpeg}
42
Source30: https://github.com/xbmc/FFmpeg/archive/%{ffmpeg_version}.tar.gz
43
-%endif
44
-Patch0: kodi-sse.patch
45
+## endif
46
+#Patch0: kodi-sse.patch
47
#Patch0: kodi.arm.patch
48
#Patch1: no-xbmc-symbolic-link.patch
49
#Patch2: kodi-texturepacker.patch
50
51
Patch6: kodi-install.patch
52
Patch7: kodi-apply-dvdrun.patch
53
Patch8: kodi-libdrm.patch
54
+%if %{without kodi_with_wayland}
55
+Patch9: kodi-disable-wayland.patch
56
+%endif
57
58
BuildRequires: autoconf
59
BuildRequires: automake
60
+BuildRequires: binutils-gold
61
BuildRequires: desktop-file-utils
62
BuildRequires: fdupes
63
BuildRequires: gawk
64
65
BuildRequires: gcc8-c++
66
%endif
67
BuildRequires: ghostscript
68
+BuildRequires: graphviz
69
BuildRequires: groff-full
70
BuildRequires: libtool
71
BuildRequires: pkg-config
72
73
BuildRequires: fstrcmp-devel
74
BuildRequires: pkgconfig(fmt)
75
BuildRequires: pkgconfig(RapidJSON) >= 1.0.2
76
-BuildRequires: pkgconfig(python2)
77
+BuildRequires: pkgconfig(python3)
78
BuildRequires: libmysqlclient-devel
79
BuildRequires: pkgconfig(libass)
80
BuildRequires: pkgconfig(libcurl)
81
82
BuildRequires: pkgconfig(uuid)
83
BuildRequires: libyajl-devel >= 2
84
BuildRequires: pkgconfig(libidn2)
85
+BuildRequires: pkgconfig(libinput)
86
BuildRequires: pkgconfig(libxml-2.0)
87
BuildRequires: pkgconfig(libxslt)
88
BuildRequires: pkgconfig(fribidi)
89
90
BuildRequires: pkgconfig(libpcre)
91
BuildRequires: pkgconfig(freetype2)
92
BuildRequires: pkgconfig(taglib) >= 1.9
93
-BuildRequires: pkgconfig(libcdio)
94
+BuildRequires: pkgconfig(libcdio) >= 2.1.0
95
BuildRequires: pkgconfig(lirc)
96
+BuildRequires: pkgconfig(RapidJSON)
97
%if %{with kodi_libbluray}
98
BuildRequires: pkgconfig(libbluray) >= 0.7.0
99
%endif
100
101
BuildRequires: pkgconfig(libmicrohttpd)
102
BuildRequires: pkgconfig(libpulse) >= 1.0
103
BuildRequires: pkgconfig(avahi-client)
104
+BuildRequires: pkgconfig(gbm)
105
%if %{with kodi_with_X11}
106
BuildRequires: pkgconfig(x11)
107
BuildRequires: pkgconfig(xext)
108
BuildRequires: pkgconfig(xrandr)
109
BuildRequires: pkgconfig(libdrm)
110
BuildRequires: pkgconfig(egl)
111
+BuildRequires: pkgconfig(xkbcommon)
112
%endif
113
BuildRequires: pkgconfig(libssh)
114
BuildRequires: pkgconfig(smbclient)
115
BuildRequires: pkgconfig(libnfs)
116
+%if 0%{?suse_version} >= 1550
117
+BuildRequires: pkgconfig(libplist-2.0)
118
+%else
119
BuildRequires: pkgconfig(libplist)
120
+%endif
121
BuildRequires: shairplay-devel
122
BuildRequires: pkgconfig(libudev)
123
BuildRequires: pkgconfig(libcec) >= 4.0.0
124
125
BuildRequires: pkgconfig(jack)
126
BuildRequires: pkgconfig(libass)
127
BuildRequires: pkgconfig(libbluray)
128
-BuildRequires: pkgconfig(libcdio)
129
BuildRequires: pkgconfig(libcdio_paranoia)
130
BuildRequires: pkgconfig(libdc1394-2)
131
BuildRequires: pkgconfig(liboil-0.3) >= 0.3.15
132
133
BuildRequires: pkgconfig(libva-x11) >= 1.0.0
134
%endif
135
%endif
136
+%if %{with kodi_with_wayland}
137
+BuildRequires: pkgconfig(libva-wayland)
138
+BuildRequires: pkgconfig(wayland-scanner)
139
+BuildRequires: pkgconfig(wayland-protocols)
140
+BuildRequires: pkgconfig(wayland-client)
141
+BuildRequires: pkgconfig(wayland-client++)
142
+BuildRequires: pkgconfig(wayland-cursor++)
143
+BuildRequires: pkgconfig(wayland-egl++)
144
+%endif
145
%if %{with enable_opengles}
146
%if "%{kodi_platform}" == "none"
147
BuildRequires: Mesa-libEGL-devel
148
149
BuildRequires: gperf
150
BuildRequires: unzip
151
BuildRequires: zip
152
-%ifarch %ix86
153
BuildRequires: nasm
154
-%endif
155
%if %{dev_build}
156
BuildRequires: ccache
157
%endif
158
159
BuildRequires: libjpeg8-devel
160
BuildRequires: lzo-devel
161
#
162
+BuildRequires: pkgconfig(spdlog) > 1.5.0
163
+BuildRequires: libunistring-devel
164
+
165
+%if 0%{?suse_version} > 1510
166
+BuildRequires: pkgconfig(gtest)
167
+%else
168
+BuildRequires: googletest-devel
169
+%endif
170
+#
171
%{?systemd_requires}
172
173
# kodi needs libnfs to access nfs sources, it is not automatically required
174
175
#
176
Obsoletes: xbmc < %{version}
177
Provides: xbmc = %{version}
178
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
179
%if %{with kodi_with_X11}
180
Conflicts: kodi
181
%else
182
183
Development files for Kodi Media Center
184
185
%prep
186
-%autosetup -p1 -n xbmc-%{version}-%{kodi_version}
187
+%setup -q -n xbmc-%{version}-%{kodi_version}
188
+#%setup -q -n xbmc-%{version}
189
+
190
+#%patch0
191
+#%patch1
192
+#%patch2
193
+#%patch3
194
+#%patch4
195
+#%patch5
196
+%patch6
197
+%patch7
198
+#%patch8 -p1
199
+%if %{without kodi_with_wayland}
200
+%patch9
201
kodi-apply-dvdrun.patch
Changed
17
1
2
---- a/cmake/modules/FindLibDvd.cmake
3
-+++ b/cmake/modules/FindLibDvd.cmake
4
-@@ -201,6 +201,7 @@ else()
5
+--- cmake/modules/FindLibDvd.cmake.orig 2021-02-18 23:17:59.000000000 +0100
6
++++ cmake/modules/FindLibDvd.cmake 2021-03-07 16:17:14.557083228 +0100
7
+@@ -215,6 +215,7 @@ else()
8
"DVDREAD_CFLAGS=${DVDREAD_CFLAGS}"
9
"DVDREAD_LIBS=${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR}/libdvd/lib/libdvdread.la"
10
"LIBS=${DVDNAV_LIBS}"
11
-+ PATCH_COMMAND patch -p0 -i /home/abuild/rpmbuild/SOURCES/libdvdnav-no-return.patch
12
++ PATCH_COMMAND patch -p0 -i /home/abuild/rpmbuild/SOURCES/libdvdnav-no-return.patch
13
+ BUILD_COMMAND ${MAKE_COMMAND}
14
BUILD_BYPRODUCTS ${DVDNAV_LIBRARY})
15
ExternalProject_Add_Step(dvdnav autoreconf
16
- DEPENDEES download update patch
17
kodi-disable-wayland.patch
Added
16
1
2
+--- ./cmake/scripts/common/Platform.cmake.orig 2021-02-18 23:17:59.000000000 +0100
3
++++ ./cmake/scripts/common/Platform.cmake 2021-03-08 11:22:35.830254146 +0100
4
+@@ -3,9 +3,9 @@ if(NOT CORE_SYSTEM_NAME)
5
+ endif()
6
+
7
+ if(CORE_SYSTEM_NAME STREQUAL linux OR CORE_SYSTEM_NAME STREQUAL freebsd)
8
+- # Set default CORE_PLATFORM_NAME to X11 WAYLAND GBM
9
++ # Set default CORE_PLATFORM_NAME to X11 GBM
10
+ # This is overridden by user setting -DCORE_PLATFORM_NAME=<platform>
11
+- set(_DEFAULT_PLATFORM X11 WAYLAND GBM)
12
++ set(_DEFAULT_PLATFORM X11 GBM)
13
+
14
+ if(NOT APP_RENDER_SYSTEM)
15
+ message(SEND_ERROR "You need to decide whether you want to use GL- or GLES-based rendering. Please set APP_RENDER_SYSTEM to either \"gl\" or \"gles\". For normal desktop systems, you will usually want to use \"gl\".")
16
kodi-install.patch
Changed
20
1
2
---- a/cmake/scripts/linux/Install.cmake
3
-+++ b/cmake/scripts/linux/Install.cmake
4
-@@ -61,7 +61,7 @@ endif()
5
+--- cmake/scripts/linux/Install.cmake.orig 2018-11-11 21:01:16.067160310 +0200
6
++++ cmake/scripts/linux/Install.cmake 2018-11-13 08:42:56.792425432 +0200
7
+@@ -61,7 +61,7 @@
8
# Install scripts
9
install(PROGRAMS ${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR}/scripts/${APP_NAME_LC}
10
${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR}/scripts/${APP_NAME_LC}-standalone
11
12
COMPONENT kodi-bin)
13
14
# Install libraries
15
-@@ -131,7 +131,7 @@ install(FILES ${CMAKE_SOURCE_DIR}/tools/
16
+@@ -131,7 +131,7 @@
17
install(FILES ${CMAKE_SOURCE_DIR}/tools/Linux/firewalld-services/kodi-eventserver.xml
18
${CMAKE_SOURCE_DIR}/tools/Linux/firewalld-services/kodi-http.xml
19
${CMAKE_SOURCE_DIR}/tools/Linux/firewalld-services/kodi-jsonrpc.xml
20
kodi-libdrm.patch
Changed
10
1
2
---- a/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/VaapiEGL.cpp
3
-+++ b/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/VaapiEGL.cpp
4
+diff -rup xbmc-18.0rc4-Leia.orig/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/VaapiEGL.cpp xbmc-18.0rc4-Leia/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/VaapiEGL.cpp
5
+--- xbmc-18.0rc4-Leia.orig/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/VaapiEGL.cpp 2018-12-28 16:55:25.000000000 +0100
6
++++ xbmc-18.0rc4-Leia/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/VaapiEGL.cpp 2019-01-06 12:27:49.219830548 +0100
7
@@ -11,6 +11,9 @@
8
#include "cores/VideoPlayer/DVDCodecs/Video/VAAPI.h"
9
#include <va/va_drmcommon.h>
10
_constraints
Changed
14
1
2
<constraints>
3
<hardware>
4
<disk>
5
- <size unit="G">14</size>
6
+ <size unit="G">16</size>
7
</disk>
8
<memory>
9
- <size unit="M">4096</size>
10
+ <size unit="M">5632</size>
11
</memory>
12
</hardware>
13
</constraints>
14
_service:download_files:18.9-Leia.tar.gz
Deleted
_service:download_files:19.0-Matrix.tar.gz
Added
_service:download_files:4.3.1-Matrix-Beta1.tar.gz
Added
kodi.VERSION
Changed
4
1
2
-20200727-45686bd
3
+20210218-f44fdfb
4