Magellan Linux

Contents of /trunk/extras/gnome-disk-utility/gnome-disk-utility-2.32.1-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10657 - (show annotations) (download)
Thu Jan 26 13:16:47 2012 UTC (12 years, 4 months ago) by niro
File size: 1405 byte(s)
-import from magellan-next
1 # $Id$
2
3 PNAME="gnome-disk-utility"
4 PVER="2.32.1"
5 PBUILD="r2"
6
7 PCAT="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 >= sys-libs/libssp-4.6
23 >= sys-libs/libstdc++-4.6"
24
25 SDEPEND=">= sys-dev/gettext-0.18
26 >= app-text/docbook-xml-dtd41-4.12
27 >= dev-util/pkgconfig-0.25
28 >=dev-util/intltool-0.41"
29
30 SRCFILE="${PNAME}-${PVER}.tar.gz"
31 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
32
33 sminclude gnome2
34
35 SRC_URI=( ${SRC_URI[*]}
36 mirror://${PNAME}/${PNAME}-${PVER}-non-utf8-crash.patch
37 mirror://${PNAME}/${PNAME}-${PVER}-no-gnome-doc.patch
38 )
39
40 UP2DATE="updatecmd_gnome ${PNAME}"
41
42 src_prepare()
43 {
44 munpack ${SRCFILE} || die
45 cd ${SRCDIR}
46
47 # force GduPresentable ids to be UTF-8 to solve crashes and freezes, upstream bug #616198
48 mpatch ${PNAME}-${PVER}-non-utf8-crash.patch || die
49
50 # do not depend on gnome-doc
51 mpatch ${PNAME}-${PVER}-no-gnome-doc.patch || die
52 }
53
54 src_compile()
55 {
56 cd ${SRCDIR}
57
58 mconfigure \
59 --libexecdir=/usr/$(mlibdir)/${PNAME} \
60 --enable-remote-access \
61 --disable-nautilus \
62 --disable-gnome-keyring\
63 --disable-gtk-doc \
64 --disable-scrollkeeper \
65 || die
66
67 mmake || die
68 }