|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
%global vlc_date 20180921
|
|
|
|
|
#global vlc_rc rc9
|
|
|
|
|
%global vlc_tag -%%{?vlc_date}-0223-%%{?vlc_rc}
|
|
|
|
|
%if 0%{?vlc_rc:1}
|
|
|
|
|
#global vlc_rc -rc9
|
|
|
|
|
%global vlc_tag -%{?vlc_date}-0223
|
|
|
|
|
%if 0%{?vlc_tag:1}
|
|
|
|
|
%global vlc_url https://nightlies.videolan.org/build/source/
|
|
|
|
|
%else
|
|
|
|
|
%global vlc_url https://download.videolan.org/pub/videolan/vlc/
|
|
|
|
@ -46,7 +46,7 @@ Version: 3.0.5
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: https://www.videolan.org
|
|
|
|
|
Source0: %{vlc_url}/%{?!vlc_rc:%{version}/}vlc-%{version}%{?vlc_tag}.tar.xz
|
|
|
|
|
Source0: %{vlc_url}/%{?!vlc_tag:%{version}/}vlc-%{version}%{?vlc_tag}.tar.xz
|
|
|
|
|
Patch0: 0001-Workaround-a-bug-with-.-vlc-cache-gen-on-armhfp.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
@ -286,7 +286,7 @@ VLC media player extras modules.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1 -n %{name}-%{version}%{?vlc_rc:-%{vlc_rc}}
|
|
|
|
|
%autosetup -p1 -n %{name}-%{version}%{?vlc_rc}
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} == 7
|
|
|
|
|
. /opt/rh/devtoolset-7/enable
|
|
|
|
|