Package Details: mpv-light 0.34.0-1

Git Clone URL: https://aur.archlinux.org/mpv-light.git (read-only, click to copy)
Package Base: mpv-light
Description: Free, open source, and cross-platform media player – with selection of features.
Upstream URL: https://mpv.io
Keywords: media mpv
Licenses: GPL
Conflicts: mpv
Provides: mpv
Submitter: Archange
Maintainer: Ta180m
Last Packager: Ta180m
Votes: 12
Popularity: 0.026301
First Submitted: 2016-12-25 03:28 (UTC)
Last Updated: 2021-11-28 21:01 (UTC)

Required by (273)

Sources (1)

Latest Comments

staletic commented on 2021-11-27 21:05 (UTC)

Here's the updated PKGBUILD, for anyone interested

# Maintainer: Anthony Wang <ta180m@pm.me>
# Contributor: Bruno Pagani <bruno.n.pagani@gmail.com>
# Contributor: Boris Staletic <boris dot staletic at protonmail dot com>

_pkgname=mpv
pkgname=${_pkgname}-light
pkgver=0.34.0
pkgrel=1
pkgdesc="Free, open source, and cross-platform media player – with selection of features."
arch=(i686 x86_64)
url="https://mpv.io"
license=(GPL)
depends=(ffmpeg libxkbcommon libxrandr libxss lua52 uchardet libxinerama vulkan-icd-loader shaderc libplacebo)
makedepends=(git python-docutils wayland-protocols wayland vulkan-headers waf)
optdepends=('youtube-dl: for video-sharing websites playback')
options=('!emptydirs')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
_tag='79b4060a573e83ae42d51d995bca1ccf80690997' # git rev-parse v${pkgver}
source=(git+https://github.com/mpv-player/mpv.git#tag=${_tag}?signed)
sha256sums=(SKIP)
validpgpkeys=(145077D82501AA20152CACCE8D769208D5E31419) # sfan5 <sfan5@live.de>

build() {
  cd ${_pkgname}

  waf configure --prefix=/usr \
    --confdir=/etc/mpv \
    --lua=52arch \
    --enable-libmpv-shared \
    --disable-libarchive \
    --disable-libbluray \
    --disable-rubberband \
    --disable-vapoursynth \
    --disable-pulse \
    --disable-jack \
    --disable-opensles \
    --disable-xv \
    --disable-caca

  waf build
}

package() {
  cd ${_pkgname}

  waf install --destdir="${pkgdir}"

  install -m644 DOCS/{encoding.rst,tech-overview.txt} "${pkgdir}"/usr/share/doc/mpv
}

xdavidwu commented on 2021-09-14 15:40 (UTC)

Please add a cherry-pick of a compatibility fix commit 7c4465cefb27d4e0d07535d368febdf77b579566, like mpv in [community] (does)[https://github.com/archlinux/svntogit-community/blob/f5863347a75ed140ecc2c245d8a64646fc93c795/trunk/PKGBUILD#L40], or it won't build with recent libplacebo.

xdavidwu commented on 2021-08-20 15:22 (UTC)

Commit 9f2981b65b29 on the PKGBUILD does not update the package at all. The actual source version is lock by git tag and has not been updated.

Archange commented on 2020-12-21 22:22 (UTC)

I’ve updated and synced the package, but I’m now disowning it as I will rather use asp from now on to handle such kind of changes w.r.t. repo packages on my system.

@iridium_swimsuit: Don’t know how I missed your comment, but this is now done as part of syncing repo changes.

iridium_swimsuit commented on 2019-11-20 02:01 (UTC)

waf already exists in arch packages: https://www.archlinux.org/packages/community/any/waf/

Maybe consider its addition into general dependency and removal of externally downloaded version?

Archange commented on 2018-06-27 10:09 (UTC)

@trizen: Please read comments below.

Archange commented on 2018-05-14 16:18 (UTC)

You should just build in a clean chroot then. ;) And I don’t have gst-plugins-bad on my system, I avoid it as much as possible. :p

carlitos commented on 2018-05-13 19:58 (UTC)

Totally agree, I just wanted to clarify that if you have vulkan-icd-loader installed ( dependency of gst-plugins-bad ) which most likely everyone has then the build process fails for reason described below... Sorry for the noise and thanks for the package.

Archange commented on 2018-05-13 10:06 (UTC)

But vulkan-icd-loader is not a dependency of this package currently, because building with vulkan is useless without shaderc, and also because vulkan is a second class citizen in mpv.

carlitos commented on 2018-05-12 21:42 (UTC)

makedepends+=('vulkan-headers')

vulkan-icd-loader contains vulkan.pc, which makes mpv think it can build against Vulkan. However, the headers required to actually do so are in another package, vulkan-headers, for whatever reason. Building with only the former installed will fail. So if we see the .pc installed, make sure the headers are too.

See also: https://bugs.archlinux.org/task/56238

makedepends+=('vulkan-headers')

Archange commented on 2016-10-30 10:26 (UTC)

@ubone: Sorry, that’s a mistake, should have been changed in https://aur.archlinux.org/cgit/aur.git/commit/?h=mpv&id=e09aa42b047b5867a7c9401bc69b1c6450b19d13. Should now be fixed.

ubone commented on 2016-10-25 07:12 (UTC)

why --disable-vdpau-hwaccel \

commented on 2016-03-04 16:19 (UTC)

Thanks for this package

Archange commented on 2015-10-19 12:03 (UTC)

Sure, done.

Ambrevar commented on 2015-10-17 20:58 (UTC)

Can you add 'mpv' to the 'conflicts' and 'provides' arrays? Thanks.

Archange commented on 2015-10-01 21:54 (UTC)

No idea about that, sorry. By the way, since the libcaca issue is fixed I’m going to remove my old comments to keep the history clean, please do so too.