summaryrefslogtreecommitdiff
path: root/extra/kdeaccessibility/PKGBUILD
blob: 5943c4d47b0341ea8a6bf3c699172a61b049f13e (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
# $Id: PKGBUILD 132588 2011-07-25 00:13:13Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>

pkgbase=kdeaccessibility
pkgname=('kdeaccessibility-jovie'
         'kdeaccessibility-kaccessible'
         'kdeaccessibility-kmag'
         'kdeaccessibility-kmousetool'
         'kdeaccessibility-kmouth')
pkgver=4.7.0
pkgrel=1
arch=('i686' 'x86_64' 'mips64el')
url='http://accessibility.kde.org'
license=('GPL' 'FDL')
groups=('kde' 'kdeaccessibility')
makedepends=('pkgconfig' 'cmake' 'automoc4' 'kdelibs' 'speech-dispatcher')
source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2")
sha1sums=('69ecaa186edd07cfc391d6c630b6a95da602d3b1')

build() {
	cd ${srcdir}
	mkdir build
	cd build
	cmake ../${pkgbase}-${pkgver} \
		-DCMAKE_BUILD_TYPE=Release \
		-DCMAKE_SKIP_RPATH=ON \
		-DCMAKE_INSTALL_PREFIX=/usr \
        -DWITH_Opentts=OFF
	make
}

package_kdeaccessibility-jovie() {
	pkgdesc='A text to speech application'
	depends=('kdebase-runtime' 'speech-dispatcher')
    replaces=('kdeaccessibility-kttsd')
	install='kdeaccessibility.install'
	cd $srcdir/build/jovie
	make DESTDIR=$pkgdir install
	cd $srcdir/build/jovie/doc
	make DESTDIR=$pkgdir install
}

package_kdeaccessibility-kaccessible() {
    pkgdesc='Provides accessibility services like focus tracking and a screenreader'
    depends=('kdebase-runtime' 'speech-dispatcher')
	install='kdeaccessibility.install'
    cd $srcdir/build/kaccessible
    make DESTDIR=$pkgdir install
}

package_kdeaccessibility-kmag() {
	pkgdesc='Screen Magnifier'
	depends=('kdebase-runtime')
	url="http://kde.org/applications/utilities/kmag/"
	install='kdeaccessibility.install'
	cd $srcdir/build/kmag
	make DESTDIR=$pkgdir install
	cd $srcdir/build/kmag/doc
	make DESTDIR=$pkgdir install
}

package_kdeaccessibility-kmousetool() {
	pkgdesc='Clicks the mouse for you, reducing the effects of RSI'
	depends=('kdebase-runtime')
	url="http://kde.org/applications/utilities/kmousetool/"
	install='kdeaccessibility.install'
	cd $srcdir/build/kmousetool
	make DESTDIR=$pkgdir install
	cd $srcdir/build/kmousetool/doc
	make DESTDIR=$pkgdir install
}

package_kdeaccessibility-kmouth() {
	pkgdesc='Speech Synthesizer Frontend'
	depends=('kdebase-runtime')
	url="http://kde.org/applications/utilities/kmouth/"
	install='kdeaccessibility.install'
	cd $srcdir/build/kmouth
	make DESTDIR=$pkgdir install
	cd $srcdir/build/kmouth/doc
	make DESTDIR=$pkgdir install
}