aboutsummaryrefslogtreecommitdiffstats
path: root/main/gnome-system-monitor/APKBUILD
blob: d646eb8bd92ac47e0304f85337d07e6bc12544fd (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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=gnome-system-monitor
pkgver=2.28.2
pkgrel=6
pkgdesc="GNOME system monitor"
url="http://www.gnome.org"
arch="all"
license="GPL"
depends=
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

	     libgtop-dev
	     libgnomekbd-dev
	     libxklavier-dev

	     gtkmm-dev
	     glibmm-dev"
makedepends="$depends_dev intltool gobject-introspection-dev desktop-file-utils gnome-icon-theme"
install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-upgrade"
subpackages="$pkgname-lang"
source="ftp://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2
001-duplicate-label.patch
002-replace-gtknotebookpage.patch
003-replace-old-drawing.patch
004-replace-dialog-set.patch
005-replace-gdk_drawable.patch
006-fix-includes.patch
007-deprecated-gconf_init.patch
008-rsvg-fix.patch
009-add-close-button.patch
010-cpu-model-arm.patch
011-max-nice-linux.patch
link-gmodule.patch
musl-ni-idn.patch
"

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

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

package() {
	cd "$_builddir"

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

md5sums="3f0bca9b0ebc7a365466851cd580d167  gnome-system-monitor-2.28.2.tar.bz2
c13e170cc9f420cfe910bb4d9b262c73  001-duplicate-label.patch
3d4a0f8703322ab7ae905480476ec0b8  002-replace-gtknotebookpage.patch
da523fdfb5973530c65004d7efb6bb07  003-replace-old-drawing.patch
08a6a43c1475f919bddb7c8ab80f2b8a  004-replace-dialog-set.patch
cfbed825106e8ab50ec4ee2e7bc3ddab  005-replace-gdk_drawable.patch
444412a8e6022a77917a4d6c3bef40c1  006-fix-includes.patch
a30694c6790c06336b81ac86b8c3f494  007-deprecated-gconf_init.patch
4e653f81b534753b995e6587e470bda8  008-rsvg-fix.patch
cd900e83ba75892979ad32c2c7779724  009-add-close-button.patch
674e96dd3967fda8a26acbcf719b8914  010-cpu-model-arm.patch
6ffce80f40adeb53862762a55b638c18  011-max-nice-linux.patch
5f3f590af871a78202c8ce54b83d10c4  link-gmodule.patch
6b447b1b12bc436f3577b218d4a75257  musl-ni-idn.patch"
sha256sums="b628edfd39e3a6b374ce133f367d3568475eb4e981a367f4f9d62a9784e5ae59  gnome-system-monitor-2.28.2.tar.bz2
7c3b93e88524d60e4fae0e744e3930122a04155908fa7cb111b4907b58fbba5c  001-duplicate-label.patch
90b5cd1ab392834b031ae2bdca55c0b996cab9dfdc2c18c0a9b93662dd9e68e0  002-replace-gtknotebookpage.patch
6a30445a7f03e811170c5546ef59f2b22ea3b785a4df4c3a48a8ca84aee40fe9  003-replace-old-drawing.patch
58fbdc8c94ef8805939d07c4045cb98cb956cde9035e592bd991c4810e5b05be  004-replace-dialog-set.patch
027378f3f75555c151c9a78a29e536476c66403405989057cb1ea8b9e3a48435  005-replace-gdk_drawable.patch
f331aa3e71bb9005f856816b9001c29accfad8348f42a65c6c4461b57c6a8ddd  006-fix-includes.patch
a36c0ddeb77a17983916c8f6eb1b595c7b68d91456d1e9174d16ba541431815d  007-deprecated-gconf_init.patch
9a37f71f7254885c05aec023734978e824b60c17924524e7daa12e8ffaf67671  008-rsvg-fix.patch
6fd98ef29d5300a8fa1c952891c78008b838c69d7914043672b06c319045d21c  009-add-close-button.patch
e1a11e94c25acd6620b878792813a610b6e875f91eac9903894b017d9428ffe6  010-cpu-model-arm.patch
bb90241bc8e68b2a0d0317d449686642cbef30462a6e0e3d466bab31c41cfd5d  011-max-nice-linux.patch
a0e21a7ae0d9350cd6036a69d3c3aa27733c68a591ab22ecfdc18d68356a9eea  link-gmodule.patch
be09b9d5356dddce7660686b7aa4833a334e324f5168e7963ba70c4197a700c4  musl-ni-idn.patch"
sha512sums="41d77fa9055ecfa1b379d7fd35c8f6401773f07a640f0b11e787cc985387d264cdb718aa0eed68e8b54f74abd301a98dbe8360160bda1e8e33459f83b3426e27  gnome-system-monitor-2.28.2.tar.bz2
b09ad0f544483538e06fa0111f03901360fb55248046a9af0a6792808b8522369c0833d08bb7054a888827989813ffa664fc506e683523a2424fa8c7ab81dccc  001-duplicate-label.patch
16244aef266cb143d80ee7ae4f4f5bc711008b788ea55e131801ad1b98deddad590f8e046e94aeab3abf991ed1449391262d2c08914237f98ecfdf4b3c4f2ece  002-replace-gtknotebookpage.patch
b821c8443bfa369435e72851799493f3df3a960abca1ad20ad55a5453bf20dc2b77d3be8c0778e70eadb4f6229a2ea4d73bd0bbec20de3215d46da93c5060603  003-replace-old-drawing.patch
82faea5a61227ec6cf8ad488bdcb10b28a24e94441c247673a3497dc104eb3c31f8e905974b5cd8c869f96f5c82d5205d4e147ac1d39d42def161d1ce10f3933  004-replace-dialog-set.patch
53d542fb8cd1823a8c0d3786a1a1650d13591350d8f277c7195c107e6905b8780abc4a12b2b20b04917709fc735e1597a7fda9621db916e078d5ac2f3fedafbd  005-replace-gdk_drawable.patch
618dfe6ecb84463eda98db979f933fd87e7862ef155b5c856d01bcf3dc5d468022f9bb3461dfef1ac930c44104b5b29bcf3137d7130d603561569687e7406019  006-fix-includes.patch
ba5686a66a2c1ec9338afd2c78ad21bdda9e5a1582d8c8fa0f885bf51ed84ce462e9db41a836ff8170d24ad8496831058d7fa11a963414c46c79e1ec6f1b65ec  007-deprecated-gconf_init.patch
397a77507f8cb5ae085e5180962d637687921a16195e356cc88606c8809a3be6768a1c11a8cc273990729cb9d717039bac7113eb846620b1342b18f0fb45082f  008-rsvg-fix.patch
3a6a7530ec26494514cd6a97172ccb8bbaa04aa1fd357ecb020689be25ed63fa2f6ef482efc459d4cf3254537429cd9302718ea005576e9d7fb66fafc064a97d  009-add-close-button.patch
489aeb049344a940fd0b48729162ea0817533c788be1dd2875527c44fcdb9f69dfcfa11efd9da706ce9210a3fefd295b4fa91832e1b48754443304fbf51fa457  010-cpu-model-arm.patch
24cc61c5f3c7b6253e50d4e64d5d5de30fc19ba7dfe0009dbaffec56a3db41a64379308be0b16d043de5ec17adcfb4b4c847c8fa589174a32e46142ed5633adb  011-max-nice-linux.patch
83d1dea183a49f5c5d2efd6fbc06ba88b39c219ec0cfe0014d95ef0086565995701c40151a4480441ef30f2db7e4ce339d5d29a13f0a6889233e7203916896b1  link-gmodule.patch
120c20afe40c62ce2e6f257f17feb1794486664ba5baefe1f3568eeb7d77f40648b27aa524620600d36139a74a94a2422b4a89b08332a1286f9319e30df7d467  musl-ni-idn.patch"