Revert "Bundle waf and comment out the missing BuildRequires"

This reverts commit 8bd44a0778.
el8
Leigh Scott 5 years ago
parent 8bd44a0778
commit 6f1690b1e8

@ -1,11 +1,10 @@
Name: mpv Name: mpv
Version: 0.29.1 Version: 0.29.1
Release: 6%{?dist} Release: 5%{?dist}
Summary: Movie player playing most video formats and DVDs Summary: Movie player playing most video formats and DVDs
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
URL: http://%{name}.io/ URL: http://%{name}.io/
Source0: https://github.com/%{name}-player/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source0: https://github.com/%{name}-player/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: waf
# set defaults for Fedora # set defaults for Fedora
Patch0: %{name}-config.patch Patch0: %{name}-config.patch
@ -30,8 +29,8 @@ BuildRequires: pkgconfig(libswresample) >= 3.0.100
BuildRequires: pkgconfig(ffnvcodec) BuildRequires: pkgconfig(ffnvcodec)
BuildRequires: pkgconfig(gbm) BuildRequires: pkgconfig(gbm)
BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(gl)
#BuildRequires: pkgconfig(jack) BuildRequires: pkgconfig(jack)
#BuildRequires: pkgconfig(mujs) BuildRequires: pkgconfig(mujs)
BuildRequires: pkgconfig(lcms2) BuildRequires: pkgconfig(lcms2)
BuildRequires: pkgconfig(libarchive) BuildRequires: pkgconfig(libarchive)
BuildRequires: pkgconfig(libass) BuildRequires: pkgconfig(libass)
@ -39,23 +38,21 @@ BuildRequires: pkgconfig(libbluray)
BuildRequires: pkgconfig(libcdio) BuildRequires: pkgconfig(libcdio)
BuildRequires: pkgconfig(libcdio_paranoia) BuildRequires: pkgconfig(libcdio_paranoia)
BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(libdrm)
#BuildRequires: pkgconfig(libguess) BuildRequires: pkgconfig(libguess)
BuildRequires: pkgconfig(libjpeg) BuildRequires: pkgconfig(libjpeg)
BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(libv4l2) BuildRequires: pkgconfig(libv4l2)
BuildRequires: pkgconfig(libquvi-0.9) BuildRequires: pkgconfig(libquvi-0.9)
BuildRequires: pkgconfig(libva) BuildRequires: pkgconfig(libva)
#BuildRequires: pkgconfig(lua-5.1) BuildRequires: pkgconfig(lua-5.1)
BuildRequires: pkgconfig(sdl2) BuildRequires: pkgconfig(sdl2)
#BuildRequires: pkgconfig(rubberband) BuildRequires: pkgconfig(rubberband)
#BuildRequires: libshaderc-devel BuildRequires: libshaderc-devel
BuildRequires: pkgconfig(smbclient) BuildRequires: pkgconfig(smbclient)
#BuildRequires: pkgconfig(uchardet) >= 0.0.5 BuildRequires: pkgconfig(uchardet) >= 0.0.5
BuildRequires: pkgconfig(vdpau) BuildRequires: pkgconfig(vdpau)
%ifarch x86_64
BuildRequires: pkgconfig(vulkan) BuildRequires: pkgconfig(vulkan)
%endif BuildRequires: waf
#BuildRequires: waf
BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(wayland-cursor) BuildRequires: pkgconfig(wayland-cursor)
BuildRequires: pkgconfig(wayland-egl) BuildRequires: pkgconfig(wayland-egl)
@ -105,12 +102,12 @@ Libmpv development header files and libraries.
%prep %prep
%autosetup -p1 %autosetup -p1
cp %{SOURCE1} .
%build %build
CFLAGS="%{optflags}" \ CFLAGS="%{optflags}" \
LDFLAGS="%{?__global_ldflags}" \ LDFLAGS="%{?__global_ldflags}" \
./waf configure \ waf configure \
--prefix=%{_prefix} \ --prefix=%{_prefix} \
--bindir=%{_bindir} \ --bindir=%{_bindir} \
--libdir=%{_libdir} \ --libdir=%{_libdir} \
@ -130,10 +127,10 @@ LDFLAGS="%{?__global_ldflags}" \
--enable-dvbin --enable-dvbin
./waf -v build %{?_smp_mflags} waf -v build %{?_smp_mflags}
%install %install
./waf install --destdir=%{buildroot} waf install --destdir=%{buildroot}
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
install -Dpm 644 README.md etc/input.conf etc/mpv.conf -t %{buildroot}%{_docdir}/%{name}/ install -Dpm 644 README.md etc/input.conf etc/mpv.conf -t %{buildroot}%{_docdir}/%{name}/
@ -159,9 +156,6 @@ install -Dpm 644 README.md etc/input.conf etc/mpv.conf -t %{buildroot}%{_docdir}
%{_libdir}/pkgconfig/mpv.pc %{_libdir}/pkgconfig/mpv.pc
%changelog %changelog
* Mon Aug 26 2019 Leigh Scott <leigh123linux@gmail.com> - 0.29.1-6
- Bundle waf and comment out the missing BuildRequires
* Mon Mar 04 2019 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 0.29.1-5 * Mon Mar 04 2019 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 0.29.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

170
waf vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save