[arch-commits] Commit in mpv/trunk (PKGBUILD)
Christian Hesse
eworm at archlinux.org
Sun Apr 3 18:34:43 UTC 2016
Date: Sunday, April 3, 2016 @ 20:34:43
Author: eworm
Revision: 169408
upgpkg: mpv 1:0.16.0-2
* add waf build script to source array (was downloaded by bootstrap.py
before... Maybe move waf package from AUR to [community]?)
* x11: do not set _NET_WM_BYPASS_COMPOSITOR by default (FS#48762 - [mpv]
disables KWin compositing after upgrade for KWin 5.6)
Modified:
mpv/trunk/PKGBUILD
----------+
PKGBUILD | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-04-03 18:24:46 UTC (rev 169407)
+++ PKGBUILD 2016-04-03 18:34:43 UTC (rev 169408)
@@ -6,7 +6,8 @@
pkgname=mpv
epoch=1
pkgver=0.16.0
-pkgrel=1
+pkgrel=2
+_waf_version=1.8.12
pkgdesc='Video player based on MPlayer/mplayer2'
arch=('i686' 'x86_64')
license=('GPL')
@@ -21,12 +22,23 @@
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=('fc3619de0ede16fbb023ac72589090e8e77fd9d9e03a81adc728105d50ef38ba')
+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}"
+ 'mpv-x11-do-not-set-set-_NET_WM_BYPASS_COMPOSITOR-by-default.patch::https://github.com/mpv-player/mpv/commit/2720e60ad00ff7cce1d80724bbd4b2b981748195.patch')
+sha256sums=('fc3619de0ede16fbb023ac72589090e8e77fd9d9e03a81adc728105d50ef38ba'
+ '01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b'
+ 'eb44faeddb707d2cee26eb844876e4594277e46454393defe6f6608f9a4362e5')
prepare() {
cd ${pkgname}-${pkgver}
+ install -m755 "${srcdir}"/waf-${_waf_version} waf
+
+ # https://bugs.archlinux.org/task/48762
+ # https://github.com/mpv-player/mpv/issues/2997
+ # https://github.com/mpv-player/mpv/commit/2720e60ad00ff7cce1d80724bbd4b2b981748195
+ patch -Np1 < "${srcdir}"/mpv-x11-do-not-set-set-_NET_WM_BYPASS_COMPOSITOR-by-default.patch
+
./bootstrap.py
}
More information about the arch-commits
mailing list