[arch-commits] Commit in mutter/trunk (PKGBUILD mutter.install)

Jan Steffens heftig at archlinux.org
Tue Jun 4 18:29:57 UTC 2019


    Date: Tuesday, June 4, 2019 @ 18:29:57
  Author: heftig
Revision: 354842

3.32.2+5+g13a1624c1-2: rt-scheduler

Added:
  mutter/trunk/mutter.install
Modified:
  mutter/trunk/PKGBUILD

----------------+
 PKGBUILD       |    6 +++++-
 mutter.install |    7 +++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-04 18:26:32 UTC (rev 354841)
+++ PKGBUILD	2019-06-04 18:29:57 UTC (rev 354842)
@@ -4,7 +4,7 @@
 
 pkgname=mutter
 pkgver=3.32.2+5+g13a1624c1
-pkgrel=1
+pkgrel=2
 pkgdesc="A window manager for GNOME"
 url="https://gitlab.gnome.org/GNOME/mutter"
 arch=(x86_64)
@@ -15,6 +15,7 @@
 makedepends=(gobject-introspection git egl-wayland meson xorg-server)
 checkdepends=(xorg-server-xvfb)
 groups=(gnome)
+install=mutter.install
 _commit=13a1624c1050c91cd4d8a298f7a10fafe56fe9e5  # gnome-3-32
 source=("git+https://gitlab.gnome.org/GNOME/mutter.git#commit=$_commit")
 sha256sums=('SKIP')
@@ -26,6 +27,9 @@
 
 prepare() {
   cd $pkgname
+
+  # rt-scheduler experimental feature
+  git cherry-pick -n dae2c1d420ed272710ac55b7a00f6787e5c0e762
 }
 
 build() {

Added: mutter.install
===================================================================
--- mutter.install	                        (rev 0)
+++ mutter.install	2019-06-04 18:29:57 UTC (rev 354842)
@@ -0,0 +1,7 @@
+post_install() {
+  setcap cap_sys_nice+ep usr/bin/mutter
+}
+
+post_upgrade() {
+  post_install
+}


More information about the arch-commits mailing list