Date: Monday, May 4, 2015 @ 20:24:25 Author: eworm Revision: 132751 archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added: mpv/repos/community-staging-i686/ mpv/repos/community-staging-i686/0001-mpv-lua52.patch (from rev 132750, mpv/trunk/0001-mpv-lua52.patch) mpv/repos/community-staging-i686/PKGBUILD (from rev 132750, mpv/trunk/PKGBUILD) mpv/repos/community-staging-i686/mpv.install (from rev 132750, mpv/trunk/mpv.install) mpv/repos/community-staging-x86_64/ mpv/repos/community-staging-x86_64/0001-mpv-lua52.patch (from rev 132750, mpv/trunk/0001-mpv-lua52.patch) mpv/repos/community-staging-x86_64/PKGBUILD (from rev 132750, mpv/trunk/PKGBUILD) mpv/repos/community-staging-x86_64/mpv.install (from rev 132750, mpv/trunk/mpv.install) -----------------------------------------------+ community-staging-i686/0001-mpv-lua52.patch | 13 +++++ community-staging-i686/PKGBUILD | 55 ++++++++++++++++++++++++ community-staging-i686/mpv.install | 12 +++++ community-staging-x86_64/0001-mpv-lua52.patch | 13 +++++ community-staging-x86_64/PKGBUILD | 55 ++++++++++++++++++++++++ community-staging-x86_64/mpv.install | 12 +++++ 6 files changed, 160 insertions(+) Copied: mpv/repos/community-staging-i686/0001-mpv-lua52.patch (from rev 132750, mpv/trunk/0001-mpv-lua52.patch) =================================================================== --- community-staging-i686/0001-mpv-lua52.patch (rev 0) +++ community-staging-i686/0001-mpv-lua52.patch 2015-05-04 18:24:25 UTC (rev 132751) @@ -0,0 +1,13 @@ +diff --git a/waftools/checks/custom.py b/waftools/checks/custom.py +index 97c65e3..de38fc5 100644 +--- a/waftools/checks/custom.py ++++ b/waftools/checks/custom.py +@@ -54,7 +54,7 @@ def check_lua(ctx, dependency_identifier): + ( '51', 'lua >= 5.1.0 lua < 5.2.0'), + ( '51deb', 'lua5.1 >= 5.1.0'), # debian + ( '51fbsd', 'lua-5.1 >= 5.1.0'), # FreeBSD +- ( '52', 'lua >= 5.2.0 lua < 5.3.0' ), ++ ( '52', 'lua52 >= 5.2.0 lua52 < 5.3.0' ), + ( '52deb', 'lua5.2 >= 5.2.0'), # debian + ( '52fbsd', 'lua-5.2 >= 5.2.0'), # FreeBSD + ( 'luajit', 'luajit >= 2.0.0' ), Copied: mpv/repos/community-staging-i686/PKGBUILD (from rev 132750, mpv/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-05-04 18:24:25 UTC (rev 132751) @@ -0,0 +1,55 @@ +# $Id$ +# Maintainer: Christian Hesse <m...@eworm.de> +# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> +# Contributor: Eivind Uggedal <eiv...@uggedal.com> + +pkgname=mpv +pkgver=0.9.1 +pkgrel=2 +pkgdesc='Video player based on MPlayer/mplayer2' +arch=('i686' 'x86_64') +license=('GPL') +url='http://mpv.io' +depends=( + 'ffmpeg' 'lcms2' 'libcdio-paranoia' 'libgl' 'enca' + 'libxinerama' 'libxv' 'libxkbcommon' 'libva' 'wayland' + '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') +install=mpv.install +source=("$pkgname-$pkgver.tar.gz::https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz" + '0001-mpv-lua52.patch') +md5sums=('c766cf3d6a7eb82a74564c47fa14d4a5' + 'cb4fdc39561bf11fefd2b93769c91fec') + +prepare() { + cd $pkgname-$pkgver + patch -Np1 < $srcdir/0001-mpv-lua52.patch + ./bootstrap.py +} + +build() { + cd $pkgname-$pkgver + + ./waf configure --prefix=/usr \ + --confdir=/etc/mpv \ + --enable-zsh-comp \ + --enable-libmpv-shared \ + --enable-cdda + + ./waf build +} + +package() { + cd $pkgname-$pkgver + ./waf install --destdir="$pkgdir" + + install -d "$pkgdir"/usr/share/doc/mpv/examples + install -m644 etc/{input,example}.conf \ + "$pkgdir"/usr/share/doc/mpv/examples + install -m644 DOCS/{encoding.rst,tech-overview.txt} \ + "$pkgdir"/usr/share/doc/mpv +} Copied: mpv/repos/community-staging-i686/mpv.install (from rev 132750, mpv/trunk/mpv.install) =================================================================== --- community-staging-i686/mpv.install (rev 0) +++ community-staging-i686/mpv.install 2015-05-04 18:24:25 UTC (rev 132751) @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: mpv/repos/community-staging-x86_64/0001-mpv-lua52.patch (from rev 132750, mpv/trunk/0001-mpv-lua52.patch) =================================================================== --- community-staging-x86_64/0001-mpv-lua52.patch (rev 0) +++ community-staging-x86_64/0001-mpv-lua52.patch 2015-05-04 18:24:25 UTC (rev 132751) @@ -0,0 +1,13 @@ +diff --git a/waftools/checks/custom.py b/waftools/checks/custom.py +index 97c65e3..de38fc5 100644 +--- a/waftools/checks/custom.py ++++ b/waftools/checks/custom.py +@@ -54,7 +54,7 @@ def check_lua(ctx, dependency_identifier): + ( '51', 'lua >= 5.1.0 lua < 5.2.0'), + ( '51deb', 'lua5.1 >= 5.1.0'), # debian + ( '51fbsd', 'lua-5.1 >= 5.1.0'), # FreeBSD +- ( '52', 'lua >= 5.2.0 lua < 5.3.0' ), ++ ( '52', 'lua52 >= 5.2.0 lua52 < 5.3.0' ), + ( '52deb', 'lua5.2 >= 5.2.0'), # debian + ( '52fbsd', 'lua-5.2 >= 5.2.0'), # FreeBSD + ( 'luajit', 'luajit >= 2.0.0' ), Copied: mpv/repos/community-staging-x86_64/PKGBUILD (from rev 132750, mpv/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2015-05-04 18:24:25 UTC (rev 132751) @@ -0,0 +1,55 @@ +# $Id$ +# Maintainer: Christian Hesse <m...@eworm.de> +# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> +# Contributor: Eivind Uggedal <eiv...@uggedal.com> + +pkgname=mpv +pkgver=0.9.1 +pkgrel=2 +pkgdesc='Video player based on MPlayer/mplayer2' +arch=('i686' 'x86_64') +license=('GPL') +url='http://mpv.io' +depends=( + 'ffmpeg' 'lcms2' 'libcdio-paranoia' 'libgl' 'enca' + 'libxinerama' 'libxv' 'libxkbcommon' 'libva' 'wayland' + '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') +install=mpv.install +source=("$pkgname-$pkgver.tar.gz::https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz" + '0001-mpv-lua52.patch') +md5sums=('c766cf3d6a7eb82a74564c47fa14d4a5' + 'cb4fdc39561bf11fefd2b93769c91fec') + +prepare() { + cd $pkgname-$pkgver + patch -Np1 < $srcdir/0001-mpv-lua52.patch + ./bootstrap.py +} + +build() { + cd $pkgname-$pkgver + + ./waf configure --prefix=/usr \ + --confdir=/etc/mpv \ + --enable-zsh-comp \ + --enable-libmpv-shared \ + --enable-cdda + + ./waf build +} + +package() { + cd $pkgname-$pkgver + ./waf install --destdir="$pkgdir" + + install -d "$pkgdir"/usr/share/doc/mpv/examples + install -m644 etc/{input,example}.conf \ + "$pkgdir"/usr/share/doc/mpv/examples + install -m644 DOCS/{encoding.rst,tech-overview.txt} \ + "$pkgdir"/usr/share/doc/mpv +} Copied: mpv/repos/community-staging-x86_64/mpv.install (from rev 132750, mpv/trunk/mpv.install) =================================================================== --- community-staging-x86_64/mpv.install (rev 0) +++ community-staging-x86_64/mpv.install 2015-05-04 18:24:25 UTC (rev 132751) @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}