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 8337 - (show annotations) (download)
Thu Jul 14 23:31:20 2011 UTC (12 years, 10 months ago) by niro
File size: 1383 byte(s)
-fixed configure opts, added no-gnome-doc patch, fixed avahi dep
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-misc/xdg-utils-1.1
21 >= sys-fs/dosfstools-3"
22
23 SDEPEND=">= sys-dev/gettext-0.18
24 gnome-base/gnome-common
25 >= app-text/docbook-xml-dtd41-4.12
26 >= dev-util/pkgconfig-0.25
27 >=dev-util/intltool-0.41"
28
29 SRCFILE="${PNAME}-${PVER}.tar.gz"
30 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
31
32 sminclude gnome2
33
34 SRC_URI=( ${SRC_URI[*]}
35 mirror://${PNAME}/${PNAME}-${PVER}-non-utf8-crash.patch
36 mirror://${PNAME}/${PNAME}-${PVER}-no-gnome-doc.patch
37 )
38
39 UP2DATE="updatecmd_gnome ${PNAME}"
40
41 src_prepare()
42 {
43 munpack ${SRCFILE} || die
44 cd ${SRCDIR}
45
46 # force GduPresentable ids to be UTF-8 to solve crashes and freezes, upstream bug #616198
47 mpatch ${PNAME}-${PVER}-non-utf8-crash.patch || die
48
49 # do not depend on gnome-doc
50 mpatch ${PNAME}-${PVER}-no-gnome-doc.patch || die
51 }
52
53 src_compile()
54 {
55 cd ${SRCDIR}
56
57 mconfigure \
58 --libexecdir=/usr/$(mlibdir)/${PNAME} \
59 --enable-remote-access \
60 --disable-nautilus \
61 --disable-gnome-keyring\
62 --disable-gtk-doc \
63 --disable-scrollkeeper \
64 || die
65
66 mmake || die
67 }