summaryrefslogtreecommitdiffstats
path: root/main/nautilus/APKBUILD
blob: 2d46568fc41a88df42fd144bea480ca7316f35c6 (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
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=nautilus
pkgver=2.32.2.1
pkgrel=1
pkgdesc="GNOME file manager"
url="http://projects.gnome.org/nautilus"
arch="all"
license="GPL"
depends="zenity"
depends_dev="gtk+-dev
	     gconf-dev
	     libx11-dev
	     gnome-doc-utils
	     libgnome-dev
	     gnome-desktop-dev
	     libwnck-dev
	     librsvg-dev
	     libunique-dev

	     libxcursor-dev
	     libxcomposite-dev
	     libxi-dev
	     libxau-dev
	     libxdmcp-dev
	     libxext-dev
	     libxcb-dev"
makedepends="$depends_dev intltool gobject-introspection-dev"
install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-upgrade"
subpackages="$pkgname-dev $pkgname-lang"
source="ftp://ftp.gnome.org/pub/GNOME/sources/${pkgname}/2.32/${pkgname}-${pkgver}.tar.bz2
001-filepeek-crash.patch
002-automounting-locked-screen.patch
003-filename-null.patch
004-memory-leak.patch
005-gbus-assertion.patch
006-select-extension.patch
007-tracker0.10-compat.patch
009-default-directories.patch
010-localpath-preview.patch
011-keyboard-navigation.patch
g_const_return.patch
gmodule-underlinking.patch
"

_builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"

	export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
	make DESTDIR="$pkgdir" install || return 1

	rm -rf ${pkgdir}/usr/share/mime
	find "$pkgdir" -name '*.la' -delete
}

md5sums="f75f387d1b439079967581d876009426  nautilus-2.32.2.1.tar.bz2
87c2769bea06fd209df8e2be8d86c1b7  001-filepeek-crash.patch
da51f2247159159a2f6233890592a733  002-automounting-locked-screen.patch
862f0185ff5e0009db62025875364536  003-filename-null.patch
844a3fa31f6247c4f740e1d5de77f19f  004-memory-leak.patch
196905aa07cf2a6de523451ec95283c2  005-gbus-assertion.patch
624d3cf12d5152d947dd1217ff5c1fc9  006-select-extension.patch
14ff9cb78537873b652c5cc487dce9eb  007-tracker0.10-compat.patch
14c422dec12c5ca953ec7f6fc91861d1  009-default-directories.patch
75ea4e2ce64d8220ae82e386a9554d50  010-localpath-preview.patch
1ca1703fffb82f53b5278b20f86656c0  011-keyboard-navigation.patch
69329cf155b211d6143fcdc68a8695bf  g_const_return.patch
7e3c1434d5530a86630cc6c1d43149e3  gmodule-underlinking.patch"