summaryrefslogtreecommitdiffstats
path: root/gnome-shell/Pkgfile
blob: 9eeb99f6d4b79e050b95692f960fdaf0e13e1bdb (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
# Description: Le GNOME Shell nouvelle génération
# URL: http://live.gnome.org/GnomeShell
# Maintainer: NuTyX GNOME team
# Packager: piernov <piernov@piernov.org>
# Depends on: gconf, dconf, gnome-menus, gnome-desktop, libcroco, libcanberra, polkit-gnome, gobject-introspection, evolution-data-server, gst-plugins-base, gst-plugins-good, gstreamer, mutter, gjs, telepathy-glib, telepathy-logger, gnome-doc-utils, gnome-power-manager, network-manager-applet, libpulse
# Run on: gconf, dconf, gnome-menus, gnome-desktop, libcroco, libcanberra, polkit-gnome, gobject-introspection, evolution-data-server, gst-plugins-base, gst-plugins-good, gstreamer, mutter, gjs, telepathy-glib, telepathy-logger, gnome-power-manager, network-manager-applet,libpulse

name=gnome-shell
version=3.1.4
release=2
source=(http://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz
	favorite-apps.patch
	gnome-menus3-new-api.patch)

build() {
	cd $name-$version
	patch -p1 < ../favorite-apps.patch
	patch -p1 < ../gnome-menus3-new-api.patch
	autoconf
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/gnome-shell \
		--localstatedir=/var \
		--disable-schemas-compile
	make
	make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=$PKG install

	install -m755 -d $PKG/usr/share/gconf/schemas
	gconf-merge-schema $PKG/usr/share/gconf/schemas/$name.schemas --domain $name $PKG/etc/gconf/schemas/*.schemas
	rm -f $PKG/etc/gconf/schemas/*.schemas

        rm -rf $PKG/usr/share/gtk-doc
}