SHA256
1
0
forked from pool/vlc

Accepting request 260479 from home:seife:branches:multimedia:libs

fix skins2 defaut.vlt generation with newer tar defaults

OBS-URL: https://build.opensuse.org/request/show/260479
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/vlc?expand=0&rev=89
This commit is contained in:
2014-11-10 21:27:23 +00:00
committed by Git OBS Bridge
parent 9e20f89e84
commit a106caafe6
3 changed files with 46 additions and 0 deletions

View File

@@ -41,6 +41,8 @@ Version: 2.1.5
Release: 0
Url: http://www.videolan.org/
Source: http://download.videolan.org/%{name}/%{version}/%{name}-%{version}.tar.xz
# PATCH-FIX-OPENSUSE vlc-2.1.5-fix-skins2-default-skin-creation.patch -- see description in patch header
Patch1: vlc-2.1.5-fix-skins2-default-skin-creation.patch
Patch3: 0001-no-return-in-non-void.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: Mesa-devel
@@ -297,6 +299,7 @@ for gnome-vfs2.
%prep
%setup -q
%patch1 -p1
%patch3 -p1
rm -rf contrib
# fix builddate info
@@ -407,6 +410,8 @@ export CXXFLAGS="%{optflags} -L%{_libdir}/live -Wno-return-type $smbclient"
--enable-xvideo \
--with-default-font=/usr/share/fonts/truetype/FreeSerifBold.ttf \
--with-default-monospace-font=/usr/share/fonts/truetype/FreeMono.ttf
# we don't need no VLC_COMPILE_HOST `hostname -f` in the binary...
sed -i -e 's/^#define VLC_COMPILE_HOST.*/#define VLC_COMPILE_HOST "obs-build"/' config.h
make %{?_smp_mflags} V=1
%install