blob: 1eef10aa0b2b5d1796f082cb051d1d2e175a8449 (
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
|
# $Id: PKGBUILD 88820 2013-04-23 01:21:30Z bgyorgy $
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=metacity
pkgver=2.34.13
pkgrel=5
pkgdesc="Legacy GNOME window manager"
arch=('i686' 'x86_64')
license=('GPL')
depends=('dconf' 'libcanberra' 'libgtop' 'gsettings-desktop-schemas' 'gtk2' 'startup-notification' 'zenity')
makedepends=('intltool' 'itstool')
url="https://live.gnome.org/Metacity"
options=('!libtool')
install=metacity.install
source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
fix_compositing_startup.patch
fix_force_quit.patch
fix_shadows.patch
enable_compositing.patch
application-switcher.patch)
sha256sums=('8cf4dbf0da0a6f36357ce7db7f829ec685908a7792453c662fb8184572b91075'
'5094a0ffe3eb8289ed752829877c2e1b743eddf938ad3fc92fb4574b42765ae2'
'917760ac3375894ebb4052dfc7c8dff1ac556fb81033d7a7caf02123ceede50d'
'a0981477e9b3fd108fd03b7637bfd1f17a1f6cb13ec703d86b424b55076096f3'
'e53c1c20e19cd3d94d05d08045c7a9a373ce52051928ccc69bf3068081f30f9a'
'177ded8203c3ff25f59a24445145cb54da9aba4216a0014c34979b7c12f3c099')
build() {
cd "$pkgname-$pkgver"
# https://bugzilla.gnome.org/show_bug.cgi?id=658036
patch -Np1 -i "$srcdir/fix_compositing_startup.patch"
# https://bugzilla.gnome.org/show_bug.cgi?id=687938
patch -Np1 -i "$srcdir/fix_force_quit.patch"
# https://bugzilla.gnome.org/show_bug.cgi?id=648340
patch -Np1 -i "$srcdir/fix_shadows.patch"
# Enable compositing by default (required for the desktop rendering feature of nautilus)
patch -Np1 -i "$srcdir/enable_compositing.patch"
# Rename switch-windows to switch-applications (required for GNOME 3.8 compatibility)
patch -Np1 -i "$srcdir/application-switcher.patch"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
--disable-static --disable-schemas-compile
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}
|