[arch-commits] Commit in mpv/repos (4 files)

Christian Hesse eworm at archlinux.org
Thu Oct 20 06:23:33 UTC 2016


    Date: Thursday, October 20, 2016 @ 06:23:33
  Author: eworm
Revision: 192664

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  mpv/repos/community-testing-i686/
  mpv/repos/community-testing-i686/PKGBUILD
    (from rev 192663, mpv/trunk/PKGBUILD)
  mpv/repos/community-testing-x86_64/
  mpv/repos/community-testing-x86_64/PKGBUILD
    (from rev 192663, mpv/trunk/PKGBUILD)

-----------------------------------+
 community-testing-i686/PKGBUILD   |   55 ++++++++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD |   55 ++++++++++++++++++++++++++++++++++++
 2 files changed, 110 insertions(+)

Copied: mpv/repos/community-testing-i686/PKGBUILD (from rev 192663, mpv/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2016-10-20 06:23:33 UTC (rev 192664)
@@ -0,0 +1,55 @@
+# $Id$
+# 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
+pkgver=0.21.0
+pkgrel=1
+_waf_version=1.8.12
+pkgdesc='a free, open source, and cross-platform media player'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='http://mpv.io'
+depends=(
+  'ffmpeg' 'lcms2' 'libcdio-paranoia' 'libgl' 'enca' 'libxss'
+  'libxinerama' 'libxv' 'libxkbcommon' 'libva' 'wayland' 'libcaca'
+  'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'lua52' 'libdvdnav'
+  'libxrandr' 'jack' 'smbclient' 'rubberband'
+)
+makedepends=('mesa' 'python-docutils' 'ladspa' 'hardening-wrapper')
+optdepends=('youtube-dl: for video-sharing websites playback')
+options=('!emptydirs' '!buildflags')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz"
+  "http://www.freehackers.org/~tnagy/release/waf-${_waf_version}")
+sha256sums=('d05f8ece859c500ef1649cdfea911ec1529df1898b8fda3e217766dc28dc9bd3'
+  '01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+
+  install -m755 "${srcdir}"/waf-${_waf_version} waf
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  ./waf configure --prefix=/usr \
+    --confdir=/etc/mpv \
+    --enable-cdda \
+    --enable-encoding \
+    --enable-libmpv-shared \
+    --enable-zsh-comp
+
+  ./waf build
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+
+  ./waf install --destdir="$pkgdir"
+
+  install -m644 DOCS/{encoding.rst,tech-overview.txt} \
+    "$pkgdir"/usr/share/doc/mpv
+}

Copied: mpv/repos/community-testing-x86_64/PKGBUILD (from rev 192663, mpv/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2016-10-20 06:23:33 UTC (rev 192664)
@@ -0,0 +1,55 @@
+# $Id$
+# 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
+pkgver=0.21.0
+pkgrel=1
+_waf_version=1.8.12
+pkgdesc='a free, open source, and cross-platform media player'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='http://mpv.io'
+depends=(
+  'ffmpeg' 'lcms2' 'libcdio-paranoia' 'libgl' 'enca' 'libxss'
+  'libxinerama' 'libxv' 'libxkbcommon' 'libva' 'wayland' 'libcaca'
+  'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'lua52' 'libdvdnav'
+  'libxrandr' 'jack' 'smbclient' 'rubberband'
+)
+makedepends=('mesa' 'python-docutils' 'ladspa' 'hardening-wrapper')
+optdepends=('youtube-dl: for video-sharing websites playback')
+options=('!emptydirs' '!buildflags')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz"
+  "http://www.freehackers.org/~tnagy/release/waf-${_waf_version}")
+sha256sums=('d05f8ece859c500ef1649cdfea911ec1529df1898b8fda3e217766dc28dc9bd3'
+  '01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+
+  install -m755 "${srcdir}"/waf-${_waf_version} waf
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  ./waf configure --prefix=/usr \
+    --confdir=/etc/mpv \
+    --enable-cdda \
+    --enable-encoding \
+    --enable-libmpv-shared \
+    --enable-zsh-comp
+
+  ./waf build
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+
+  ./waf install --destdir="$pkgdir"
+
+  install -m644 DOCS/{encoding.rst,tech-overview.txt} \
+    "$pkgdir"/usr/share/doc/mpv
+}



More information about the arch-commits mailing list