From 010f28eff7f0af98c14209b21eea9d23e2c0df13 Mon Sep 17 00:00:00 2001 From: Eric Naim Date: Fri, 6 Sep 2024 11:59:51 +0800 Subject: [PATCH] mpv-git: Sync PKGBUILD with Arch --- mpv-git/.SRCINFO | 86 +++++++++++++++++++++++++++++++++++------------- mpv-git/PKGBUILD | 21 +++++++----- 2 files changed, 76 insertions(+), 31 deletions(-) diff --git a/mpv-git/.SRCINFO b/mpv-git/.SRCINFO index b302511e..9a3ab1b7 100644 --- a/mpv-git/.SRCINFO +++ b/mpv-git/.SRCINFO @@ -13,28 +13,15 @@ pkgbase = mpv-git makedepends = ffnvcodec-headers makedepends = vulkan-headers depends = alsa-lib - depends = libasound.so depends = desktop-file-utils depends = ffmpeg - depends = libavcodec.so - depends = libavdevice.so - depends = libavfilter.so - depends = libavformat.so - depends = libavutil.so - depends = libswresample.so - depends = libswscale.so depends = glibc depends = hicolor-icon-theme depends = jack - depends = libjack.so depends = lcms2 - depends = liblcms2.so depends = libarchive - depends = libarchive.so depends = libass - depends = libass.so depends = libbluray - depends = libbluray.so depends = libcdio depends = libcdio-paranoia depends = libdrm @@ -44,22 +31,14 @@ pkgbase = mpv-git depends = libgl depends = libglvnd depends = libjpeg - depends = libjpeg.so depends = libplacebo - depends = libplacebo.so depends = libpulse - depends = libpulse.so depends = libsixel depends = libva - depends = libva.so - depends = libva-drm.so - depends = libva-wayland.so - depends = libva-x11.so depends = libvdpau depends = libx11 depends = libxext depends = libxkbcommon - depends = libxkbcommon.so depends = libxpresent depends = libxrandr depends = libxss @@ -69,7 +48,6 @@ pkgbase = mpv-git depends = mujs depends = libpipewire depends = rubberband - depends = librubberband.so depends = openal depends = uchardet depends = vapoursynth @@ -85,3 +63,67 @@ pkgbase = mpv-git sha256sums = SKIP pkgname = mpv-git + depends = alsa-lib + depends = desktop-file-utils + depends = ffmpeg + depends = glibc + depends = hicolor-icon-theme + depends = jack + depends = lcms2 + depends = libarchive + depends = libass + depends = libbluray + depends = libcdio + depends = libcdio-paranoia + depends = libdrm + depends = libdvdnav + depends = libdvdread + depends = libegl + depends = libgl + depends = libglvnd + depends = libjpeg + depends = libplacebo + depends = libpulse + depends = libsixel + depends = libva + depends = libvdpau + depends = libx11 + depends = libxext + depends = libxkbcommon + depends = libxpresent + depends = libxrandr + depends = libxss + depends = libxv + depends = luajit + depends = mesa + depends = mujs + depends = libpipewire + depends = rubberband + depends = openal + depends = uchardet + depends = vapoursynth + depends = vulkan-icd-loader + depends = wayland + depends = zlib + depends = libasound.so + depends = libavcodec.so + depends = libavdevice.so + depends = libavfilter.so + depends = libavformat.so + depends = libavutil.so + depends = libswresample.so + depends = libswscale.so + depends = libjack.so + depends = liblcms2.so + depends = libarchive.so + depends = libass.so + depends = libbluray.so + depends = libjpeg.so + depends = libplacebo.so + depends = libpulse.so + depends = libva.so + depends = libva-drm.so + depends = libva-wayland.so + depends = libva-x11.so + depends = libxkbcommon.so + depends = librubberband.so diff --git a/mpv-git/PKGBUILD b/mpv-git/PKGBUILD index 4976974b..d6357c92 100644 --- a/mpv-git/PKGBUILD +++ b/mpv-git/PKGBUILD @@ -12,15 +12,12 @@ pkgdesc='a free, open source, and cross-platform media player - Git Version' arch=('x86_64') license=('GPL-2.0-or-later AND LGPL-2.1-or-later') url='https://mpv.io/' -depends=('alsa-lib' 'libasound.so' 'desktop-file-utils' 'ffmpeg' 'libavcodec.so' 'libavdevice.so' - 'libavfilter.so' 'libavformat.so' 'libavutil.so' 'libswresample.so' 'libswscale.so' - 'glibc' 'hicolor-icon-theme' 'jack' 'libjack.so' 'lcms2' 'liblcms2.so' 'libarchive' - 'libarchive.so' 'libass' 'libass.so' 'libbluray' 'libbluray.so' 'libcdio' - 'libcdio-paranoia' 'libdrm' 'libdvdnav' 'libdvdread' 'libegl' 'libgl' 'libglvnd' - 'libjpeg' 'libjpeg.so' 'libplacebo' 'libplacebo.so' 'libpulse' 'libpulse.so' 'libsixel' - 'libva' 'libva.so' 'libva-drm.so' 'libva-wayland.so' 'libva-x11.so' 'libvdpau' 'libx11' - 'libxext' 'libxkbcommon' 'libxkbcommon.so' 'libxpresent' 'libxrandr' 'libxss' - 'libxv' 'luajit' 'mesa' 'mujs' 'libpipewire' 'rubberband' 'librubberband.so' +depends=('alsa-lib' 'desktop-file-utils' 'ffmpeg' 'glibc' 'hicolor-icon-theme' + 'jack' 'lcms2' 'libarchive' 'libass' 'libbluray' 'libcdio' + 'libcdio-paranoia' 'libdrm' 'libdvdnav' 'libdvdread' 'libegl' 'libgl' + 'libglvnd' 'libjpeg' 'libplacebo' 'libpulse' 'libsixel' 'libva' + 'libvdpau' 'libx11' 'libxext' 'libxkbcommon' 'libxpresent' 'libxrandr' + 'libxss' 'libxv' 'luajit' 'mesa' 'mujs' 'libpipewire' 'rubberband' 'openal' 'uchardet' 'vapoursynth' 'vulkan-icd-loader' 'wayland' 'zlib') makedepends=('git' 'meson' 'python-docutils' 'ladspa' 'wayland-protocols' 'ffnvcodec-headers' 'vulkan-headers') @@ -60,6 +57,12 @@ check() { } package() { + depends+=('libasound.so' 'libavcodec.so' 'libavdevice.so' 'libavfilter.so' + 'libavformat.so' 'libavutil.so' 'libswresample.so' 'libswscale.so' + 'libjack.so' 'liblcms2.so' 'libarchive.so' 'libass.so' 'libbluray.so' + 'libjpeg.so' 'libplacebo.so' 'libpulse.so' 'libva.so' 'libva-drm.so' + 'libva-wayland.so' 'libva-x11.so' 'libxkbcommon.so' 'librubberband.so') + meson install -C build --destdir "${pkgdir}" # delete private entries only required for static linking