summaryrefslogtreecommitdiff
path: root/community/mpv/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mpv/PKGBUILD')
-rw-r--r--community/mpv/PKGBUILD15
1 files changed, 11 insertions, 4 deletions
diff --git a/community/mpv/PKGBUILD b/community/mpv/PKGBUILD
index 39e1bd0c1..8f1703791 100644
--- a/community/mpv/PKGBUILD
+++ b/community/mpv/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 103267 2014-01-01 22:33:16Z bpiotrowski $
+# $Id: PKGBUILD 103275 2014-01-02 08:50:55Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Eivind Uggedal <eivind@uggedal.com>
pkgname=mpv
pkgver=0.3.1
-pkgrel=1
+pkgrel=2
pkgdesc='Video player based on MPlayer/mplayer2'
arch=('i686' 'x86_64')
license=('GPL')
@@ -17,8 +17,15 @@ depends=(
makedepends=('mesa' 'python-docutils' 'waf')
options=('!emptydirs' '!buildflags')
install=mpv.install
-source=(https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz)
-md5sums=('f7e4091eb9ce058ce35b4bc1b6c4f3a2')
+source=(https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz
+ mpv-0.3.1-always_respect_sector_size.patch)
+md5sums=('f7e4091eb9ce058ce35b4bc1b6c4f3a2'
+ 'afe01937e9bff1f241d37774eda39b7a')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p1 -i ../mpv-0.3.1-always_respect_sector_size.patch
+}
build() {
cd $pkgname-$pkgver