blob: 137090b632abc5cf8ae6b1ce4e3501e5ebca3179 (
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
|
# $Id: PKGBUILD 198025 2013-10-30 12:20:39Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Arjan Timmerman <arjan@soulfly.nl>
# Contributor: Wael Nasreddine <gandalf@siemens-mobiles.org>
pkgbase=gnome-python-desktop
pkgname=('gnome-python-desktop' 'python2-gnomedesktop' 'python2-gnomekeyring' 'python2-gtop' 'python2-rsvg' 'python2-totem-plparser' 'python2-wnck')
pkgver=2.32.0
pkgrel=14
arch=(i686 x86_64 'mips64el')
license=('GPL' 'LGPL')
makedepends=('intltool' 'pkg-config' 'gnome-python' 'libgtop' 'totem-plparser' 'gnome-desktop2' 'librsvg' 'libwnck')
url="http://www.gnome.org"
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgbase}/2.32/${pkgbase}-${pkgver}.tar.bz2
01_wnck_enums.patch)
sha256sums=('09dbd580bf3b0ef60f91b090eafe6d08ddcc50a609e2b425a7f8eca46d4e0ee9'
'bb51a303bc745f13f9386c734c0467267a19cb193c330eff0b7d39aad0edb1c1')
prepare() {
cd $pkgbase-$pkgver
patch -Np1 -i ../01_wnck_enums.patch
}
build() {
cd $pkgbase-$pkgver
PYTHON=/usr/bin/python2 ./configure --prefix=/usr --disable-metacity
make
}
package_gnome-python-desktop() {
depends=('python2-gnomedesktop' 'python2-gnomekeyring' 'python2-gtop' 'python2-rsvg' 'python2-totem-plparser' 'python2-wnck' 'gnome-python')
pkgdesc="Python bindings for the GNOME desktop environment"
cd $pkgbase-$pkgver
make install-pkgconfigDATA DESTDIR="${pkgdir}"
}
package_python2-gnomedesktop() {
depends=('pygtk' 'gnome-desktop2' 'python2-gnomevfs')
pkgdesc="Python bindings for gnome-desktop 2.x"
conflicts=('python-gnomedesktop<=2.32.0-10')
replaces=('python-gnomedesktop<=2.32.0-10')
cd $pkgbase-$pkgver
make -C gnomedesktop install DESTDIR="${pkgdir}"
}
package_python2-gnomekeyring() {
depends=('pygtk' 'libgnome-keyring')
pkgdesc="Python bindings for libgnome-keyring"
conflicts=('python-gnomekeyring<=2.32.0-10')
replaces=('python-gnomekeyring<=2.32.0-10')
cd $pkgbase-$pkgver
make -C gnomekeyring install DESTDIR="${pkgdir}"
}
package_python2-gtop() {
depends=('pygtk' 'libgtop')
pkgdesc="Python bindings for libgtop"
conflicts=('python-gtop<=2.32.0-10')
replaces=('python-gtop<=2.32.0-10')
cd $pkgbase-$pkgver
make -C gtop install DESTDIR="${pkgdir}"
}
package_python2-rsvg() {
depends=('pygtk' 'librsvg')
pkgdesc="Python bindings for librsvg"
conflicts=('python-rsvg<=2.32.0-10')
replaces=('python-rsvg<=2.32.0-10')
cd $pkgbase-$pkgver
make -C rsvg install DESTDIR="${pkgdir}"
install -m755 -d "${pkgdir}/usr/share/pygtk/2.0/defs"
install -m644 rsvg/rsvg.defs "${pkgdir}/usr/share/pygtk/2.0/defs/"
}
package_python2-totem-plparser() {
depends=('pygtk' 'totem-plparser' 'python2-gnomevfs')
pkgdesc="Python bindings for totem-plparser"
conflicts=('python-totem-plparser<=2.32.0-10')
replaces=('python-totem-plparser<=2.32.0-10')
cd $pkgbase-$pkgver
make -C totem install DESTDIR="${pkgdir}"
install -m755 -d "${pkgdir}/usr/share/pygtk/2.0/defs"
install -m644 totem/plparser.defs "${pkgdir}/usr/share/pygtk/2.0/defs/"
}
package_python2-wnck() {
depends=('pygtk' 'libwnck')
pkgdesc="Python bindings for libwnck"
conflicts=('python-wnck<=2.32.0-10')
replaces=('python-wnck<=2.32.0-10')
cd $pkgbase-$pkgver
make -C wnck install DESTDIR="${pkgdir}"
}
|