[arch-commits] Commit in mpv/repos (4 files)
Christian Hesse
eworm at archlinux.org
Sat Jan 7 23:48:05 UTC 2017
Date: Saturday, January 7, 2017 @ 23:48:05
Author: eworm
Revision: 206059
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 206058, mpv/trunk/PKGBUILD)
mpv/repos/community-testing-x86_64/
mpv/repos/community-testing-x86_64/PKGBUILD
(from rev 206058, 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 206058, mpv/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2017-01-07 23:48:05 UTC (rev 206059)
@@ -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.23.0
+pkgrel=2
+_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' 'uchardet'
+)
+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=('8aeefe5970587dfc454d2b89726b603f156bd7a9ae427654eef0d60c68d94998'
+ '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 206058, mpv/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2017-01-07 23:48:05 UTC (rev 206059)
@@ -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.23.0
+pkgrel=2
+_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' 'uchardet'
+)
+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=('8aeefe5970587dfc454d2b89726b603f156bd7a9ae427654eef0d60c68d94998'
+ '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