[arch-commits] Commit in mpv/repos (4 files)
Bartłomiej Piotrowski
bpiotrowski at nymeria.archlinux.org
Sat Aug 31 20:42:03 UTC 2013
Date: Saturday, August 31, 2013 @ 22:42:03
Author: bpiotrowski
Revision: 96561
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 96560, mpv/trunk/PKGBUILD)
mpv/repos/community-testing-x86_64/
mpv/repos/community-testing-x86_64/PKGBUILD
(from rev 96560, mpv/trunk/PKGBUILD)
-----------------------------------+
community-testing-i686/PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++
community-testing-x86_64/PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++
2 files changed, 100 insertions(+)
Copied: mpv/repos/community-testing-i686/PKGBUILD (from rev 96560, mpv/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-08-31 20:42:03 UTC (rev 96561)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
+# Contributor: Eivind Uggedal <eivind at uggedal.com>
+
+pkgname=mpv
+pkgver=0.1.4
+pkgrel=3
+pkgdesc='Video player based on MPlayer/mplayer2'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='http://mpv.io'
+depends=('portaudio' 'ffmpeg' 'lcms2' 'libxinerama' 'libquvi' 'mpg123' 'libxv' 'libxkbcommon' 'libva')
+makedepends=('mesa' 'python2-docutils')
+options=(!emptydirs)
+source=("https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz")
+md5sums=('7a0ff10fb0c6a2a8c176d40883eb09d4')
+
+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-testing-x86_64/PKGBUILD (from rev 96560, mpv/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2013-08-31 20:42:03 UTC (rev 96561)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
+# Contributor: Eivind Uggedal <eivind at uggedal.com>
+
+pkgname=mpv
+pkgver=0.1.4
+pkgrel=3
+pkgdesc='Video player based on MPlayer/mplayer2'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='http://mpv.io'
+depends=('portaudio' 'ffmpeg' 'lcms2' 'libxinerama' 'libquvi' 'mpg123' 'libxv' 'libxkbcommon' 'libva')
+makedepends=('mesa' 'python2-docutils')
+options=(!emptydirs)
+source=("https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz")
+md5sums=('7a0ff10fb0c6a2a8c176d40883eb09d4')
+
+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
+}
More information about the arch-commits
mailing list