Changes of Revision 16
[+] | Deleted | vlc.changes |
@@ -1,5 +0,0 @@ -------------------------------------------------------------------- -Sat Mar 26 17:05:22 UTC 2011 - cs@linux-administrator.com - -- re-import - | ||
[-] | Changed | vlc.spec ^ |
x 1
2 # norootforbuild 3 4 -%bcond_with ggi 5 - 6 %define libvlc 5 7 %define libvlccore 4 8 9 Name: vlc 10 Version: 1.1.10 11 Release: 20 12 + 13 Summary: VLC - Video Lan Client 14 URL: http://www.videolan.org/ 15 License: GNU General Public License (GPL) 16
17 18 Source0: http://download.videolan.org/pub/videolan/vlc/%{version}/%{name}-%{version}.tar.bz2 19 20 -Patch0: %{name}-fix_font_path.patch 21 -Patch1: %{name}-no_return_in_non_void.patch 22 -Patch2: %{name}-buildcompare.patch 23 -Patch3: %{name}-opencv22.patch 24 -Patch4: %{name}-errno_h.patch 25 -Patch5: %{name}-asserts_h.patch 26 -# pbleser adds X-KDE-Protocols=http,ftp,smb,sftp to vlc.desktop to enable proper streaming in KDE, thanks to martin.frueh@online.de 27 -Patch7: %{name}-add_X-KDE-Protocols_to_desktop.patch 28 +Patch0: vlc-fix_font_path.patch 29 +Patch1: vlc-no_return_in_non_void.patch 30 +Patch2: vlc-buildcompare.patch 31 +Patch3: vlc-opencv22.patch 32 +Patch4: vlc-errno_h.patch 33 +Patch5: vlc-asserts_h.patch 34 35 Requires: vlc-noX = %{version}-%{release} 36 Requires: vlc-qt = %{version}-%{release} 37
38 BuildRoot: %{_tmppath}/%{name}-%{version}-build 39 40 ### base ### 41 -BuildRequires: fdupes fribidi-devel liba52-devel libffmpeg-devel 42 +BuildRequires: fdupes fribidi-devel liba52-devel libffmpeg_oldabi-devel 43 BuildRequires: libgcrypt-devel libmad-devel libqt4-devel lua-devel 44 BuildRequires: update-desktop-files 45 46
47 BuildRequires: librsvg-devel libshout-devel libsmbclient-devel 48 BuildRequires: libtwolame-devel libudev-devel libupnp-devel libv4l-devel 49 BuildRequires: libxml2-devel live-devel portaudio-devel 50 -BuildRequires: sqlite3-devel taglib-devel valgrind-devel zvbi-devel 51 +BuildRequires: sqlite3-devel libtag-devel valgrind-devel zvbi-devel 52 BuildRequires: libprojectM-devel libfaad-devel 53 -BuildRequires: SDL-devel 54 +BuildRequires: schroedinger-devel 55 +BuildRequires: SDL-devel SDL_image-devel 56 57 %ifnarch ppc 58 BuildRequires: fluidsynth-devel 59 %endif 60 61 -%if %suse_version >= 1120 62 +%if 0%{?suse_version} >= 1120 63 BuildRequires: libva-devel libvdpau-devel 64 %endif 65 66 -%if %suse_version <= 1120 67 +%if 0%{?suse_version} <= 1120 68 BuildRequires: goom2k4-devel 69 %endif 70 71 -%if %suse_version >= 1120 || 0%{?sles_version} >= 11 72 +%if 0%{?suse_version} >= 1140 73 BuildRequires: libpulse-devel 74 %endif 75 76 -%if %suse_version > 1120 77 -BuildRequires: libnotify1 78 +%if 0%{?suse_version} > 1120 79 +BuildRequires: libSDL_image-devel 80 +#libnotify1 81 %endif 82 83 -%if %suse_version > 1130 84 +%if 0%{?suse_version} > 1130 85 BuildRequires: gtk2-devel 86 %endif 87 88
89 BuildRequires: aalib-devel 90 BuildRequires: libdca-devel 91 BuildRequires: DirectFB-devel libid3tag-devel 92 -%if %{with ggi} 93 -BuildRequires: libggi-devel 94 -%endif 95 -%if %suse_version >= 1120 || 0%{?sles_version} >= 11 96 +%if 0%{?suse_version} <= 1130 97 +%if 0%{?suse_version} >= 1120 98 BuildRequires: mozilla-xulrunner192-devel 99 %endif 100 +%else 101 +BuildRequires: mozilla-xulrunner20-devel 102 +%endif 103 BuildRequires: opencv-devel 104 BuildRequires: pcre-devel vcdimager-devel xosd-devel 105 106 107 -%if %suse_version >= 1120 108 +%if 0%{?suse_version} >= 1120 109 BuildRequires: lirc-devel 110 %else 111 BuildRequires: lirc 112
113 for gnome-vfs2. 114 115 116 -%if %suse_version >= 1120 || 0%{?sles_version} >= 11 117 +%if 0%{?suse_version} >= 1120 118 %package mozillaplugin 119 Summary: The mozilaplugin enables VLC inside Mozilla Browser 120 Group: Productivity/Multimedia/Video/Players 121
122 %endif 123 124 125 -%if %suse_version >= 1120 || 0%{?sles_version} >= 11 126 +%if 0%{?suse_version} >= 1140 127 %package aout-pulse 128 Summary: VLC Audio Out for Pulse Audio 129 Group: System/Libraries 130
131 Extends VLC with Pulse Audio Support for Audio Out 132 %endif 133 134 - 135 - 136 - 137 - 138 %prep 139 -%setup -q -n %{name}-%{version} 140 +%setup -q 141 %patch0 -p1 142 %patch1 -p1 143 %patch2 144 %patch3 -p1 145 %patch4 -p1 146 %patch5 -p1 147 -%patch7 148 - 149 -FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y') 150 -sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" modules/gui/qt4/dialogs/help.cpp src/libvlc.c 151 -FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M:%%S') 152 -sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/" modules/gui/qt4/dialogs/help.cpp src/libvlc.c 153 154 +%__grep --exclude='*.orig' -r -E '__(DATE|TIME)__' . && { echo "Found __DATE__ and/or __TIME__ !"; exit 1; } 155 156 %build 157 export SUSE_ASNEEDED=1 158
159 --enable-directfb \ 160 --enable-faad \ 161 --enable-fbosd \ 162 -%if %{with ggi} 163 - --enable-ggi \ 164 -%endif 165 %ifarch ppc 166 --disable-fluidsynth \ 167 %endif 168 --enable-id3tag \ 169 --enable-lirc \ 170 -%if %suse_version >= 1120 || 0%{?sles_version} >= 11 171 +%if 0%{?suse_version} >= 1120 172 --enable-mozilla \ 173 %endif 174 --enable-ncurses \ 175
176 --enable-v4l \ 177 --enable-vcdx \ 178 --enable-wma-fixed \ 179 -%if %suse_version >= 1120 180 +%if 0%{?suse_version} >= 1120 181 --enable-libva \ 182 %endif 183 --enable-xosd 184
185 %suse_update_desktop_file %name AudioVideo Player Video 186 187 188 -%if %suse_version >= 1120 || 0%{?sles_version} >= 11 189 +%if 0%{?suse_version} >= 1120 190 %__install -d %{buildroot}/%{_libdir}/browser-plugins/ 191 %__ln_s %{_libdir}/mozilla/plugins/libvlcplugin.so %{buildroot}/%{_libdir}/browser-plugins/libvlcplugin.so 192 %endif 193
194 %post -n libvlccore%{libvlccore} -p /sbin/ldconfig 195 %postun -n libvlccore%{libvlccore} -p /sbin/ldconfig 196 197 - 198 - 199 %files 200 %defattr(-,root,root) 201 |
||
[+] | Deleted | vlc-add_X-KDE-Protocols_to_desktop.patch ^ |
@@ -1,7 +0,0 @@ ---- share/vlc.desktop.orig 2011-03-12 13:26:16.000000000 +0100 -+++ share/vlc.desktop 2011-03-12 13:26:37.000000000 +0100 -@@ -54,3 +54,4 @@ - Type=Application - Categories=AudioVideo;Player; - MimeType=video/dv;video/mpeg;video/x-mpeg;video/msvideo;video/quicktime;video/x-anim;video/x-avi;video/x-ms-asf;video/x-ms-wmv;video/x-msvideo;video/x-nsv;video/x-flc;video/x-fli;application/ogg;application/x-ogg;application/x-matroska;audio/x-mp3;audio/x-mpeg;audio/mpeg;audio/x-wav;audio/x-mpegurl;audio/x-scpls;audio/x-m4a;audio/x-ms-asf;audio/x-ms-asx;audio/x-ms-wax;application/vnd.rn-realmedia;audio/x-real-audio;audio/x-pn-realaudio;application/x-flac;audio/x-flac;application/x-shockwave-flash;misc/ultravox;audio/vnd.rn-realaudio;audio/x-pn-aiff;audio/x-pn-au;audio/x-pn-wav;audio/x-pn-windows-acm;image/vnd.rn-realpix;video/vnd.rn-realvideo;audio/x-pn-realaudio-plugin;application/x-extension-mp4;audio/mp4;video/mp4;video/mp4v-es;x-content/video-vcd;x-content/video-svcd;x-content/video-dvd;x-content/audio-cdda;x-content/audio-player;video/x-flv; -+X-KDE-Protocols=http,ftp,smb,sftp | ||
Deleted | vlc-1.1.9.tar.bz2 ^ |