summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f1be445a61161177cc8bd5029d4da62d38106c8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Ionut Biru <ibiru@archlinux.org>
# Contributor: Michael Kanis <mkanis@gmx.de>

pkgname=libmutter2
pkgver=3.28.4
pkgrel=1
pkgdesc='A window manager library for GNOME'
url=https://gitlab.gnome.org/GNOME/mutter
arch=(x86_64)
license=(GPL)
depends=(
  atk
  cairo
  dconf
  fontconfig
  gdk-pixbuf2
  glib2
  gnome-desktop
  gnome-settings-daemon
  gobject-introspection-runtime
  gtk3
  json-glib
  libcanberra
  libdrm
  libfreetype.so
  libgl
  libgudev-1.0.so
  libice
  libinput
  libsm
  libsystemd.so
  libudev.so
  libvorbisfile.so
  libwacom
  libx11
  libxcb
  libxcomposite
  libxcursor
  libxdamage
  libxext
  libxfixes
  libxi
  libxinerama
  libxkbcommon
  libxkbcommon-x11
  libxkbfile
  libxrandr
  libxrender
  libxtst
  mesa
  pango
  startup-notification
  tdb
  upower
  wayland
  zenity
)
makedepends=(
  egl-wayland
  git
  gobject-introspection
  intltool
)
source=(git+https://gitlab.gnome.org/GNOME/mutter.git#tag=${pkgver})
sha256sums=(SKIP)

prepare() {
  cd mutter

  NOCONFIGURE=1 ./autogen.sh
}

build() {
  cd mutter

  ./configure \
    --prefix=/usr \
    --includedir=/usr/include/mutter-2 \
    --disable-gtk-doc \
    --disable-schemas-compile \
    --disable-remote-desktop \
    --disable-static \
    --enable-compile-warnings=minimum \
    --enable-egl-device

  make
}

package() {
  make DESTDIR="${pkgdir}" -C mutter install
  rm -rf ${pkgdir}/usr/{bin,lib/mutter/plugins/default.so,libexec,share}
}

# vim: ts=2 sw=2 et: