Magellan Linux

Contents of /branches/magellan-next/extras/gnome-disk-utility/gnome-disk-utility-2.32.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8347 - (show annotations) (download)
Fri Jul 15 00:29:51 2011 UTC (12 years, 10 months ago) by niro
File size: 1360 byte(s)
-fixed dependencies
1 # $Id$
2
3 PNAME="gnome-disk-utility"
4 PVER="2.32.1"
5 PBUILD="r1"
6
7 PCATEGORIE="sys-apps"
8
9 DESCRIPTION="Disk Utility for GNOME using udisks."
10 HOMEPAGE="http://www.gnome.org/"
11
12 DEPEND=">= dev-libs/glib2-2.28
13 >= x11-libs/gtk2+-2.24
14 >= dev-libs/dbus-glib-0.92
15 >= dev-libs/libunique-1.1
16 >= sys-fs/udisks-1.0.3
17 >= dev-libs/libatasmart-0.17
18 >= x11-libs/libnotify-0.7
19 >= net-dns/avahi-gtk-0.6.30
20 >= x11-apps/xdg-utils-1.1
21 >= sys-fs/dosfstools-3"
22
23 SDEPEND=">= sys-dev/gettext-0.18
24 >= app-text/docbook-xml-dtd41-4.12
25 >= dev-util/pkgconfig-0.25
26 >=dev-util/intltool-0.41"
27
28 SRCFILE="${PNAME}-${PVER}.tar.gz"
29 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
30
31 sminclude gnome2
32
33 SRC_URI=( ${SRC_URI[*]}
34 mirror://${PNAME}/${PNAME}-${PVER}-non-utf8-crash.patch
35 mirror://${PNAME}/${PNAME}-${PVER}-no-gnome-doc.patch
36 )
37
38 UP2DATE="updatecmd_gnome ${PNAME}"
39
40 src_prepare()
41 {
42 munpack ${SRCFILE} || die
43 cd ${SRCDIR}
44
45 # force GduPresentable ids to be UTF-8 to solve crashes and freezes, upstream bug #616198
46 mpatch ${PNAME}-${PVER}-non-utf8-crash.patch || die
47
48 # do not depend on gnome-doc
49 mpatch ${PNAME}-${PVER}-no-gnome-doc.patch || die
50 }
51
52 src_compile()
53 {
54 cd ${SRCDIR}
55
56 mconfigure \
57 --libexecdir=/usr/$(mlibdir)/${PNAME} \
58 --enable-remote-access \
59 --disable-nautilus \
60 --disable-gnome-keyring\
61 --disable-gtk-doc \
62 --disable-scrollkeeper \
63 || die
64
65 mmake || die
66 }