public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Vitaly Zaitsev <vitaly@easycoding.org>
To: git-commits@fedoraproject.org
Subject: [rpms/mpv] epel9-next: Switched to meson by upstream request. WAF is no longer supported.
Date: Mon, 20 Jul 2026 19:36:17 GMT [thread overview]
Message-ID: <178457617767.1.12152434322979547025.rpms-mpv-048ddb5db4f4@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/mpv
Branch : epel9-next
Commit : 048ddb5db4f4969b07649dd255e6fdf8c022fd00
Author : Vitaly Zaitsev <vitaly@easycoding.org>
Date : 2024-04-30T21:19:16-05:00
Stats : +78/-27 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/mpv/c/048ddb5db4f4969b07649dd255e6fdf8c022fd00?branch=epel9-next
Log:
Switched to meson by upstream request. WAF is no longer supported.
---
diff --git a/mpv.spec b/mpv.spec
index 81984f4..4a875c8 100644
--- a/mpv.spec
+++ b/mpv.spec
@@ -1,6 +1,6 @@
Name: mpv
Version: 0.36.0
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL-2.0-or-later AND LGPL-2.1-or-later
Summary: Movie player playing most video formats and DVDs
@@ -10,8 +10,9 @@ Source0: https://github.com/%{name}-player/%{name}/archive/v%{version}/%{
BuildRequires: desktop-file-utils
BuildRequires: gcc
BuildRequires: libappstream-glib
+BuildRequires: libatomic
+BuildRequires: meson
BuildRequires: python3-docutils
-BuildRequires: waf-python3
BuildRequires: perl(Encode)
BuildRequires: perl(Math::BigInt)
@@ -40,15 +41,14 @@ BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(libguess)
BuildRequires: pkgconfig(libjpeg)
BuildRequires: pkgconfig(libpipewire-0.3) >= 0.3.19
-# libplacebo 4 has runtime issues with glslang 13 in RHEL 9.4 rhbz#2264138
-# mpv 0.35 doesn't build with libplacebo 6
-BuildRequires: (pkgconfig(libplacebo) >= 5 with pkgconfig(libplacebo) < 6)
+BuildRequires: pkgconfig(libplacebo) >= 5.264.1
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(libswresample) >= 3.9.100
BuildRequires: pkgconfig(libswscale) >= 5.9.100
BuildRequires: pkgconfig(libva)
-BuildRequires: pkgconfig(lua-5.1)
+BuildRequires: pkgconfig(lua)
BuildRequires: pkgconfig(mujs)
+BuildRequires: pkgconfig(openal)
BuildRequires: pkgconfig(rubberband)
BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(shaderc)
@@ -119,31 +119,79 @@ This package contains development header files and libraries for Mpv.
%prep
%autosetup -p1
sed -e "s|/usr/local/etc|%{_sysconfdir}/%{name}|" -i etc/%{name}.conf
-sed -e "s|c_preproc.standard_includes.append('/usr/local/include')|c_preproc.standard_includes.append('$(pkgconf --variable=includedir libavcodec)')|" -i wscript
%build
-%set_build_flags
-waf configure \
- --prefix=%{_prefix} \
- --bindir=%{_bindir} \
- --libdir=%{_libdir} \
- --mandir=%{_mandir} \
- --docdir=%{_docdir}/%{name} \
- --confdir=%{_sysconfdir}/%{name} \
- --disable-build-date \
- --enable-libmpv-shared \
- --enable-sdl2 \
- --enable-libarchive \
- --enable-dvdnav \
- --enable-cdda \
- --enable-html-build \
- --enable-dvbin \
- --enable-gl-x11 \
- --enable-wayland
-waf -v build %{?_smp_mflags}
+%meson --auto-features=auto \
+ -Dalsa=enabled \
+ -Dbuild-date=false \
+ -Dcaca=enabled \
+ -Dcdda=enabled \
+ -Dcplayer=true \
+ -Dcplugins=enabled \
+ -Dcuda-hwaccel=enabled \
+ -Dcuda-interop=enabled \
+ -Ddmabuf-wayland=enabled \
+ -Ddrm=enabled \
+ -Ddvbin=enabled \
+ -Ddvdnav=enabled \
+ -Degl-drm=enabled \
+ -Degl-wayland=enabled \
+ -Degl-x11=enabled \
+ -Degl=enabled \
+ -Dgbm=enabled \
+ -Dgl-x11=enabled \
+ -Dgl=enabled \
+ -Dhtml-build=enabled \
+ -Diconv=enabled \
+ -Djack=enabled \
+ -Djavascript=enabled \
+ -Djpeg=enabled \
+ -Dlcms2=enabled \
+ -Dlibarchive=enabled \
+ -Dlibavdevice=enabled \
+ -Dlibbluray=enabled \
+ -Dlibmpv=true \
+ -Dlibplacebo-next=enabled \
+ -Dlibplacebo=enabled \
+ -Dlua=enabled \
+ -Dmanpage-build=enabled \
+ -Dopenal=enabled \
+ -Dopensles=disabled \
+ -Doss-audio=disabled \
+ -Dpipewire=enabled \
+ -Dplain-gl=enabled \
+ -Dpulse=enabled \
+ -Drubberband=enabled \
+ -Dsdl2-audio=enabled \
+ -Dsdl2-gamepad=enabled \
+ -Dsdl2-video=enabled \
+ -Dsdl2=enabled \
+ -Dshaderc=enabled \
+ -Dsndio=disabled \
+ -Dspirv-cross=disabled \
+ -Dstdatomic=enabled \
+ -Duchardet=enabled \
+ -Dvaapi-drm=enabled \
+ -Dvaapi-wayland=enabled \
+ -Dvaapi-x-egl=enabled \
+ -Dvaapi-x11=enabled \
+ -Dvaapi=enabled \
+ -Dvapoursynth=enabled \
+ -Dvdpau-gl-x11=enabled \
+ -Dvdpau=enabled \
+ -Dvector=enabled \
+ -Dvulkan-interop=disabled \
+ -Dvulkan=enabled \
+ -Dwayland=enabled \
+ -Dwerror=false \
+ -Dx11=enabled \
+ -Dxv=enabled \
+ -Dzimg=enabled \
+ -Dzlib=enabled
+%meson_build
%install
-waf install --destdir=%{buildroot}
+%meson_install
%check
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.metainfo.xml
@@ -177,6 +225,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
%{_libdir}/pkgconfig/%{name}.pc
%changelog
+* Wed May 01 2024 Vitaly Zaitsev <vitaly@easycoding.org> - 0.36.0-2
+- Switched to meson by upstream request.
+
* Wed May 01 2024 Vitaly Zaitsev <vitaly@easycoding.org> - 0.36.0-1
- Updated to version 0.36.0.
next reply other threads:[~2026-07-20 19:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-20 19:36 Vitaly Zaitsev [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-07-20 19:36 [rpms/mpv] epel9-next: Switched to meson by upstream request. WAF is no longer supported Vitaly Zaitsev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178457617767.1.12152434322979547025.rpms-mpv-048ddb5db4f4@fedoraproject.org \
--to=vitaly@easycoding.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox