updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / kdebase-workspace-ggl / PKGBUILD
blob6e2406cbc9ab5aa7284d43eb1be695d592bbe509
1 # $Id: PKGBUILD 133463 2011-07-28 09:27:47Z andrea $
2 # Maintainer: Andrea Scarpino <andrea@archlinux.org>
3 # Contributor: Pierre Schmitz <pierre@archlinux.de>
5 pkgname=kdebase-workspace-ggl
6 _pkgname=kde-workspace
7 pkgver=4.7.0
8 pkgrel=2
9 pkgdesc="KDE Base Workspace"
10 arch=('i686' 'x86_64')
11 url='http://www.kde.org'
12 license=('GPL' 'LGPL' 'FDL')
13 groups=('kde')
14 # note on libxdamage:
15 #       not detected by namcap because libgl depends on it
16 #       but nvidia providing libgl does not depend on libxdamage
17 depends=('kdepim-runtime' 'lm_sensors' 'libraw1394'  'libqalculate' 'qimageblitz'
18          'polkit-kde' 'consolekit' 'xorg-xprop' 'libxdamage' 'libxklavier' 'libdmtx'
19          'xorg-xsetroot' 'libxcomposite' 'libxinerama')
20 makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost' 'kdebindings-python')
21 optdepends=('kde-wallpapers: officials KDE wallapers')
22 replaces=('kdmtheme' 'kde-common' 'guidance-power-manager' 'policykit-kde' 'kdebase-kinfocenter')
23 conflicts=('kde-common' 'guidance-power-manager' 'policykit-kde' 'kdebase-kinfocenter')
24 install="${pkgname}.install"
25 options=('emptydirs')
26 source=("http://download.kde.org/stable/${pkgver}/src/${_pkgname}-${pkgver}.tar.bz2"
27         'kdm-zsh-profile.patch' 'kdm' 'kde.pam' 'kde-np.pam' 'kscreensaver.pam'
28         'fixpath.patch' 'terminate-server.patch')
30 build() {
31         cd ${srcdir}/${_pkgname}-${pkgver}
32         patch -p0 -i ${srcdir}/kdm-zsh-profile.patch
33         patch -p0 -i ${srcdir}/fixpath.patch
34         patch -p0 -i ${srcdir}/terminate-server.patch
36         cd ${srcdir}
37         mkdir build
38         cd build
39         cmake ../${_pkgname}-${pkgver} \
40         -DCMAKE_BUILD_TYPE=Release \
41         -DCMAKE_SKIP_RPATH=ON \
42         -DCMAKE_INSTALL_PREFIX=/usr \
43         -DWITH_Xmms=OFF \
44         -DWITH_Googlegadgets=On \
45         -DWITH_libgps=OFF \
46         -DWITH_Prison=OFF \
47         -DWITH_NetworkManager=OFF \
48         -DKWIN_MOBILE_EFFECTS=OFF \
49         -DWITH_OpenGLES=OFF \
50         -DKWIN_BUILD_WITH_OPENGLES=OFF
52         make plasma_package_ggl plasma_scriptengine_ggl
55 package() {
56         cd "$srcdir/build"
57         export DESTDIR=${pkgdir}
58         cmake -P plasma/generic/scriptengines/google_gadgets/cmake_install.cmake
60 sha1sums=('cbc61a20013c746f424681020c29480c6249fd10'
61           '8c2bdefb23a03b753b78d16944d03fa3939d2d99'
62           '5db3a245201bd4a50e65aa2ef583cf5490e4f646'
63           'f7b38af38549242a240f1a90ab9964ca8a366129'
64           '603cc79c4d2b4eae62bb5f244aeecb3a778b5516'
65           '106635aa1aae51d6f0668b1853f6c49a4fe9d3d8'
66           'd7b5883f7e65c6839b1f65f94d58026673dd0226'
67           'ac7bc292c865bc1ab8c02e6341aa7aeaf1a3eeee')
68 sha1sums=('cbc61a20013c746f424681020c29480c6249fd10'
69           '8c2bdefb23a03b753b78d16944d03fa3939d2d99'
70           '5db3a245201bd4a50e65aa2ef583cf5490e4f646'
71           'f7b38af38549242a240f1a90ab9964ca8a366129'
72           '603cc79c4d2b4eae62bb5f244aeecb3a778b5516'
73           '106635aa1aae51d6f0668b1853f6c49a4fe9d3d8'
74           'd7b5883f7e65c6839b1f65f94d58026673dd0226'
75           'ac7bc292c865bc1ab8c02e6341aa7aeaf1a3eeee')