blob: 2e8b310d81cb91cf9a72a3532219f90b2726a7c5 (
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
|
# $Id$
# Contributor: Ionut Biru <ibiru@archlinux.org>
# Contributor: Flamelab <panosfilip@gmail.com
pkgname=gnome-shell-tweener-fix
pkgver=3.28.2
pkgrel=1
pkgdesc="The next generation GNOME Shell"
url="https://wiki.gnome.org/Projects/GnomeShell"
arch=(x86_64)
license=(GPL2)
real_pkgname=gnome-shell
provides=(${real_pkgname}=${pkgver})
depends=(accountsservice gcr gjs gnome-bluetooth upower gnome-session gnome-settings-daemon
gnome-themes-extra gsettings-desktop-schemas libcanberra-pulse libcroco libgdm libsecret
mutter nm-connection-editor unzip gstreamer libibus)
makedepends=(gtk-doc gnome-control-center evolution-data-server gobject-introspection git meson
sassc)
optdepends=('gnome-control-center: System settings'
'evolution-data-server: Evolution calendar integration')
groups=(gnome)
_commit=c70b18764b2658849b170c897ce4c423a118d7f2 # tags/3.28.2^0
source=("git+https://gitlab.gnome.org/GNOME/gnome-shell.git#commit=$_commit"
"git+https://git.gnome.org/browse/libgnome-volume-control"
"tweener-fix.patch")
sha256sums=('SKIP'
'SKIP'
'SKIP')
conflicts=(${real_pkgname})
provides=(${real_pkgname})
pkgver() {
cd $real_pkgname
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $real_pkgname
# Move the plugin to our custom epiphany-only dir
sed -i "s/'mozilla'/'epiphany'/g" meson.build
patch -Np1 -i ../tweener-fix.patch
git submodule init
git config --local submodule.subprojects/gvc.url "$srcdir/libgnome-volume-control"
git submodule update
}
build() {
arch-meson $real_pkgname build -D gtk_doc=true
ninja -C build
}
package() {
DESTDIR="$pkgdir" ninja -C build install
# Must exist; FS#37412
mkdir "$pkgdir/usr/share/gnome-shell/modes"
}
|