Logoj0ke.net Open Build Service > Projects > multimedia:SL12 > vlc > Changes
Sign Up | Log In

Changes of Revision 8

[+] Deleted vlc.changes
[-] Changed vlc.spec ^
x
 
1
@@ -1,7 +1,7 @@
2
-# vim: set ts=4 sw=4 et:
3
 #
4
-# spec file for vlc
5
+# spec file for package vlc
6
 #
7
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
8
 # Copyright (c) 2012 Dominique Leuenberger, Amsterdam, The Netherlands
9
 #
10
 # All modifications and additions to the file contributed by third parties
11
@@ -13,35 +13,38 @@
12
 # license that conforms to the Open Source Definition (Version 1.9)
13
 # published by the Open Source Initiative.
14
 
15
-# Please submit bugfixes or comments via email
16
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
17
+#
18
 
19
-%define pulseplugin 0%{suse_version} >= 1140
20
+%define BUILD_ORIG 1
21
+%define pulseplugin 0%{suse_version} > 1130
22
 %define withxcb 0%{suse_version} > 1131
23
 %define libvlc 5
24
 %define libvlccore 5
25
 %define conflicts vlc-beta
26
 
27
+# Currently no ncurses support. Will have to find the right trick for integrating curses (which is a curse)
28
+%define with_ncurses 0
29
+
30
 Summary:        VLC - Video Lan Client
31
-Name:           vlc
32
-Version:        2.0.5
33
-%define _version 2.0.5
34
-Release:        7.5
35
-URL:            http://www.videolan.org/vlc/
36
-Source0:        http://download.videolan.org/pub/videolan/vlc/%{version}/vlc-%{version}.tar.xz
37
-Patch1:         vlc-fix_font_path.patch
38
-Patch2:         vlc-buildcompare.patch
39
-Patch3:         0001-no-return-in-non-void.patch
40
-Patch4:         vlc-autoconf-compat.patch
41
 License:        GPL-2.0+
42
 Group:          Productivity/Multimedia/Video/Players  
43
+Name:           vlc
44
+Version:        2.0.6
45
+Release:        127.4
46
+%define _version 2.0.6
47
+Source:         http://download.videolan.org/vlc/%{_version}/vlc-%{_version}.tar.xz
48
+Patch1:         fix_font_path.patch
49
+Patch3:         0001-no-return-in-non-void.patch
50
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
51
 BuildRequires:  aalib-devel
52
 BuildRequires:  alsa-devel
53
 BuildRequires:  avahi-devel
54
-BuildRequires:  faad2-devel
55
 BuildRequires:  fdupes
56
 BuildRequires:  flac-devel
57
+%if 0%{?suse_version} >= 1200
58
 BuildRequires:  fluidsynth-devel
59
+%endif
60
 BuildRequires:  freetype2-devel
61
 BuildRequires:  fribidi-devel
62
 BuildRequires:  gcc-c++
63
@@ -53,7 +56,6 @@
64
 BuildRequires:  gnome-vfs2-devel
65
 BuildRequires:  gnutls-devel
66
 BuildRequires:  gtk2-devel
67
-BuildRequires:  liba52-devel
68
 BuildRequires:  libass-devel
69
 BuildRequires:  libavc1394-devel
70
 BuildRequires:  libbluray-devel
71
@@ -64,24 +66,20 @@
72
 BuildRequires:  libdc1394_control12-devel
73
 %endif
74
 BuildRequires:  libdc1394-devel
75
-BuildRequires:  libdca-devel
76
-BuildRequires:  libdvbpsi-devel 
77
-BuildRequires:  libdvdnav-devel 
78
-BuildRequires:  libdvdread-devel 
79
-BuildRequires:  libfaac-devel 
80
-BuildRequires:  libffmpeg-devel 
81
+BuildRequires:  libdvbpsi-devel < 1.0
82
+BuildRequires:  libdvdnav-devel
83
+BuildRequires:  libdvdread-devel
84
 BuildRequires:  libgcrypt-devel
85
 BuildRequires:  libjack-devel
86
 BuildRequires:  libkate-devel
87
-BuildRequires:  libmad-devel 
88
 BuildRequires:  libmatroska-devel
89
 BuildRequires:  libmodplug-devel
90
-BuildRequires:  libmpeg2-devel 
91
 BuildRequires:  libmtp-devel
92
-BuildRequires:  libnotify-devel 
93
-BuildRequires:  libogg-devel 
94
+BuildRequires:  libnotify-devel
95
+BuildRequires:  libogg-devel
96
+BuildRequires:  libopus-devel
97
 %if 0%{suse_version} >= 1120
98
-BuildRequires:  libproxy-devel 
99
+BuildRequires:  libproxy-devel
100
 %endif
101
 BuildRequires:  libqt4-devel
