Logoj0ke.net Open Build Service > Projects > multimedia > ffmpeg > Changes
Sign Up | Log In

Changes of Revision 49

[-] Changed ffmpeg.spec
x
 
1
@@ -55,9 +55,10 @@
2
 Requires:       freetype2
3
 Requires:       SDL
4
 Requires:       slang
5
-%if 0%{?suse_version} >= 920 || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora_version}
6
+%if 0%{?suse_version} >= 920
7
 Requires:       xorg-x11-libs
8
-%else
9
+%endif
10
+%if 0%{?suse_version} > 0 && 0%{?suse_version} < 920
11
 Requires:       XFree86-libs
12
 %endif
13
 Requires:       zlib
14
@@ -87,9 +88,13 @@
15
 BuildRequires:  freetype2-devel
16
 BuildRequires:  SDL-devel
17
 BuildRequires:  slang-devel
18
-%if 0%{?suse_version} >= 920 || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora_version}
19
+%if 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora_version} 
20
+BuildRequires:  xorg-x11-proto-devel xorg-x11-xtrans-devel
21
+%endif
22
+%if 0%{?suse_version} >= 920
23
 BuildRequires:  xorg-x11-devel
24
-%else
25
+%endif
26
+%if 0%{?suse_version} > 0 && 0%{?suse_version} < 920
27
 BuildRequires:  XFree86-devel
28
 %endif
29
 BuildRequires:  zlib-devel
30