[arch-commits] Commit in mpv/repos (2 files)
Christian Hesse
eworm at archlinux.org
Sun Nov 22 19:46:05 UTC 2020
Date: Sunday, November 22, 2020 @ 19:46:05
Author: eworm
Revision: 759479
archrelease: copy trunk to community-testing-x86_64
Added:
mpv/repos/community-testing-x86_64/
mpv/repos/community-testing-x86_64/PKGBUILD
(from rev 759478, mpv/trunk/PKGBUILD)
----------+
PKGBUILD | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)
Copied: mpv/repos/community-testing-x86_64/PKGBUILD (from rev 759478, mpv/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2020-11-22 19:46:05 UTC (rev 759479)
@@ -0,0 +1,62 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Eivind Uggedal <eivind at uggedal.com>
+
+pkgname=mpv
+epoch=1
+_tag='d81133141f052187016a8cb4cf034c35ba39e0ba' # git rev-parse v${pkgver}
+pkgver=0.33.0
+pkgrel=1
+pkgdesc='a free, open source, and cross-platform media player'
+arch=('x86_64')
+# We link against libraries that are licensed GPLv3 explicitly, libsmbclient
+# being one of these. So our package is GPLv3 only as well.
+license=('GPL3')
+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' 'libcaca' 'libcdio'
+ 'libcdio-paranoia' 'libdrm' 'libdvdnav' 'libdvdread' 'libgl' 'libglvnd' 'libegl' 'libgl'
+ 'libjpeg-turbo' 'libjpeg.so' 'libplacebo' 'libplacebo.so' 'libpulse' 'libpulse.so'
+ 'libva' 'libva.so' 'libva-drm.so' 'libva-wayland.so' 'libva-x11.so' 'libvdpau' 'libx11'
+ 'libxext' 'libxinerama' 'libxkbcommon' 'libxkbcommon.so' 'libxrandr' 'libxss' 'libxss'
+ 'libxv' 'lua52' 'mesa' 'mujs' 'rubberband' 'librubberband.so' 'shaderc'
+ 'libshaderc_shared.so' 'smbclient' 'uchardet' 'vulkan-icd-loader' 'wayland' 'xdg-utils'
+ 'zlib')
+makedepends=('git' 'python-docutils' 'ladspa' 'wayland-protocols'
+ 'ffnvcodec-headers' 'vulkan-headers' 'waf')
+optdepends=('youtube-dl: for video-sharing websites playback')
+provides=('libmpv.so')
+options=('!emptydirs')
+validpgpkeys=('145077D82501AA20152CACCE8D769208D5E31419') # sfan5 <sfan5 at live.de>
+source=("git+https://github.com/mpv-player/mpv.git#tag=${_tag}?signed")
+sha256sums=('SKIP')
+
+build() {
+ cd ${pkgname}
+
+ waf configure --prefix=/usr \
+ --confdir=/etc/mpv \
+ --enable-cdda \
+ --enable-dvb \
+ --enable-dvdnav \
+ --enable-libarchive \
+ --enable-libmpv-shared \
+ --enable-libsmbclient \
+ --disable-build-date
+
+ waf build
+}
+
+package() {
+ cd ${pkgname}
+
+ waf install --destdir="$pkgdir"
+
+ install -m0644 DOCS/{encoding.rst,tech-overview.txt} \
+ "$pkgdir"/usr/share/doc/mpv
+
+ install -m0644 TOOLS/lua/* \
+ -D -t "$pkgdir"/usr/share/mpv/scripts
+}
More information about the arch-commits
mailing list