102
 BuildRequires:  libraw1394-devel
103
@@ -89,10 +87,8 @@
104
 BuildRequires:  libsamplerate-devel
105
 BuildRequires:  libshout-devel
106
 BuildRequires:  libsmbclient-devel
107
-BuildRequires:  libssh-devel
108
 BuildRequires:  libtheora-devel
109
 BuildRequires:  libtool
110
-BuildRequires:  libtwolame-devel
111
 %if 0%{suse_version} > 1100 
112
 BuildRequires:  libudev-devel
113
 %endif
114
@@ -103,10 +99,8 @@
115
 %if 0%{?suse_version} > 1130
116
 BuildRequires:  libva-devel
117
 %endif
118
-BuildRequires:  libvorbis-devel 
119
-BuildRequires:  libx264-devel
120
-BuildRequires:  libxml2-devel 
121
-BuildRequires:  libxvidcore-devel 
122
+BuildRequires:  libvorbis-devel
123
+BuildRequires:  libxml2-devel
124
 BuildRequires:  lirc-devel
125
 BuildRequires:  live555-devel
126
 %if 0%{?suse_version} >= 1220
127
@@ -115,36 +109,44 @@
128
 BuildRequires:  lua-devel
129
 %endif
130
 BuildRequires:  Mesa-devel
131
+%if %{?with_ncurses}
132
 BuildRequires:  ncurses-devel
133
+%endif
134
 BuildRequires:  pcre-devel
135
 BuildRequires:  pulseaudio-devel
136
-BuildRequires:  schroedinger-devel 
137
+BuildRequires:  schroedinger-devel
138
 %if 0%{suse_version} < 1120
139
 BuildRequires:  SDL-devel
140
-BuildRequires:  SDL_image-devel
141
 %else
142
 BuildRequires:  libSDL-devel
143
-BuildRequires:  libSDL_image-devel
144
 %endif
145
-BuildRequires:  portaudio-devel
146
-BuildRequires:  libtar-devel
147
 BuildRequires:  slang-devel
148
 BuildRequires:  speex-devel
149
-BuildRequires:  libtag-devel
150
-BuildRequires:  vcdimager-devel 
151
-BuildRequires:  xosd-devel 
152
-BuildRequires:  zlib-devel
153
+BuildRequires:  taglib-devel
154
+BuildRequires:  vcdimager-devel
155
+BuildRequires:  xosd-devel
156
 BuildRequires:  zvbi-devel
157
-BuildRequires:  pkgconfig(libprojectM)
158
-BuildRequires:  libmpcdec-devel
159
-%if 0%{?suse_version} > 1130
160
-BuildRequires:  libgme-devel
161
-%endif
162
+# This is intentionally done the pkgconfig way: 3rd party repos might have alternative implementations
163
+# and can favor one over the other.
164
+BuildRequires:  pkgconfig(libswscale)
165
 
166
 # BuildRequires that are not actively used for VLC, but for the build itself to work smoothly
167
-BuildRequires:  findutils 
168
+BuildRequires:  findutils
169
 BuildRequires:  update-desktop-files
170
 BuildRequires:  xz
171
+# Those are dependencies which are NOT provided in openSUSE, mostly for legal reasons.
172
+%if 0%{?BUILD_ORIG}
173
+BuildRequires:  faad2-devel
174
+BuildRequires:  liba52-devel
175
+BuildRequires:  libdca-devel
176
+BuildRequires:  libfaac-devel
177
+BuildRequires:  libffmpeg-devel
178
+BuildRequires:  libmad-devel
179
+BuildRequires:  libmpeg2-devel
180
+BuildRequires:  libtwolame-devel
181
+BuildRequires:  libx264-devel
182
+BuildRequires:  libxvidcore-devel
183
+%endif
184
 
185
 Requires:       %{name}-noX = %{version}-%{release}
186
 Requires:       %{name}-qt = %{version}-%{release}
187
@@ -168,7 +170,6 @@
188
 %package -n libvlc%{libvlc}
189
 Summary:        Shared library libvlc
190
 Group:          System/Libraries
191
-Requires:       vlc-noX
192
 
193
 %description -n libvlc%{libvlc}
194
 Shared library libvlc. To be installed by system dependencies
195
@@ -181,10 +182,10 @@
196
 Shared library libvlc. To be installed by system dependencies
197
 
198
 %package noX
199
-Summary: VLC:   VideoLAN Client - without X dependencies
200
+Summary:        VLC: VideoLAN Client - without X dependencies
201
[+] Added fix_font_path.patch ^
[+] Deleted vlc-autoconf-compat.patch ^
[+] Deleted vlc-buildcompare.patch ^
[+] Deleted vlc-fix_font_path.patch ^
Changed vlc-2.0.6.tar.xz ^