diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2015-12-14 15:13:19 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2015-12-14 15:13:19 +0100 |
commit | de6a5c512cfc3337b948dd5018f8c2fedbf27873 (patch) | |
tree | d5da634ebf08eaec5415279ef44e8b836a7743af /mpv-nowayland/PKGBUILD | |
parent | add shadow-libpassphrase (diff) | |
download | aur-packages-de6a5c512cfc3337b948dd5018f8c2fedbf27873.tar.gz aur-packages-de6a5c512cfc3337b948dd5018f8c2fedbf27873.tar.bz2 aur-packages-de6a5c512cfc3337b948dd5018f8c2fedbf27873.tar.xz |
-nowayland stuff
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'mpv-nowayland/PKGBUILD')
-rw-r--r-- | mpv-nowayland/PKGBUILD | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/mpv-nowayland/PKGBUILD b/mpv-nowayland/PKGBUILD new file mode 100644 index 0000000..8c2efe2 --- /dev/null +++ b/mpv-nowayland/PKGBUILD @@ -0,0 +1,57 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> +# Maintainer of the mpv package: Christian Hesse <mail@eworm.de> +# Contributor to the mpv package: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> +# Contributor to the mpv package: Eivind Uggedal <eivind@uggedal.com> + +_pkgname=mpv +pkgname=mpv-nowayland +epoch=1 +pkgver=0.14.0 +pkgrel=1 +pkgdesc='Video player based on MPlayer/mplayer2' +arch=('i686' 'x86_64') +license=('GPL') +url='http://mpv.io' +depends=( + 'ffmpeg' 'lcms2' 'libcdio-paranoia' 'libgl' 'enca' 'libxss' + 'libxinerama' 'libxv' 'libxkbcommon' 'libva' 'libcaca' + 'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'lua52' 'libdvdnav' + 'libguess' 'libxrandr' 'jack' 'smbclient' 'rubberband' +) +makedepends=('mesa' 'python-docutils' 'ladspa' 'hardening-wrapper') +optdepends=('youtube-dl: for video-sharing websites playback') +options=('!emptydirs' '!buildflags') +conflicts=("$_pkgname") +provides=("$_pkgname=$pkgver") +install=mpv.install +source=("$_pkgname-$pkgver.tar.gz::https://github.com/mpv-player/$_pkgname/archive/v$pkgver.tar.gz") +sha256sums=('042937f483603f0c3d1dec11e8f0045e8c27f19eee46ea64d81a3cdf01e51233') + +prepare() { + cd ${_pkgname}-${pkgver} + + ./bootstrap.py +} + +build() { + cd ${_pkgname}-${pkgver} + + ./waf configure --prefix=/usr \ + --confdir=/etc/mpv \ + --enable-zsh-comp \ + --enable-libmpv-shared \ + --enable-cdda \ + --disable-wayland \ + --disable-gl-wayland + + ./waf build +} + +package() { + cd ${_pkgname}-${pkgver} + + ./waf install --destdir="$pkgdir" + + install -m644 DOCS/{encoding.rst,tech-overview.txt} \ + "$pkgdir"/usr/share/doc/mpv +} |