Contents of /trunk/extras/udisks2/udisks2-2.1.8-r1.smage2
Parent Directory | Revision Log
Revision 28547 -
(show annotations)
(download)
Wed Dec 28 14:18:15 2016 UTC (7 years, 9 months ago) by niro
File size: 1518 byte(s)
Wed Dec 28 14:18:15 2016 UTC (7 years, 9 months ago) by niro
File size: 1518 byte(s)
auto added: ver bump to 2.1.8-r1
1 | # $Id$ |
2 | |
3 | PNAME="udisks2" |
4 | PVER="2.1.8" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="sys-fs" |
8 | |
9 | DESCRIPTION="Daemon providing interfaces to work with storage devices." |
10 | HOMEPAGE="http://www.freedesktop.org/wiki/Software/udisks" |
11 | |
12 | DEPEND=">= dev-libs/glib2-2.48 |
13 | >= sys-apps/dbus-1.10 |
14 | >= sys-fs/udev-227 |
15 | >= sys-apps/polkit-0.113 |
16 | >= sys-apps/acl-2.2 |
17 | >= sys-apps/util-linux-2.27 |
18 | >= sys-fs/parted-3.1 |
19 | >= sys-fs/cryptsetup-1.7 |
20 | >= dev-libs/libatasmart-0.19 |
21 | >= virtual/eject" |
22 | |
23 | SDEPEND=">= dev-util/pkgconfig-0.25 |
24 | >= dev-util/intltool-0.50 |
25 | >= dev-libs/libxslt-1.1.26 |
26 | >= app-text/docbook-xsl-stylesheets-1.76 |
27 | >= dev-libs/gobject-introspection-1.48" |
28 | |
29 | SRCFILE="udisks-${PVER}.tar.bz2" |
30 | SRCDIR="${BUILDDIR}/udisks-${PVER}" |
31 | |
32 | sminclude mtools udev systemd |
33 | |
34 | SRC_URI=( |
35 | http://udisks.freedesktop.org/releases/${SRCFILE} |
36 | mirror://${PNAME}/${SRCFILE} |
37 | mirror://${PNAME}/${PNAME}-1.94.0-ntfs-3g.patch |
38 | ) |
39 | |
40 | UP2DATE="updatecmd_freedesktop udisks" |
41 | |
42 | src_prepare() |
43 | { |
44 | munpack ${SRCFILE} || die |
45 | cd ${SRCDIR} |
46 | |
47 | # support ntfs-3g |
48 | mpatch ${PNAME}-1.94.0-ntfs-3g.patch || die |
49 | } |
50 | |
51 | src_compile() |
52 | { |
53 | cd ${SRCDIR} |
54 | |
55 | mconfigure \ |
56 | --libexecdir=/usr/$(mlibdir)/${PNAME} \ |
57 | --localstatedir=/var \ |
58 | --disable-static \ |
59 | --disable-gtk-doc \ |
60 | --enable-introspection \ |
61 | --with-systemdsystemunitdir=$(mget-systemd-unit-dir) \ |
62 | --with-udevdir=$(mget-udev-dir) \ |
63 | || die |
64 | |
65 | mmake || die |
66 | } |
67 | |
68 | src_install() |
69 | { |
70 | cd ${SRCDIR} |
71 | mmake DESTDIR=${BINDIR} install || die |
72 | mkeepdir /media || die |
73 | mkeepdir /var/lib/udisks2 || die |
74 | |
75 | minstalldocs COPYING ChangeLog NEWS README TODO || die |
76 | } |