Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7040 - (show annotations) (download)
Tue Sep 28 09:54:00 2010 UTC (13 years, 7 months ago) by niro
File size: 2428 byte(s)
imported from trunk
1 # $Id: kdeutils4-4.4.2-r1.smage2 5427 2010-06-07 13:45:04Z niro $
2
3 PNAME="kdeutils4"
4 PVER="4.4.5"
5 PBUILD="r1"
6
7 PCATEGORIE="kde-base"
8 STATE="unstable"
9
10 # DESCRIPTION="Useful KDE utils including: kcalc, kcharselect, kdepasswd, kedit, kfind, khexedit, klpq, knotes, ktimer, ark, superkaramba and many more."
11 #
12 SDEPEND="== kde-base/kdebase4-runtime-${PVER}
13 == kde-base/kdepimlibs4-${PVER}
14 >= kde-base/qimageblitz-0.0.4
15 >= app-arch/libarchive-2.7
16 >= app-crypt/gnupg-2
17 >= app-crypt/qca-2.0
18 >= dev-libs/gmp-4.3
19 >= dev-libs/libzip-0.9
20 >= dev-lang/python-2.6
21 >= sys-libs/zlib-1.2"
22 # no kdessh anymore in kde-4.4
23 # >= net-misc/openssh-5.3
24
25 SPLIT_PACKAGES="${PNAME}-ark
26 ${PNAME}-kcalc
27 ${PNAME}-kcharselect
28 ${PNAME}-kdelirc
29 ${PNAME}-kdf
30 ${PNAME}-kfloppy
31 ${PNAME}-kgpg
32 ${PNAME}-ktimer
33 ${PNAME}-kwallet
34 ${PNAME}-okteta
35 ${PNAME}-superkaramba
36 ${PNAME}-sweeper"
37 #${PNAME}-printer-applet
38 # no kdessh anymore in kde-4.4
39 #${PNAME}-kdessh
40
41 sminclude kde4-split
42
43 UP2DATE="updatecmd http://www.kde.org/download/ | grep ${PNAME/4/} | sed -n '1 p' | sed 's/.*-\([^ ]*\) .*/\1/'"
44
45 split_info_kdeutils4-ark()
46 {
47 DESCRIPTION="KDE4 archiving tool."
48 DEPEND="== kde-base/kdebase4-runtime-${PVER}
49 == kde-base/kdebase4-lib-${PVER}
50 >= app-arch/libarchive-2.7
51 >= dev-libs/libzip-0.9
52 >= sys-libs/zlib-1.2"
53 }
54
55 split_info_kdeutils4-kcalc()
56 {
57 DESCRIPTION="KDE4 calculator."
58 DEPEND="== kde-base/kdebase4-runtime-${PVER}
59 >= dev-libs/gmp-4.3"
60 }
61
62 # no kdessh anymore in kde-4.4
63 # split_info_kdeutils4-kdessh()
64 # {
65 # DESCRIPTION="KDE4 frontend to ssh."
66 # DEPEND="== kde-base/kdebase4-runtime-${PVER}
67 # >= net-misc/openssh-5.3"
68 # }
69
70 split_info_kdeutils4-kgpg()
71 {
72 DESCRIPTION="KDE4 GnuPG frontend."
73 DEPEND="== kde-base/kdebase4-runtime-${PVER}
74 == kde-base/kdepimlibs4-${PVER}
75 >= app-crypt/gnupg-2"
76 }
77
78 split_info_kdeutils4-okteta()
79 {
80 DESCRIPTION="KDE4 hex editor."
81 DEPEND="== kde-base/kdelibs4-${PVER}
82 == kde-base/kdebase4-runtime-${PVER}
83 >= app-crypt/qca-2.0"
84 }
85
86 split_info_kdeutils4-superkaramba()
87 {
88 DESCRIPTION="KDE4 engine for cool desktop eyecandy."
89 DEPEND="== kde-base/kdebase4-runtime-${PVER}
90 == kde-base/kdelibs4-${PVER}
91 >= kde-base/qimageblitz-0.0.4
92 >= dev-lang/python-2.6"
93 }
94
95 src_compile()
96 {
97 cd ${SRCDIR}
98
99 kde4_configure \
100 $(cmake_with GMP) \
101 $(cmake_with LibArchive) \
102 $(cmake_with PythonLibs) \
103 $(cmake_with LibZip) \
104 $(cmake_with ZLIB) \
105 $(cmake_with QCA2) \
106 || die
107
108 mmake || die
109 }