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

2017-11-03 Thread Christian Hesse
Date: Friday, November 3, 2017 @ 13:20:48
  Author: eworm
Revision: 265320

this is [community]...

Added:
  mpv/repos/community-testing-i686/
  mpv/repos/community-testing-x86_64/
Deleted:
  mpv/repos/community-testing-i686/
  mpv/repos/community-testing-x86_64/
  mpv/repos/testing-i686/
  mpv/repos/testing-x86_64/


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

2017-07-18 Thread Christian Hesse
Date: Tuesday, July 18, 2017 @ 21:23:34
  Author: eworm
Revision: 245625

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

Added:
  mpv/repos/community-i686/0001-opengl-backend-support-multiple-backends.patch
(from rev 245624, 
mpv/trunk/0001-opengl-backend-support-multiple-backends.patch)
  mpv/repos/community-i686/PKGBUILD
(from rev 245624, mpv/trunk/PKGBUILD)
  mpv/repos/community-x86_64/0001-opengl-backend-support-multiple-backends.patch
(from rev 245624, 
mpv/trunk/0001-opengl-backend-support-multiple-backends.patch)
  mpv/repos/community-x86_64/PKGBUILD
(from rev 245624, mpv/trunk/PKGBUILD)
Deleted:
  mpv/repos/community-i686/PKGBUILD
  mpv/repos/community-x86_64/PKGBUILD

--+
 /PKGBUILD|  126 

 community-i686/0001-opengl-backend-support-multiple-backends.patch   |  291 
++
 community-i686/PKGBUILD  |   57 -
 community-x86_64/0001-opengl-backend-support-multiple-backends.patch |  291 
++
 community-x86_64/PKGBUILD|   57 -
 5 files changed, 708 insertions(+), 114 deletions(-)

Copied: 
mpv/repos/community-i686/0001-opengl-backend-support-multiple-backends.patch 
(from rev 245624, mpv/trunk/0001-opengl-backend-support-multiple-backends.patch)
===
--- community-i686/0001-opengl-backend-support-multiple-backends.patch  
(rev 0)
+++ community-i686/0001-opengl-backend-support-multiple-backends.patch  
2017-07-18 21:23:34 UTC (rev 245625)
@@ -0,0 +1,291 @@
+From 9c397af0dabfff7177bcb76409af5b8f9ae608cf Mon Sep 17 00:00:00 2001
+From: Drew DeVault 
+Date: Thu, 27 Apr 2017 17:19:58 -0400
+Subject: [PATCH 1/4] --opengl-backend: support multiple backends
+
+Will attempt each backend specified in order. The x11 backend is still
+preferred, even on Wayland, but the user can now use
+--opengl-backend=wayland,x11 to prefer wayland and fall back to x11 if
+wayland is unavailable.
+---
+ video/out/opengl/context.c | 66 +-
+ video/out/opengl/context.h |  8 ++
+ video/out/vo_opengl.c  |  7 +++--
+ 3 files changed, 64 insertions(+), 17 deletions(-)
+
+diff --git a/video/out/opengl/context.c b/video/out/opengl/context.c
+index 72311e11fa..568bb662b8 100644
+--- a/video/out/opengl/context.c
 b/video/out/opengl/context.c
