Magellan Linux

Contents of /branches/magellan-next/extras/kdeaccessibility4/kdeaccessibility4-4.4.5-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7028 - (show annotations) (download)
Tue Sep 28 09:51:42 2010 UTC (13 years, 7 months ago) by niro
File size: 1700 byte(s)
imported from trunk
1 # $Id: kdeaccessibility4-4.4.2-r1.smage2 5173 2010-04-05 15:42:03Z niro $
2
3 PNAME="kdeaccessibility4"
4 PVER="4.4.5"
5 PBUILD="r1"
6
7 PCATEGORIE="kde-base"
8 STATE="unstable"
9
10 SDEPEND="== kde-base/kdebase4-runtime-${PVER}
11 >= virtual/phonon
12 >= app-misc/strigi-0.7
13 >= media-libs/alsa-lib-1.0.21"
14
15 # Todo: ktts support for epos, festival, flite, freetts
16
17 SPLIT_PACKAGES="${PNAME}-colorschemes
18 ${PNAME}-iconthemes
19 ${PNAME}-kmag
20 ${PNAME}-kmousetool
21 ${PNAME}-kmouth"
22 # no kttsd atm, needs speech-dispatcher
23 # ${PNAME}-kttsd"
24
25 sminclude kde4-split
26
27 UP2DATE="updatecmd http://www.kde.org/download/ | grep ${PNAME/4/} | sed -n '1 p' | sed 's/.*-\([^ ]*\) .*/\1/'"
28
29 split_info_kdeaccessibility4-kmag()
30 {
31 DESCRIPTION="KDE4 screen magnifier."
32 DEPEND="== kde-base/kdebase4-runtime-${PVER}"
33 }
34
35 split_info_kdeaccessibility4-kmousetool()
36 {
37 DESCRIPTION="Clicks the mouse for you, reducing the effects of RSI."
38 DEPEND="== kde-base/kdebase4-runtime-${PVER}"
39 }
40
41 split_info_kdeaccessibility4-kmouth()
42 {
43 DESCRIPTION="KDE4 speech synthesizer frontend."
44 DEPEND="== kde-base/kdebase4-runtime-${PVER}"
45 }
46
47 # no kttsd atm, needs speech-dispatcher
48 # split_info_kdeaccessibility4-kttsd()
49 # {
50 # DESCRIPTION="KDE4 Text-To-Speech daemon."
51 # DEPEND="== kde-base/kdebase4-runtime-${PVER}
52 # >= virtual/phonon
53 # >= media-libs/alsa-lib-1.0.21"
54 # }
55
56 src_compile()
57 {
58 cd ${SRCDIR}
59
60 kde4_configure \
61 $(cmake_with Kttsmodule) \
62 $(cmake_with Alsa) \
63 -DKDE4_KTTSD_PHONON=ON \
64 -DKDE4_KTTSD_ALSA=ON \
65 || die
66
67 mmake || die
68 }
69
70 src_install_kdeaccessibility4-colorschemes()
71 {
72 kde4-split_src_install_wrapper ColorSchemes || die
73 }
74
75 src_install_kdeaccessibility4-iconthemes()
76 {
77 kde4-split_src_install_wrapper IconThemes || die
78 }