Changes of Revision 8
[+] | Deleted | vlc.changes |
@@ -1,15 +0,0 @@ -------------------------------------------------------------------- -Sat Dec 15 17:31:15 UTC 2012 - cs@linux-administrator.com - -- update to vrsion 2.0.5 - -------------------------------------------------------------------- -Sun Feb 5 19:26:58 UTC 2012 - cs@linux-administrator.com - -- update to version 1.1.13 - -------------------------------------------------------------------- -Sun Dec 18 15:50:50 UTC 2011 - cs@linux-administrator.com - -- re-import - | ||
[-] | Changed | vlc.spec ^ |
x 1
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
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
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
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
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
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
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
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
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 ^ |
@@ -0,0 +1,13 @@ +diff --git a/modules/text_renderer/freetype.c b/modules/text_renderer/freetype.c +index fcfe9a8..dfea2e7 100644 +--- a/modules/text_renderer/freetype.c ++++ b/modules/text_renderer/freetype.c +@@ -52,7 +52,7 @@ + # define DEFAULT_FONT_FILE "/usr/share/fonts/nokia/nosnb.ttf" + # define DEFAULT_FAMILY "Nokia Sans Bold" + #else +-# define DEFAULT_FONT_FILE "/usr/share/fonts/truetype/freefont/FreeSerifBold.ttf" ++# define DEFAULT_FONT_FILE "/usr/share/fonts/truetype/FreeSerifBold.ttf" + # define DEFAULT_FAMILY "Serif Bold" + #endif + | ||
[+] | Deleted | vlc-autoconf-compat.patch ^ |
@@ -1,110 +0,0 @@ ---- test/Makefile.am.orig 2012-04-04 20:36:27.936566467 +0200 -+++ test/Makefile.am 2012-04-04 20:36:33.391566272 +0200 -@@ -4,8 +4,8 @@ - - AUTOMAKE_OPTIONS = subdir-objects - --extra_check_verbose = $(extra_check_verbose_$(V)) --extra_check_verbose_ = $(extra_check_flags__$(AM_DEFAULT_VERBOSITY)) -+extra_check_verbose = -+extra_check_verbose_ = - extra_check_verbose_0 = @echo TEST $@ - extra_check_verbose__0 = $(extra_check_verbose_0) - ---- modules/gui/qt4/Modules.am.orig 2012-04-04 20:33:21.908573084 +0200 -+++ modules/gui/qt4/Modules.am 2012-04-04 20:34:09.460571393 +0200 -@@ -213,13 +213,13 @@ - - BUILT_SOURCES += $(nodist_SOURCES_qt4) - --moc_verbose = $(moc_verbose_$(V)) --moc_verbose_ = $(moc_verbose__$(AM_DEFAULT_VERBOSITY)) -+moc_verbose = -+moc_verbose_ = - moc_verbose_0 = @echo " MOC " $@; - moc_verbose__0 = $(moc_verbose_0) - --uic_verbose = $(uic_verbose_$(V)) --uic_verbose_ = $(uic_verbose__$(AM_DEFAULT_VERBOSITY)) -+uic_verbose = -+uic_verbose_ = - uic_verbose_0 = @echo " UIC " $@; - uic_verbose__0 = $(uic_verbose_0) - ---- Makefile.am.orig 2012-04-04 20:36:13.981566963 +0200 -+++ Makefile.am 2012-04-04 20:39:16.025560486 +0200 -@@ -77,11 +77,9 @@ - - ACLOCAL_AMFLAGS = -I m4 - AUTOMAKE_OPTIONS = \ -- 1.11 \ -+ 1.10 \ - -Wall \ -- check-news \ -- dist-xz \ -- no-dist-gzip -+ check-news - # std-options - - ChangeLog: Makefile.am -@@ -469,8 +467,8 @@ - uninstall-hook: - rm -f -- "$(DESTDIR)$(vlclibdir)/plugins/plugins.dat" - --silentstd = $(silentstd_$(V)) --silentstd_ = $(silentstd_$(AM_DEFAULT_VERBOSITY)) -+silentstd = -+silentstd_ = - silentstd_0 = 2>&1 >/dev/null - - ############################################################################### ---- configure.ac.orig 2012-04-04 19:03:21.841765198 +0200 -+++ configure.ac 2012-04-04 23:29:27.142197216 +0200 -@@ -24,12 +24,9 @@ - AC_CANONICAL_HOST - AC_PRESERVE_HELP_ORDER - --AM_INIT_AUTOMAKE(tar-ustar color-tests) -+AM_INIT_AUTOMAKE(tar-ustar) - AM_CONFIG_HEADER(config.h) - --# Disable with "./configure --disable-silent-rules" or "make V=1" --AM_SILENT_RULES([yes]) -- - dnl Too many people are not aware of maintainer mode: - dnl If you want to use it, you definitely know what you are doing, so - dnl you can specify "--disable-maintainer-mode". But if you want the default -@@ -4298,20 +4295,6 @@ - modules/arm_neon/Makefile - ]) - --AM_COND_IF([HAVE_WIN32], [ -- AC_CONFIG_FILES([ -- extras/package/win32/spad.nsi -- extras/package/win32/vlc.win32.nsi -- ]) --]) -- --AM_COND_IF([HAVE_DARWIN], [ -- AC_CONFIG_FILES([ -- extras/package/macosx/Info.plist -- extras/package/macosx/Resources/English.lproj/InfoPlist.strings -- ]) --]) -- - dnl Generate makefiles - AC_OUTPUT - ---- share/Makefile.am.orig 2012-04-04 20:35:58.986567496 +0200 -+++ share/Makefile.am 2012-04-04 20:36:05.170567277 +0200 -@@ -137,8 +137,8 @@ - # - # LUA - # --luac_verbose = $(luac_verbose_$(V)) --luac_verbose_ = $(luac_verbose_$(AM_DEFAULT_VERBOSITY)) -+luac_verbose = -+luac_verbose_ = - luac_verbose_0 = @echo " LUAC $@"; - - .lua.luac: | ||
[+] | Deleted | vlc-buildcompare.patch ^ |
@@ -1,24 +0,0 @@ ---- src/config/help.c.orig 2012-04-03 08:18:01.158216498 +0200 -+++ src/config/help.c 2012-04-03 08:18:29.629215484 +0200 -@@ -788,8 +788,8 @@ - ShowConsole(); - utf8_fprintf( stdout, _("VLC version %s (%s)\n"), VERSION_MESSAGE, - psz_vlc_changeset ); -- utf8_fprintf( stdout, _("Compiled by %s on %s (%s)\n"), -- VLC_CompileBy(), VLC_CompileHost(), __DATE__" "__TIME__ ); -+ utf8_fprintf( stdout, _("Compiled by %s on %s\n"), -+ VLC_CompileBy(), VLC_CompileHost()); - utf8_fprintf( stdout, _("Compiler: %s\n"), VLC_Compiler() ); - utf8_fprintf( stdout, "%s", LICENSE_MSG ); - PauseConsole(); ---- modules/gui/qt4/dialogs/help.cpp.orig 2012-04-03 08:18:36.056215256 +0200 -+++ modules/gui/qt4/dialogs/help.cpp 2012-04-03 08:18:49.710214770 +0200 -@@ -112,7 +112,7 @@ - "popular platform.\n\n" ) - + qtr( "This version of VLC was compiled by:\n " ) - + qfu( VLC_CompileBy() )+ " on " + qfu( VLC_CompileHost() ) + -- + " ("__DATE__" "__TIME__").\n" -+ + ".\n" - + qtr( "Compiler: " ) + qfu( VLC_Compiler() ) + ".\n" - + qtr( "You are using the Qt4 Interface.\n\n" ) - + qtr( "Copyright (C) " ) + COPYRIGHT_YEARS | ||
[+] | Deleted | vlc-fix_font_path.patch ^ |
@@ -1,11 +0,0 @@ ---- modules/text_renderer/freetype.c.orig 2012-04-03 08:15:12.514222497 +0200 -+++ modules/text_renderer/freetype.c 2012-04-03 08:15:30.604221853 +0200 -@@ -58,7 +58,7 @@ - # define DEFAULT_FONT_FILE "/usr/share/fonts/nokia/nosnb.ttf" - # define DEFAULT_FAMILY "Nokia Sans Bold" - #else --# define DEFAULT_FONT_FILE "/usr/share/fonts/truetype/freefont/FreeSerifBold.ttf" -+# define DEFAULT_FONT_FILE "/usr/share/fonts/truetype/FreeSerifBold.ttf" - # define DEFAULT_FAMILY "Serif Bold" - #endif - | ||
Changed | vlc-2.0.6.tar.xz ^ |