Magellan Linux

Contents of /trunk/extras/kdebase/kdebase-3.5.10-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3722 - (show annotations) (download)
Sat Oct 31 14:34:36 2009 UTC (14 years, 6 months ago) by niro
File size: 3070 byte(s)
auto added: ver bump to 3.5.10-r4
1 # $Id$
2
3 PNAME="kdebase"
4 PVER="3.5.10"
5 PBUILD="r4"
6
7 PCATEGORIE="kde-base"
8 STATE="unstable"
9
10 DESCRIPTION="The KDE basic system."
11 HOMEPAGE="http://www.kde.org/"
12
13 DEPEND="== kde-base/kde-env-${PVER}
14 == kde-base/kdelibs-${PVER}
15 >= media-sound/cdparanoia-3.10.2
16 >= media-sound/lame-3.98
17 >= net-print/cups-1.4
18 >= dev-libs/openssl-0.9.8
19 >= net-fs/samba-3.4
20 >= virtual/java
21 >= media-libs/freetype-2.3
22 >= sys-apps/which-2.16
23 >= x11-libs/lesstif-0.95
24 >= sys-apps/eject-2.1.5
25 >= sys-libs/pam-1.1
26 >= sys-apps/dbus-1.3
27 >= dev-libs/dbus-qt3-0.70
28 >= sys-apps/hal-0.5.13
29 >= sys-apps/pmount-0.9.20
30 >= dev-libs/cyrus-sasl-2
31 >= net-dns/avahi-qt3-0.6.25
32 >= dev-libs/libusb-0.1.12
33 >= media-libs/nas-1.9.2
34 >= x11-apps/mkfontdir-1
35 >= x11-apps/setxkbmap-1
36 >= x11-apps/xinit-1
37 >= x11-misc/xkeyboard-config-1
38 >= x11-apps/xmessage-1
39 >= x11-apps/xprop-1
40 >= x11-apps/xrandr-1.3
41 >= x11-apps/xsetroot-1
42 >= x11-apps/xset-1"
43
44 SDEPEND=">= virtual/java-jdk
45 >= sys-dev/automake-4
46 >= sys-dev/autoconf-5"
47
48 SRCFILE="${PNAME}-${PVER}.tar.bz2"
49 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
50
51 sminclude kde3 mtools
52
53 # cvs revisions
54 KDE_PAMD=kde.pamd-1.3
55 KDE_NP_PAMD=kde-np.pamd-1.4
56
57 SRC_URI=(
58 kde://${PVER}/src/${SRCFILE}
59 mirror://${PNAME}/${SRCFILE}
60 mirror://${PNAME}/kde.desktop
61 mirror://${PNAME}/${KDE_PAMD}
62 mirror://${PNAME}/${KDE_NP_PAMD}
63 mirror://${PNAME}/xdg-env.sh
64 mirror://${PNAME}/agent-startup.sh
65 mirror://${PNAME}/agent-shutdown.sh
66 mirror://${PNAME}/${PNAME}-3.5.5-dbus090-2.patch
67 )
68
69 src_prepare()
70 {
71 munpack ${SRCFILE} || die
72 cd ${SRCDIR}
73
74 # fix api changes with dbus >= 0.90
75 mpatch ${PNAME}-3.5.5-dbus090-2.patch || die
76 }
77
78 src_compile()
79 {
80 cd ${SRCDIR}
81
82 # ${JAVA_HOME} is a provided sys-var by the jdk packages
83 kde3_configure \
84 --with-usbids=/usr/share/misc/usb.ids \
85 --with-dpms \
86 --with-cdparanoia \
87 --with-lame \
88 --with-cups \
89 --with-ssl \
90 --with-pam=yes \
91 --with-java=${JAVA_HOME} \
92 --with-gl \
93 --with-motif \
94 --with-hal \
95 --enable-dnssd \
96 --with-composite \
97 --with-xinerama \
98 --with-xscreensaver \
99 --with-libusb \
100 || die
101
102 mmake || die
103 }
104
105 src_install()
106 {
107 cd ${SRCDIR}
108
109 # needed directories
110 minstalldir /etc/xdg/kde || die
111 minstalldir /usr/env || die
112 minstalldir /usr/share/xsessions || die
113 minstalldir /usr/shutdown || die
114
115 mmake DESTDIR=${BINDIR} install || die
116
117 # fix kdm config stuff
118 cd ${SRCDIR}/kdm
119 make DESTDIR=${BINDIR} GENKDMCONF_FLAGS="--no-old --no-backup --no-in-notice" install || die
120
121 # install gnome session
122 minstallexec -s kde.desktop /usr/share/xsessions || die
123
124 # install pam related stuff
125 minstallpam ${KDE_PAMD} kde || die
126 minstallpam ${KDE_NP_PAMD} kde-np || die
127
128 # fix freedesktop menus structure
129 # move them to /etc/xdg/kde to prevent broken gnome-menus
130 mv ${BINDIR}/etc/xdg/menus ${BINDIR}/etc/xdg/kde || die
131
132 # install a environment script to tell kde where the xdgs are now
133 minstallfile -s xdg-env.sh /usr/env || die
134
135 # install global agent startup and shutdown scripts
136 minstallfile -s agent-startup.sh /usr/env || die
137 minstallfile -s agent-shutdown.sh /usr/shutdown || die
138 }

Properties

Name Value
svn:keywords Id