Magellan Linux

Contents of /branches/magellan-next/extras/polkit-kde/polkit-kde-0.95.1-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7019 - (show annotations) (download)
Mon Sep 27 20:54:16 2010 UTC (13 years, 7 months ago) by niro
File size: 943 byte(s)
-fixed compilation with gcc-4.5
1 # $Id: polkit-kde-0.95.1-r2.smage2 4886 2010-02-13 09:59:07Z niro $
2
3 PNAME="polkit-kde"
4 PVER="0.95.1"
5 PBUILD="r4"
6
7 PCATEGORIE="kde-base"
8 STATE="unstable"
9
10 DESCRIPTION="PolicyKit KDE4 API wrapper library."
11 HOMEPAGE="http://kde.org/"
12
13 DEPEND=">= dev-libs/polkit-qt-0.99
14 == kde-base/kdelibs4-4.5"
15
16 SDEPEND=">= kde-base/automoc4-0.9.88"
17
18 SRCFILE="${PNAME}-1-${PVER}.tar.bz2"
19 SRCDIR="${BUILDDIR}/${PNAME}-1-${PVER}"
20
21 sminclude kde4
22
23 SRC_URI=(
24 kde://apps/KDE4.x/admin/${SRCFILE}
25 mirror://${PNAME}/${SRCFILE}
26 mirror://${PNAME}/${PNAME}-${PVER}-autostart-dir.patch
27 mirror://${PNAME}/${PNAME}-${PVER}-gcc45.patch
28 )
29
30 UP2DATE="updatecmd ftp://ftp.kde.org/pub/kde/stable/apps/KDE4.x/admin/ | grep ${PNAME}- | lasttarball"
31
32 src_prepare()
33 {
34 munpack ${SRCFILE} || die
35 cd ${SRCDIR}
36
37 # fixed xdg path to xdgdir/autostart
38 mpatch ${PNAME}-${PVER}-autostart-dir.patch || die
39
40 # fix compilation with gcc-4.5
41 mpatch ${PNAME}-${PVER}-gcc45.patch || die
42 }