+@@ -89,6 +89,30 @@ static const struct mpgl_driver *const backends[] = {
+ #endif
+ };
+ 
++static bool get_desc(struct m_obj_desc *dst, int index)
++{
++if (index >= MP_ARRAY_SIZE(backends) - 1)
++return false;
++const struct mpgl_driver *driver = backends[index];
++*dst = (struct m_obj_desc) {
++.name = driver->name,
++.description = driver->name,
++.priv_size = sizeof(struct mpgl_driver),
++.p = driver,
++};
++return true;
++}
++
++// for backend option
++const struct m_obj_list mpgl_backend_list = {
++.get_desc = get_desc,
++.description = "OpenGL windowing backends",
++.allow_unknown_entries = true,
++.allow_disable_entries = true,
++.allow_trailer = true,
++.disallow_positional_parameters = true,
++};
++
+ // 0-terminated list of desktop GL versions a backend should try to
+ // initialize. The first entry is the most preferred version.
+ const int mpgl_preferred_gl_versions[] = {
+@@ -100,7 +124,7 @@ const int mpgl_preferred_gl_versions[] = {
+ 0
+ };
+ 
+-int mpgl_find_backend(const char *name)
++static int mpgl_find_backend(const char *name)
+ {
+ if (name == NULL || strcmp(name, "auto") == 0)
+ return -1;
+@@ -126,7 +150,7 @@ int mpgl_validate_backend_opt(struct mp_log *log, const 
struct m_option *opt,
+ return mpgl_find_backend(s) >= -1 ? 1 : M_OPT_INVALID;
+ }
+ 
+-static void *get_native_display(void *pctx, const char *name)
++static void *get_native_display(const char *name)
+ {
+ MPGLContext *ctx = pctx;
+ if (!ctx->native_display_type || !name)
+@@ -186,11 +210,41 @@ cleanup:
+ 
+ // Create a VO window and create a GL context on it.
+ //  vo_flags: passed to the backend's create window function
+-MPGLContext *mpgl_init(struct vo *vo, const char *backend_name, int vo_flags)
++MPGLContext *mpgl_init(struct vo *vo, struct m_obj_settings *backend_list, 
int vo_flags)
+ {
+ MPGLContext *ctx = NULL;
+-int index = mpgl_find_backend(backend_name);
+-if (index == -1) {
++if (backend_list && backend_list[0].name) {
++int n;
++for (n = 0; backend_list[n].name; n++) {
++// Something like "--opengl-backend=name," allows fallback to 
autoprobing.
++int index = mpgl_find_backend(backend_list[n].name);
++if (index == -1 || strlen(backend_list[n].name) == 0)
++goto autoprobe;
++if 

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

2016-04-27 Thread Christian Hesse
Date: Wednesday, April 27, 2016 @ 15:28:53
  Author: eworm
Revision: 172041

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

Added:
  mpv/repos/community-i686/PKGBUILD
(from rev 172040, mpv/trunk/PKGBUILD)
  mpv/repos/community-x86_64/PKGBUILD
(from rev 172040, mpv/trunk/PKGBUILD)
Deleted:
  mpv/repos/community-i686/PKGBUILD
  mpv/repos/community-i686/mpv.install
  mpv/repos/community-x86_64/PKGBUILD
  mpv/repos/community-x86_64/mpv.install

--+
 /PKGBUILD|  110 +
 community-i686/PKGBUILD  |   56 
 community-i686/mpv.install   |   12 
 community-x86_64/PKGBUILD|   56 
 community-x86_64/mpv.install |   12 
 5 files changed, 110 insertions(+), 136 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2016-04-27 13:28:49 UTC (rev 172040)
+++ community-i686/PKGBUILD 2016-04-27 13:28:53 UTC (rev 172041)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Christian Hesse 
-# Contributor: Bartłomiej Piotrowski 
-# Contributor: Eivind Uggedal 
-
-pkgname=mpv
-epoch=1
-pkgver=0.17.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'
-)
-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;
-  "http://www.freehackers.org/~tnagy/release/waf-${_waf_version};)
-sha256sums=('602cd2b0f5fc7e43473234fbb96e3f7bbb6418f15eb8fa720d9433cce31eba6e'
-  '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-i686/PKGBUILD (from rev 172040, mpv/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-04-27 13:28:53 UTC (rev 172041)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Christian Hesse 
+# Contributor: Bartłomiej Piotrowski 
+# Contributor: Eivind Uggedal 
+
+pkgname=mpv
+epoch=1
+pkgver=0.17.0
+pkgrel=3
+_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=('602cd2b0f5fc7e43473234fbb96e3f7bbb6418f15eb8fa720d9433cce31eba6e'
+  '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
+}

Deleted: community-i686/mpv.install
===
--- community-i686/mpv.install  2016-04-27 13:28:49 UTC (rev 172040)
+++ community-i686/mpv.install  2016-04-27 13:28:53 UTC (rev 172041)
@@ -1,12 +0,0 @@
-post_install() {
-  xdg-icon-resource forceupdate --theme hicolor &> 

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

2016-02-16 Thread Christian Hesse
Date: Tuesday, February 16, 2016 @ 10:19:38
  Author: eworm
Revision: 161821

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

Added:
  mpv/repos/community-staging-i686/
  mpv/repos/community-staging-i686/PKGBUILD
(from rev 161820, mpv/trunk/PKGBUILD)
  mpv/repos/community-staging-i686/mpv.install
(from rev 161820, mpv/trunk/mpv.install)
  mpv/repos/community-staging-x86_64/
  mpv/repos/community-staging-x86_64/PKGBUILD
(from rev 161820, mpv/trunk/PKGBUILD)
  mpv/repos/community-staging-x86_64/mpv.install
(from rev 161820, mpv/trunk/mpv.install)

--+
 community-staging-i686/PKGBUILD  |   52 +
 community-staging-i686/mpv.install   |   12 +++
 community-staging-x86_64/PKGBUILD|   52 +
 community-staging-x86_64/mpv.install |   12 +++
 4 files changed, 128 insertions(+)

Copied: mpv/repos/community-staging-i686/PKGBUILD (from rev 161820, 
mpv/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-16 09:19:38 UTC (rev 161821)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Christian Hesse 
+# Contributor: Bartłomiej Piotrowski 
+# Contributor: Eivind Uggedal 
+
+pkgname=mpv
+epoch=1
+pkgver=0.15.0
+pkgrel=3
+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' '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')
+install=mpv.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz;)
+sha256sums=('7d31217ba8572f364fcea2955733f821374ae6d8c6d8f22f8bc63c44c0400bdc')
+
+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
+
+  ./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-staging-i686/mpv.install (from rev 161820, 
mpv/trunk/mpv.install)
===
--- community-staging-i686/mpv.install  (rev 0)
+++ community-staging-i686/mpv.install  2016-02-16 09:19:38 UTC (rev 161821)
@@ -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/PKGBUILD (from rev 161820, 
mpv/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-16 09:19:38 UTC (rev 161821)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Christian Hesse 
+# Contributor: Bartłomiej Piotrowski 
+# Contributor: Eivind Uggedal 
+
+pkgname=mpv
+epoch=1
+pkgver=0.15.0
+pkgrel=3
+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' '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')
+install=mpv.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz;)
+sha256sums=('7d31217ba8572f364fcea2955733f821374ae6d8c6d8f22f8bc63c44c0400bdc')
+
+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
+
+  ./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-staging-x86_64/mpv.install 

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

2016-02-12 Thread Christian Hesse
Date: Friday, February 12, 2016 @ 23:39:07
  Author: eworm
Revision: 161438

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 161437, mpv/trunk/PKGBUILD)
  mpv/repos/community-testing-i686/mpv.install
(from rev 161437, mpv/trunk/mpv.install)
  mpv/repos/community-testing-x86_64/
  mpv/repos/community-testing-x86_64/PKGBUILD
(from rev 161437, mpv/trunk/PKGBUILD)
  mpv/repos/community-testing-x86_64/mpv.install
(from rev 161437, mpv/trunk/mpv.install)

--+
 community-testing-i686/PKGBUILD  |   52 +
 community-testing-i686/mpv.install   |   12 +++
 community-testing-x86_64/PKGBUILD|   52 +
 community-testing-x86_64/mpv.install |   12 +++
 4 files changed, 128 insertions(+)

Copied: mpv/repos/community-testing-i686/PKGBUILD (from rev 161437, 
mpv/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-02-12 22:39:07 UTC (rev 161438)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Christian Hesse 
+# Contributor: Bartłomiej Piotrowski 
+# Contributor: Eivind Uggedal 
+
+pkgname=mpv
+epoch=1
+pkgver=0.15.0
+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' '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')
+install=mpv.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz;)
+sha256sums=('7d31217ba8572f364fcea2955733f821374ae6d8c6d8f22f8bc63c44c0400bdc')
+
+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
+
+  ./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-i686/mpv.install (from rev 161437, 
mpv/trunk/mpv.install)
===
--- community-testing-i686/mpv.install  (rev 0)
+++ community-testing-i686/mpv.install  2016-02-12 22:39:07 UTC (rev 161438)
@@ -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-testing-x86_64/PKGBUILD (from rev 161437, 
mpv/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2016-02-12 22:39:07 UTC (rev 161438)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Christian Hesse 
+# Contributor: Bartłomiej Piotrowski 
+# Contributor: Eivind Uggedal 
+
+pkgname=mpv
+epoch=1
+pkgver=0.15.0
+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' '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')
+install=mpv.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz;)
+sha256sums=('7d31217ba8572f364fcea2955733f821374ae6d8c6d8f22f8bc63c44c0400bdc')
+
+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
+
+  ./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/mpv.install 

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

2015-09-04 Thread Christian Hesse
Date: Friday, September 4, 2015 @ 09:21:38
  Author: eworm
Revision: 139194

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 139193, mpv/trunk/PKGBUILD)
  mpv/repos/community-testing-i686/mpv.install
(from rev 139193, mpv/trunk/mpv.install)
  mpv/repos/community-testing-x86_64/
  mpv/repos/community-testing-x86_64/PKGBUILD
(from rev 139193, mpv/trunk/PKGBUILD)
  mpv/repos/community-testing-x86_64/mpv.install
(from rev 139193, mpv/trunk/mpv.install)

--+
 community-testing-i686/PKGBUILD  |   55 +
 community-testing-i686/mpv.install   |   12 +++
 community-testing-x86_64/PKGBUILD|   55 +
 community-testing-x86_64/mpv.install |   12 +++
 4 files changed, 134 insertions(+)

Copied: mpv/repos/community-testing-i686/PKGBUILD (from rev 139193, 
mpv/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2015-09-04 07:21:38 UTC (rev 139194)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Christian Hesse 
+# Contributor:  Bartłomiej Piotrowski 
+# Contributor: Eivind Uggedal 
+
+pkgname=mpv
+epoch=1
+pkgver=0.10.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' 'wayland' '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')
+install=mpv.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz;)
+sha256sums=('f9eaec3e4f6094c4d889ab04f86c479a089c389616e1a5522c92fedb2fe7044c')
+
+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
+
+  ./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-testing-i686/mpv.install (from rev 139193, 
mpv/trunk/mpv.install)
===
--- community-testing-i686/mpv.install  (rev 0)
+++ community-testing-i686/mpv.install  2015-09-04 07:21:38 UTC (rev 139194)
@@ -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-testing-x86_64/PKGBUILD (from rev 139193, 
mpv/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2015-09-04 07:21:38 UTC (rev 139194)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Christian Hesse 
+# Contributor:  Bartłomiej Piotrowski 
+# Contributor: Eivind Uggedal 
+
+pkgname=mpv
+epoch=1
+pkgver=0.10.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' 'wayland' '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')
+install=mpv.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz;)
+sha256sums=('f9eaec3e4f6094c4d889ab04f86c479a089c389616e1a5522c92fedb2fe7044c')
+
+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
+
+  ./waf build
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+
+  ./waf install 

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

2015-08-26 Thread Christian Hesse
Date: Wednesday, August 26, 2015 @ 20:26:54
  Author: eworm
Revision: 138796

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 138795, mpv/trunk/PKGBUILD)
  mpv/repos/community-testing-i686/mpv.install
(from rev 138795, mpv/trunk/mpv.install)
  mpv/repos/community-testing-x86_64/
  mpv/repos/community-testing-x86_64/PKGBUILD
(from rev 138795, mpv/trunk/PKGBUILD)
  mpv/repos/community-testing-x86_64/mpv.install
(from rev 138795, mpv/trunk/mpv.install)

--+
 community-testing-i686/PKGBUILD  |   60 +
 community-testing-i686/mpv.install   |   12 ++
 community-testing-x86_64/PKGBUILD|   60 +
 community-testing-x86_64/mpv.install |   12 ++
 4 files changed, 144 insertions(+)

Copied: mpv/repos/community-testing-i686/PKGBUILD (from rev 138795, 
mpv/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2015-08-26 18:26:54 UTC (rev 138796)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Christian Hesse m...@eworm.de
+# Contributor:  Bartłomiej Piotrowski bpiotrow...@archlinux.org
+# Contributor: Eivind Uggedal eiv...@uggedal.com
+
+pkgname=mpv
+_commit=f1778d1f
+pkgver=41859.gf1778d1f
+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' 'wayland' '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')
+install=mpv.install
+source=(git://github.com/mpv-player/mpv.git#commit=${_commit})
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+
+  echo $(git rev-list --count HEAD).g${_commit}
+}
+
+prepare() {
+  cd $pkgname
+
+  ./bootstrap.py
+}
+
+build() {
+  cd $pkgname
+
+  ./waf configure --prefix=/usr \
+--confdir=/etc/mpv \
+--enable-zsh-comp \
+--enable-libmpv-shared \
+--enable-cdda
+
+  ./waf build
+}
+
+package() {
+  cd $pkgname
+  ./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-testing-i686/mpv.install (from rev 138795, 
mpv/trunk/mpv.install)
===
--- community-testing-i686/mpv.install  (rev 0)
+++ community-testing-i686/mpv.install  2015-08-26 18:26:54 UTC (rev 138796)
@@ -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-testing-x86_64/PKGBUILD (from rev 138795, 
mpv/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2015-08-26 18:26:54 UTC (rev 138796)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Christian Hesse m...@eworm.de
+# Contributor:  Bartłomiej Piotrowski bpiotrow...@archlinux.org
+# Contributor: Eivind Uggedal eiv...@uggedal.com
+
+pkgname=mpv
+_commit=f1778d1f
+pkgver=41859.gf1778d1f
+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' 'wayland' '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')
+install=mpv.install
+source=(git://github.com/mpv-player/mpv.git#commit=${_commit})
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+
+  echo $(git rev-list --count HEAD).g${_commit}
+}
+
+prepare() {
+  cd $pkgname
+
+  ./bootstrap.py
+}
+
+build() {
+  cd $pkgname
+
+  ./waf configure --prefix=/usr \
+--confdir=/etc/mpv \
+--enable-zsh-comp \
+--enable-libmpv-shared \
+--enable-cdda
+
+  ./waf build
+}
+
+package() {
+  cd $pkgname
+  ./waf install --destdir=$pkgdir
+
+  install -d $pkgdir/usr/share/doc/mpv/examples
+  install -m644 

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

2015-04-29 Thread Christian Hesse
Date: Wednesday, April 29, 2015 @ 12:15:00
  Author: eworm
Revision: 132504

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 132503, mpv/trunk/PKGBUILD)
  mpv/repos/community-testing-i686/mpv.install
(from rev 132503, mpv/trunk/mpv.install)
  mpv/repos/community-testing-x86_64/
  mpv/repos/community-testing-x86_64/PKGBUILD
(from rev 132503, mpv/trunk/PKGBUILD)
  mpv/repos/community-testing-x86_64/mpv.install
(from rev 132503, mpv/trunk/mpv.install)

--+
 community-testing-i686/PKGBUILD  |   51 +
 community-testing-i686/mpv.install   |   12 +++
 community-testing-x86_64/PKGBUILD|   51 +
 community-testing-x86_64/mpv.install |   12 +++
 4 files changed, 126 insertions(+)

Copied: mpv/repos/community-testing-i686/PKGBUILD (from rev 132503, 
mpv/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2015-04-29 10:15:00 UTC (rev 132504)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski bpiotrow...@archlinux.org
+# Contributor: Eivind Uggedal eiv...@uggedal.com
+
+pkgname=mpv
+pkgver=0.9.1
+pkgrel=1
+pkgdesc='Video player based on MPlayer/mplayer2'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='http://mpv.io'
+depends=(
+  'ffmpeg' 'lcms2' 'libdvdread' 'libcdio-paranoia' 'libgl' 'enca' 'libguess'
+  'libxinerama' 'libxv' 'libxkbcommon' 'libva' 'wayland'
+  'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'lua' '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)
+md5sums=('c766cf3d6a7eb82a74564c47fa14d4a5')
+
+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
+
+  ./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-testing-i686/mpv.install (from rev 132503, 
mpv/trunk/mpv.install)
===
--- community-testing-i686/mpv.install  (rev 0)
+++ community-testing-i686/mpv.install  2015-04-29 10:15:00 UTC (rev 132504)
@@ -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-testing-x86_64/PKGBUILD (from rev 132503, 
mpv/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2015-04-29 10:15:00 UTC (rev 132504)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski bpiotrow...@archlinux.org
+# Contributor: Eivind Uggedal eiv...@uggedal.com
+
+pkgname=mpv
+pkgver=0.9.1
+pkgrel=1
+pkgdesc='Video player based on MPlayer/mplayer2'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='http://mpv.io'
+depends=(
+  'ffmpeg' 'lcms2' 'libdvdread' 'libcdio-paranoia' 'libgl' 'enca' 'libguess'
+  'libxinerama' 'libxv' 'libxkbcommon' 'libva' 'wayland'
+  'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'lua' '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)
+md5sums=('c766cf3d6a7eb82a74564c47fa14d4a5')
+
+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
+
+  ./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
+}


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

2015-03-12 Thread Christian Hesse
Date: Thursday, March 12, 2015 @ 11:56:22
  Author: eworm
Revision: 129115

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 129114, mpv/trunk/PKGBUILD)
  mpv/repos/community-testing-i686/mpv.install
(from rev 129114, mpv/trunk/mpv.install)
  mpv/repos/community-testing-x86_64/
  mpv/repos/community-testing-x86_64/PKGBUILD
(from rev 129114, mpv/trunk/PKGBUILD)
  mpv/repos/community-testing-x86_64/mpv.install
(from rev 129114, mpv/trunk/mpv.install)

--+
 community-testing-i686/PKGBUILD  |   52 +
 community-testing-i686/mpv.install   |   12 +++
 community-testing-x86_64/PKGBUILD|   52 +
 community-testing-x86_64/mpv.install |   12 +++
 4 files changed, 128 insertions(+)

Copied: mpv/repos/community-testing-i686/PKGBUILD (from rev 129114, 
mpv/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2015-03-12 10:56:22 UTC (rev 129115)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski bpiotrow...@archlinux.org
+# Contributor: Eivind Uggedal eiv...@uggedal.com
+
+pkgname=mpv
+pkgver=0.8.2
+pkgrel=3
+pkgdesc='Video player based on MPlayer/mplayer2'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='http://mpv.io'
+depends=(
+  'ffmpeg' 'lcms2' 'libdvdread' 'libcdio-paranoia' 'libgl' 'enca' 'libguess'
+  'libxinerama' 'mpg123' 'libxv' 'libxkbcommon' 'libva' 'lirc' 'wayland'
+  'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'lua' 'libdvdnav'
+  'libguess' 'libxrandr' 'jack' 'smbclient'
+)
+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)
+md5sums=('6437a04dbcfe42efc13cdd37c979b954')
+
+prepare() {
+  cd $pkgname-$pkgver
+  ./bootstrap.py
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./waf configure --prefix=/usr \
+--confdir=/etc/mpv \
+--enable-joystick \
+--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-testing-i686/mpv.install (from rev 129114, 
mpv/trunk/mpv.install)
===
--- community-testing-i686/mpv.install  (rev 0)
+++ community-testing-i686/mpv.install  2015-03-12 10:56:22 UTC (rev 129115)
@@ -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-testing-x86_64/PKGBUILD (from rev 129114, 
mpv/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2015-03-12 10:56:22 UTC (rev 129115)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski bpiotrow...@archlinux.org
+# Contributor: Eivind Uggedal eiv...@uggedal.com
+
+pkgname=mpv
+pkgver=0.8.2
+pkgrel=3
+pkgdesc='Video player based on MPlayer/mplayer2'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='http://mpv.io'
+depends=(
+  'ffmpeg' 'lcms2' 'libdvdread' 'libcdio-paranoia' 'libgl' 'enca' 'libguess'
+  'libxinerama' 'mpg123' 'libxv' 'libxkbcommon' 'libva' 'lirc' 'wayland'
+  'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'lua' 'libdvdnav'
+  'libguess' 'libxrandr' 'jack' 'smbclient'
+)
+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)
+md5sums=('6437a04dbcfe42efc13cdd37c979b954')
+
+prepare() {
+  cd $pkgname-$pkgver
+  ./bootstrap.py
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./waf configure --prefix=/usr \
+--confdir=/etc/mpv \
+--enable-joystick \
+--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 

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

2014-11-11 Thread Bartłomiej Piotrowski
Date: Tuesday, November 11, 2014 @ 14:45:13
  Author: bpiotrowski
Revision: 122359

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

Added:
  mpv/repos/community-staging-i686/
  mpv/repos/community-staging-i686/PKGBUILD
(from rev 122358, mpv/trunk/PKGBUILD)
  mpv/repos/community-staging-i686/mpv.install
(from rev 122358, mpv/trunk/mpv.install)
  mpv/repos/community-staging-x86_64/
  mpv/repos/community-staging-x86_64/PKGBUILD
(from rev 122358, mpv/trunk/PKGBUILD)
  mpv/repos/community-staging-x86_64/mpv.install
(from rev 122358, mpv/trunk/mpv.install)

--+
 community-staging-i686/PKGBUILD  |   53 +
 community-staging-i686/mpv.install   |   12 +++
 community-staging-x86_64/PKGBUILD|   53 +
 community-staging-x86_64/mpv.install |   12 +++
 4 files changed, 130 insertions(+)

Copied: mpv/repos/community-staging-i686/PKGBUILD (from rev 122358, 
mpv/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2014-11-11 13:45:13 UTC (rev 122359)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski bpiotrow...@archlinux.org
+# Contributor: Eivind Uggedal eiv...@uggedal.com
+
+pkgname=mpv
+pkgver=0.6.2
+pkgrel=2
+pkgdesc='Video player based on MPlayer/mplayer2'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='http://mpv.io'
+depends=(
+  'ffmpeg' 'lcms2' 'libdvdread' 'libcdio-paranoia' 'libquvi' 'libgl' 'enca'
+  'libxinerama' 'mpg123' 'libxv' 'libxkbcommon' 'libva' 'lirc-utils' 'wayland'
+  'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'lua' 'libdvdnav'
+  'libguess' 'portaudio'
+)
+makedepends=('mesa' 'python-docutils' 'ladspa')
+options=('!emptydirs' '!buildflags')
+install=mpv.install
+source=(https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz)
+md5sums=('d0e25a26b6143b5e7d4ba354dd52f1b3')
+
+prepare() {
+  cd $pkgname-$pkgver
+  ./bootstrap.py
+  sed -i 's/vendor-completions/site-functions/' wscript_build.py
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./waf configure --prefix=/usr \
+--confdir=/etc/mpv \
+--enable-joystick \
+--enable-zsh-comp \
+--enable-libmpv-shared \
+--enable-cdda \
+--enable-portaudio
+
+  ./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 122358, 
mpv/trunk/mpv.install)
===
--- community-staging-i686/mpv.install  (rev 0)
+++ community-staging-i686/mpv.install  2014-11-11 13:45:13 UTC (rev 122359)
@@ -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/PKGBUILD (from rev 122358, 
mpv/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2014-11-11 13:45:13 UTC (rev 122359)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski bpiotrow...@archlinux.org
+# Contributor: Eivind Uggedal eiv...@uggedal.com
+
+pkgname=mpv
+pkgver=0.6.2
+pkgrel=2
+pkgdesc='Video player based on MPlayer/mplayer2'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='http://mpv.io'
+depends=(
+  'ffmpeg' 'lcms2' 'libdvdread' 'libcdio-paranoia' 'libquvi' 'libgl' 'enca'
+  'libxinerama' 'mpg123' 'libxv' 'libxkbcommon' 'libva' 'lirc-utils' 'wayland'
+  'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'lua' 'libdvdnav'
+  'libguess' 'portaudio'
+)
+makedepends=('mesa' 'python-docutils' 'ladspa')
+options=('!emptydirs' '!buildflags')
+install=mpv.install
+source=(https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz)
+md5sums=('d0e25a26b6143b5e7d4ba354dd52f1b3')
+
+prepare() {
+  cd $pkgname-$pkgver
+  ./bootstrap.py
+  sed -i 's/vendor-completions/site-functions/' wscript_build.py
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./waf configure --prefix=/usr \
+--confdir=/etc/mpv \
+--enable-joystick \
+--enable-zsh-comp \
+--enable-libmpv-shared \
+--enable-cdda \
+--enable-portaudio
+
+  ./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
+}


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

2014-09-15 Thread Bartłomiej Piotrowski
Date: Monday, September 15, 2014 @ 09:26:36
  Author: bpiotrowski
Revision: 118996

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

Added:
  mpv/repos/community-staging-i686/
  mpv/repos/community-staging-i686/PKGBUILD
(from rev 118995, mpv/trunk/PKGBUILD)
  mpv/repos/community-staging-i686/mpv.install
(from rev 118995, mpv/trunk/mpv.install)
  mpv/repos/community-staging-x86_64/
  mpv/repos/community-staging-x86_64/PKGBUILD
(from rev 118995, mpv/trunk/PKGBUILD)
  mpv/repos/community-staging-x86_64/mpv.install
(from rev 118995, mpv/trunk/mpv.install)

--+
 community-staging-i686/PKGBUILD  |   53 +
 community-staging-i686/mpv.install   |   12 +++
 community-staging-x86_64/PKGBUILD|   53 +
 community-staging-x86_64/mpv.install |   12 +++
 4 files changed, 130 insertions(+)

Copied: mpv/repos/community-staging-i686/PKGBUILD (from rev 118995, 
mpv/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2014-09-15 07:26:36 UTC (rev 118996)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski bpiotrow...@archlinux.org
+# Contributor: Eivind Uggedal eiv...@uggedal.com
+
+pkgname=mpv
+pkgver=0.5.3
+pkgrel=2
+pkgdesc='Video player based on MPlayer/mplayer2'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='http://mpv.io'
+depends=(
+  'ffmpeg' 'lcms2' 'libdvdread' 'libcdio-paranoia' 'libquvi' 'libgl' 'enca'
+  'libxinerama' 'mpg123' 'libxv' 'libxkbcommon' 'libva' 'lirc-utils' 'wayland'
+  'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'lua' 'libdvdnav'
+  'libguess' 'portaudio'
+)
+makedepends=('mesa' 'python-docutils' 'ladspa')
+options=('!emptydirs' '!buildflags')
+install=mpv.install
+source=(https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz)
+md5sums=('8ce1e57224834d3d4ff7f6c3ecbeea82')
+
+prepare() {
+  cd $pkgname-$pkgver
+  ./bootstrap.py
+  sed -i 's/vendor-completions/site-functions/' wscript_build.py
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./waf configure --prefix=/usr \
+--confdir=/etc/mpv \
+--enable-joystick \
+--enable-zsh-comp \
+--enable-libmpv-shared \
+--enable-cdda \
+--enable-portaudio
+
+  ./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 118995, 
mpv/trunk/mpv.install)
===
--- community-staging-i686/mpv.install  (rev 0)
+++ community-staging-i686/mpv.install  2014-09-15 07:26:36 UTC (rev 118996)
@@ -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/PKGBUILD (from rev 118995, 
mpv/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2014-09-15 07:26:36 UTC (rev 118996)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski bpiotrow...@archlinux.org
+# Contributor: Eivind Uggedal eiv...@uggedal.com
+
+pkgname=mpv
+pkgver=0.5.3
+pkgrel=2
+pkgdesc='Video player based on MPlayer/mplayer2'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='http://mpv.io'
+depends=(
+  'ffmpeg' 'lcms2' 'libdvdread' 'libcdio-paranoia' 'libquvi' 'libgl' 'enca'
+  'libxinerama' 'mpg123' 'libxv' 'libxkbcommon' 'libva' 'lirc-utils' 'wayland'
+  'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'lua' 'libdvdnav'
+  'libguess' 'portaudio'
+)
+makedepends=('mesa' 'python-docutils' 'ladspa')
+options=('!emptydirs' '!buildflags')
+install=mpv.install
+source=(https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz)
+md5sums=('8ce1e57224834d3d4ff7f6c3ecbeea82')
+
+prepare() {
+  cd $pkgname-$pkgver
+  ./bootstrap.py
+  sed -i 's/vendor-completions/site-functions/' wscript_build.py
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./waf configure --prefix=/usr \
+--confdir=/etc/mpv \
+--enable-joystick \
+--enable-zsh-comp \
+--enable-libmpv-shared \
+--enable-cdda \
+--enable-portaudio
+
+  ./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
+}


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

2014-07-23 Thread Bartłomiej Piotrowski
Date: Wednesday, July 23, 2014 @ 23:43:48
  Author: bpiotrowski
Revision: 116204

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 116203, mpv/trunk/PKGBUILD)
  mpv/repos/community-testing-i686/mpv.install
(from rev 116203, mpv/trunk/mpv.install)
  mpv/repos/community-testing-x86_64/
  mpv/repos/community-testing-x86_64/PKGBUILD
(from rev 116203, mpv/trunk/PKGBUILD)
  mpv/repos/community-testing-x86_64/mpv.install
(from rev 116203, mpv/trunk/mpv.install)

--+
 community-testing-i686/PKGBUILD  |   53 +
 community-testing-i686/mpv.install   |   12 +++
 community-testing-x86_64/PKGBUILD|   53 +
 community-testing-x86_64/mpv.install |   12 +++
 4 files changed, 130 insertions(+)

Copied: mpv/repos/community-testing-i686/PKGBUILD (from rev 116203, 
mpv/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2014-07-23 21:43:48 UTC (rev 116204)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski bpiotrow...@archlinux.org
+# Contributor: Eivind Uggedal eiv...@uggedal.com
+
+pkgname=mpv
+pkgver=0.4.1
+pkgrel=2
+pkgdesc='Video player based on MPlayer/mplayer2'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='http://mpv.io'
+depends=(
+  'ffmpeg' 'lcms2' 'libdvdread' 'libcdio-paranoia' 'libquvi' 'libgl' 'enca'
+  'libxinerama' 'mpg123' 'libxv' 'libxkbcommon' 'libva' 'lirc-utils' 'wayland'
+  'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'lua' 'libdvdnav'
+  'libguess' 'portaudio'
+)
+makedepends=('mesa' 'python-docutils' 'ladspa')
+options=('!emptydirs' '!buildflags')
+install=mpv.install
+source=(https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz)
+md5sums=('24dcff8c676388227b280a463f9a05d0')
+
+prepare() {
+  cd $pkgname-$pkgver
+  ./bootstrap.py
+  sed -i 's/vendor-completions/site-functions/' wscript_build.py
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./waf configure --prefix=/usr \
+--confdir=/etc/mpv \
+--enable-joystick \
+--enable-zsh-comp \
+--enable-libmpv-shared \
+--enable-cdda \
+--enable-portaudio
+
+  ./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-testing-i686/mpv.install (from rev 116203, 
mpv/trunk/mpv.install)
===
--- community-testing-i686/mpv.install  (rev 0)
+++ community-testing-i686/mpv.install  2014-07-23 21:43:48 UTC (rev 116204)
@@ -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-testing-x86_64/PKGBUILD (from rev 116203, 
mpv/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2014-07-23 21:43:48 UTC (rev 116204)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski bpiotrow...@archlinux.org
+# Contributor: Eivind Uggedal eiv...@uggedal.com
+
+pkgname=mpv
+pkgver=0.4.1
+pkgrel=2
+pkgdesc='Video player based on MPlayer/mplayer2'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='http://mpv.io'
+depends=(
+  'ffmpeg' 'lcms2' 'libdvdread' 'libcdio-paranoia' 'libquvi' 'libgl' 'enca'
+  'libxinerama' 'mpg123' 'libxv' 'libxkbcommon' 'libva' 'lirc-utils' 'wayland'
+  'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'lua' 'libdvdnav'
+  'libguess' 'portaudio'
+)
+makedepends=('mesa' 'python-docutils' 'ladspa')
+options=('!emptydirs' '!buildflags')
+install=mpv.install
+source=(https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz)
+md5sums=('24dcff8c676388227b280a463f9a05d0')
+
+prepare() {
+  cd $pkgname-$pkgver
+  ./bootstrap.py
+  sed -i 's/vendor-completions/site-functions/' wscript_build.py
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./waf configure --prefix=/usr \
+--confdir=/etc/mpv \
+--enable-joystick \
+--enable-zsh-comp \
+--enable-libmpv-shared \
+--enable-cdda \
+--enable-portaudio
+
+  ./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
+}


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

2014-01-14 Thread Bartłomiej Piotrowski
Date: Tuesday, January 14, 2014 @ 14:26:06
  Author: bpiotrowski
Revision: 103985

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

Added:
  mpv/repos/community-staging-i686/
  mpv/repos/community-staging-i686/PKGBUILD
(from rev 103984, mpv/trunk/PKGBUILD)
  mpv/repos/community-staging-i686/mpv.install
(from rev 103984, mpv/trunk/mpv.install)
  mpv/repos/community-staging-x86_64/
  mpv/repos/community-staging-x86_64/PKGBUILD
(from rev 103984, mpv/trunk/PKGBUILD)
  mpv/repos/community-staging-x86_64/mpv.install
(from rev 103984, mpv/trunk/mpv.install)

--+
 community-staging-i686/PKGBUILD  |   50 +
 community-staging-i686/mpv.install   |   12 +++
 community-staging-x86_64/PKGBUILD|   50 +
 community-staging-x86_64/mpv.install |   12 +++
 4 files changed, 124 insertions(+)

Copied: mpv/repos/community-staging-i686/PKGBUILD (from rev 103984, 
mpv/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2014-01-14 13:26:06 UTC (rev 103985)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski nos...@bpiotrowski.pl
+# Contributor: Eivind Uggedal eiv...@uggedal.com
+
+pkgname=mpv
+pkgver=0.3.2
+pkgrel=2
+pkgdesc='Video player based on MPlayer/mplayer2'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='http://mpv.io'
+depends=(
+ 'portaudio' 'ffmpeg' 'lcms2' 'libdvdread' 'libcdio-paranoia' 'libquvi'
+ 'libxinerama' 'mpg123' 'libxv' 'libxkbcommon' 'libva' 'lirc-utils'
+ 'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'lua' 
'libdvdnav'
+)
+makedepends=('mesa' 'python-docutils' 'waf')
+options=('!emptydirs' '!buildflags')
+install=mpv.install
+source=(https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz)
+md5sums=('516f2eeec1d1f69905d11c1feec8166e')
+
+build() {
+  cd $pkgname-$pkgver
+
+  waf configure --prefix=/usr \
+--confdir=/etc/mpv \
+--enable-joystick \
+--enable-wayland \
+--disable-radio \
+--disable-radio-capture \
+--disable-radio-v4l2 \
+--disable-libbs2b \
+--disable-direct3d \
+--disable-corevideo \
+--disable-cocoa \
+--disable-coreaudio
+  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 103984, 
mpv/trunk/mpv.install)
===
--- community-staging-i686/mpv.install  (rev 0)
+++ community-staging-i686/mpv.install  2014-01-14 13:26:06 UTC (rev 103985)
@@ -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/PKGBUILD (from rev 103984, 
mpv/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2014-01-14 13:26:06 UTC (rev 103985)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski nos...@bpiotrowski.pl
+# Contributor: Eivind Uggedal eiv...@uggedal.com
+
+pkgname=mpv
+pkgver=0.3.2
+pkgrel=2
+pkgdesc='Video player based on MPlayer/mplayer2'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='http://mpv.io'
+depends=(
+ 'portaudio' 'ffmpeg' 'lcms2' 'libdvdread' 'libcdio-paranoia' 'libquvi'
+ 'libxinerama' 'mpg123' 'libxv' 'libxkbcommon' 'libva' 'lirc-utils'
+ 'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'lua' 
'libdvdnav'
+)
+makedepends=('mesa' 'python-docutils' 'waf')
+options=('!emptydirs' '!buildflags')
+install=mpv.install
+source=(https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz)
+md5sums=('516f2eeec1d1f69905d11c1feec8166e')
+
+build() {
+  cd $pkgname-$pkgver
+
+  waf configure --prefix=/usr \
+--confdir=/etc/mpv \
+--enable-joystick \
+--enable-wayland \
+--disable-radio \
+--disable-radio-capture \
+--disable-radio-v4l2 \
+--disable-libbs2b \
+--disable-direct3d \
+--disable-corevideo \
+--disable-cocoa \
+--disable-coreaudio
+  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: 

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

2013-10-16 Thread Bartłomiej Piotrowski
Date: Wednesday, October 16, 2013 @ 22:24:06
  Author: bpiotrowski
Revision: 98686

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

Added:
  mpv/repos/community-i686/PKGBUILD
(from rev 98685, mpv/trunk/PKGBUILD)
  mpv/repos/community-i686/mpv.install
(from rev 98685, mpv/trunk/mpv.install)
  mpv/repos/community-x86_64/PKGBUILD
(from rev 98685, mpv/trunk/PKGBUILD)
  mpv/repos/community-x86_64/mpv.install
(from rev 98685, mpv/trunk/mpv.install)
Deleted:
  mpv/repos/community-i686/PKGBUILD
  mpv/repos/community-x86_64/PKGBUILD

--+
 /PKGBUILD|  112 +
 community-i686/PKGBUILD  |   53 ---
 community-i686/mpv.install   |   12 
 community-x86_64/PKGBUILD|   53 ---
 community-x86_64/mpv.install |   12 
 5 files changed, 136 insertions(+), 106 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2013-10-16 20:23:54 UTC (rev 98685)
+++ community-i686/PKGBUILD 2013-10-16 20:24:06 UTC (rev 98686)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer:  Bartłomiej Piotrowski nos...@bpiotrowski.pl
-# Contributor: Eivind Uggedal eiv...@uggedal.com
-
-pkgname=mpv
-pkgver=0.1.7
-pkgrel=3
-pkgdesc='Video player based on MPlayer/mplayer2'
-arch=('i686' 'x86_64')
-license=('GPL')
-url='http://mpv.io'
-depends=(
- 'portaudio' 'ffmpeg' 'lcms2' 'libdvdread' 'libcdio-paranoia' 
'libxinerama'
- 'libquvi' 'mpg123' 'libxv' 'libxkbcommon' 'libva' 'lirc-utils'
-)
-makedepends=('mesa' 'python-docutils')
-options=(!emptydirs)
-source=(https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz;)
-md5sums=('69185e255fe6e8b6b13dcf6ea9b2fefb')
-
-build() {
-  unset CFLAGS
-  unset LDFLAGS
-
-  cd $pkgname-$pkgver
-
-  ./configure --prefix=/usr \
---confdir=/etc/mpv \
---disable-lircc \
---disable-joystick \
---disable-radio \
---disable-radio-capture \
---disable-radio-v4l2 \
---disable-rpath \
---disable-libbs2b \
---disable-direct3d \
---disable-corevideo \
---disable-cocoa \
---disable-coreaudio
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make -j1 DESTDIR=$pkgdir install
-
-  install -d $pkgdir/usr/share/doc/mpv/examples
-  install -m644 etc/{input,example,encoding-example-profiles}.conf \
-$pkgdir/usr/share/doc/mpv/examples
-  install -m644 DOCS/{encoding.rst,tech-overview.txt} \
-$pkgdir/usr/share/doc/mpv
-  install -m755 TOOLS/mpv_identify.sh $pkgdir/usr/bin
-}

Copied: mpv/repos/community-i686/PKGBUILD (from rev 98685, mpv/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-10-16 20:24:06 UTC (rev 98686)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski nos...@bpiotrowski.pl
+# Contributor: Eivind Uggedal eiv...@uggedal.com
+
+pkgname=mpv
+pkgver=0.2.0
+pkgrel=1
+pkgdesc='Video player based on MPlayer/mplayer2'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='http://mpv.io'
+depends=(
+ 'portaudio' 'ffmpeg' 'lcms2' 'libdvdread' 'libcdio-paranoia' 
'libxinerama'
+ 'libquvi' 'mpg123' 'libxv' 'libxkbcommon' 'libva' 'lirc-utils'
+ 'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils'
+)
+makedepends=('mesa' 'python-docutils')
+options=(!emptydirs)
+install=mpv.install
+source=(https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz;)
+md5sums=('f86a6e99093b83717edded92ad8346b1')
+
+build() {
+  unset CFLAGS
+  unset LDFLAGS
+
+  cd $pkgname-$pkgver
+
+  ./configure --prefix=/usr \
+--confdir=/etc/mpv \
+--disable-lircc \
+--disable-joystick \
+--disable-radio \
+--disable-radio-capture \
+--disable-radio-v4l2 \
+--disable-rpath \
+--disable-libbs2b \
+--disable-direct3d \
+--disable-corevideo \
+--disable-cocoa \
+--disable-coreaudio
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make -j1 DESTDIR=$pkgdir install
+
+  install -d $pkgdir/usr/share/doc/mpv/examples
+  install -m644 etc/{input,example,encoding-example-profiles}.conf \
+$pkgdir/usr/share/doc/mpv/examples
+  install -m644 DOCS/{encoding.rst,tech-overview.txt} \
+$pkgdir/usr/share/doc/mpv
+
+  #install -Dm644 etc/mpv.desktop $pkgdir/usr/share/applications/mpv.desktop
+}

Copied: mpv/repos/community-i686/mpv.install (from rev 98685, 
mpv/trunk/mpv.install)
===
--- community-i686/mpv.install  (rev 0)
+++ community-i686/mpv.install  2013-10-16 20:24:06 UTC (rev 98686)
@@ -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
+}

Deleted: community-x86_64/PKGBUILD