debian/mpv-fourier: new package

Mirror of arch/mpv-fourier into the Debian tree.  Same source
pin (mpv 0.41.0), same 3 patches:
  - 0001-meson-add-detection-logic-for-v4l2request-support.patch
  - 0002-vo-hwdec-drmprime-add-separate-hwdecs-for-v4l2reques.patch
    (Kwiboo + Langdale wiring for AV_HWDEVICE_TYPE_V4L2REQUEST
     through drmprime VO hwdec — '--hwdec=v4l2request' actually
     engages on dmabuf-wayland)
  - 0001-vo_dmabuf_wayland-explicit-cache-sync-on-import-fd.patch
    (iter1 of dmabuf-modifier-triage — explicit DMA_BUF_IOCTL_SYNC
     on import fds; KWin-on-RK3566 dark-green chroma readback
     regression fix on ohm.  Root cause is the vb2_dma_resv RFC
     upstream still pending.)

Depends on ffmpeg-v4l2-request-fourier (>= 2:8.1+rfourier) —
AV_HWDEVICE_TYPE_V4L2REQUEST only exists in Kwiboo's FFmpeg
fork; stock Debian ffmpeg doesn't have it.

Conflicts/Replaces stock mpv + libmpv2/libmpv1 — drop-in
replacement.  Takes epoch 1.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-18 19:01:29 +00:00
parent 45f4b5e56f
commit b851861931
7 changed files with 813 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
mpv-fourier (1:0.41.0+rfourier-1) bookworm trixie; urgency=medium
* Initial Debian packaging for mpv with the fourier-umbrella patches.
* Mirror of arch/mpv-fourier (same source tarball pin 0.41.0,
same 3 patches: v4l2request meson detection, drmprime hwdec
wiring, vo_dmabuf_wayland explicit cache-sync).
* Depends on ffmpeg-v4l2-request-fourier (>= 2:8.1+rfourier) — the
v4l2request hwdec requires AV_HWDEVICE_TYPE_V4L2REQUEST which
only exists in Kwiboo's FFmpeg fork.
* Drop-in replacement for Debian's stock mpv; takes epoch 1.
-- Markus Fritsche <mfritsche@reauktion.de> Mon, 18 May 2026 23:00:00 +0000
+70
View File
@@ -0,0 +1,70 @@
Source: mpv-fourier
Section: video
Priority: optional
Maintainer: Markus Fritsche <mfritsche@reauktion.de>
Build-Depends: debhelper-compat (= 13),
meson (>= 1.0),
ninja-build,
pkg-config,
python3-docutils,
ffmpeg-v4l2-request-fourier (>= 2:8.1+rfourier),
libdrm-dev,
libass-dev,
libbluray-dev,
libcdio-dev,
libcdio-paranoia-dev,
libdvdnav-dev,
libdvdread-dev,
libegl-dev,
libgl-dev,
libjpeg-dev,
libplacebo-dev,
libpulse-dev,
libsixel-dev,
libluajit-5.1-dev,
libmujs-dev,
libpipewire-0.3-dev,
librubberband-dev,
libsdl2-dev,
libopenal-dev,
libuchardet-dev,
libvulkan-dev,
libwayland-dev,
wayland-protocols,
libxkbcommon-dev,
libxext-dev,
libxpresent-dev,
libxrandr-dev,
libxss-dev,
libxv-dev,
libx11-dev,
libv4l-dev,
libudev-dev,
libsystemd-dev,
libarchive-dev,
libxml2-dev,
libdvbpsi-dev,
zlib1g-dev
Standards-Version: 4.6.2
Homepage: https://mpv.io/
Package: mpv-fourier
Architecture: arm64
Depends: ${misc:Depends}, ${shlibs:Depends},
ffmpeg-v4l2-request-fourier (>= 2:8.1+rfourier)
Conflicts: mpv, libmpv2, libmpv1
Replaces: mpv, libmpv2, libmpv1
Provides: mpv (= ${binary:Version}), libmpv.so.2
Description: mpv media player with V4L2-Request hwdec (fourier fork)
mpv 0.41.0 patched with:
- Kwiboo + Langdale v4l2request hwdec wiring (meson detection +
vo_hwdec_drmprime separate hwdec instance for AV_HWDEVICE_TYPE_
V4L2REQUEST) so '--hwdec=v4l2request' actually engages on
dmabuf-wayland.
- vo_dmabuf_wayland explicit DMA_BUF_IOCTL_SYNC on import fds
(iter1 of dmabuf-modifier-triage) — workaround for missing
implicit-fence on V4L2 stateless CAPTURE buffers. Fixes the
KWin-on-RK3566 dark-green chroma readback regression on ohm.
.
Requires ffmpeg-v4l2-request-fourier as the backing libavcodec.
Stock Debian ffmpeg does not provide AV_HWDEVICE_TYPE_V4L2REQUEST.
+25
View File
@@ -0,0 +1,25 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: mpv
Upstream-Contact: https://github.com/mpv-player/mpv/issues
Source: https://github.com/mpv-player/mpv
Files: *
Copyright: 2000-2026 The mpv developers
License: GPL-2.0-or-later AND LGPL-2.1-or-later
Files: 0001-meson-add-detection-logic-for-v4l2request-support.patch
0002-vo-hwdec-drmprime-add-separate-hwdecs-for-v4l2reques.patch
Copyright: 2024 Kwiboo, Niklas Haas, contributors
License: LGPL-2.1-or-later
Files: 0001-vo_dmabuf_wayland-explicit-cache-sync-on-import-fd.patch
Copyright: 2026 Markus Fritsche <fritsche.markus@gmail.com>
License: LGPL-2.1-or-later
License: GPL-2.0-or-later
On Debian systems, the complete text of the GNU General Public
License v2 can be found in `/usr/share/common-licenses/GPL-2'.
License: LGPL-2.1-or-later
On Debian systems, the complete text of the GNU Lesser General
Public License v2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'.