Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-base/gvfs/
Date: Sat, 05 Jan 2019 13:24:51
Message-Id: 1546694268.5db8f5ee0477587333b5ab022c66c385eb73b6e8.pacho@gentoo
1 commit: 5db8f5ee0477587333b5ab022c66c385eb73b6e8
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 5 13:17:48 2019 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 5 13:17:48 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5db8f5ee
7
8 gnome-base/gvfs: libcdio is also used
9
10 Closes: https://bugs.gentoo.org/672416
11 Package-Manager: Portage-2.3.53, Repoman-2.3.12
12 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
13
14 gnome-base/gvfs/gvfs-1.34.2.1-r2.ebuild | 134 ++++++++++++++++++++++++++++++++
15 1 file changed, 134 insertions(+)
16
17 diff --git a/gnome-base/gvfs/gvfs-1.34.2.1-r2.ebuild b/gnome-base/gvfs/gvfs-1.34.2.1-r2.ebuild
18 new file mode 100644
19 index 00000000000..16bae098dde
20 --- /dev/null
21 +++ b/gnome-base/gvfs/gvfs-1.34.2.1-r2.ebuild
22 @@ -0,0 +1,134 @@
23 +# Copyright 1999-2019 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=6
27 +GNOME2_LA_PUNT="yes"
28 +GNOME2_EAUTORECONF="yes"
29 +
30 +inherit gnome2 systemd
31 +
32 +DESCRIPTION="Virtual filesystem implementation for gio"
33 +HOMEPAGE="https://wiki.gnome.org/Projects/gvfs"
34 +SRC_URI+=" https://dev.gentoo.org/~leio/distfiles/${P}-patchset.tar.xz"
35 +
36 +LICENSE="LGPL-2+"
37 +SLOT="0"
38 +
39 +IUSE="afp archive bluray cdda elogind fuse google gnome-keyring gnome-online-accounts gphoto2 +http ios mtp nfs policykit samba systemd test +udev udisks zeroconf"
40 +REQUIRED_USE="
41 + cdda? ( udev )
42 + elogind? ( !systemd udisks )
43 + google? ( gnome-online-accounts )
44 + mtp? ( udev )
45 + udisks? ( udev )
46 + systemd? ( !elogind udisks )
47 +"
48 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
49 +
50 +RDEPEND="
51 + app-crypt/gcr:=
52 + >=dev-libs/glib-2.51:2
53 + dev-libs/libxml2:2
54 + net-misc/openssh
55 + afp? ( >=dev-libs/libgcrypt-1.2.2:0= )
56 + archive? ( app-arch/libarchive:= )
57 + bluray? ( media-libs/libbluray:= )
58 + elogind? ( >=sys-auth/elogind-229:0= )
59 + fuse? ( >=sys-fs/fuse-2.8.0:0 )
60 + gnome-keyring? ( app-crypt/libsecret )
61 + gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.7.1:= )
62 + google? (
63 + >=dev-libs/libgdata-0.17.9:=[crypt,gnome-online-accounts]
64 + >=net-libs/gnome-online-accounts-3.17.1:= )
65 + gphoto2? ( >=media-libs/libgphoto2-2.5.0:= )
66 + http? ( >=net-libs/libsoup-2.42:2.4 )
67 + ios? (
68 + >=app-pda/libimobiledevice-1.2:=
69 + >=app-pda/libplist-1:= )
70 + mtp? (
71 + >=dev-libs/libusb-1.0.21
72 + >=media-libs/libmtp-1.1.12 )
73 + nfs? ( >=net-fs/libnfs-1.9.8 )
74 + policykit? (
75 + sys-auth/polkit
76 + sys-libs/libcap )
77 + samba? ( >=net-fs/samba-4[client] )
78 + systemd? ( >=sys-apps/systemd-206:0= )
79 + udev? (
80 + cdda? (
81 + dev-libs/libcdio:0=
82 + dev-libs/libcdio-paranoia )
83 + >=virtual/libgudev-147:=
84 + virtual/libudev:= )
85 + udisks? ( >=sys-fs/udisks-1.97:2 )
86 + zeroconf? ( >=net-dns/avahi-0.6 )
87 +"
88 +DEPEND="${RDEPEND}
89 + app-text/docbook-xsl-stylesheets
90 + dev-libs/libxslt
91 + >=sys-devel/gettext-0.19.4
92 + virtual/pkgconfig
93 + dev-util/gdbus-codegen
94 + dev-util/glib-utils
95 + dev-util/gtk-doc-am
96 + test? (
97 + >=dev-python/twisted-16
98 + || (
99 + net-analyzer/netcat
100 + net-analyzer/netcat6 ) )
101 + !udev? ( >=dev-libs/libgcrypt-1.2.2:0 )
102 +"
103 +# libgcrypt.m4, provided by libgcrypt, needed for eautoreconf, bug #399043
104 +# test dependencies needed per https://bugzilla.gnome.org/700162
105 +
106 +# Tests with multiple failures, this is being handled upstream at:
107 +# https://bugzilla.gnome.org/700162
108 +RESTRICT="test"
109 +
110 +PATCHES=(
111 + "${WORKDIR}"/patches/ # origin/gnome-3-26@20180912 + elogind support (requires eautoreconf)
112 +)
113 +
114 +src_prepare() {
115 + if ! use udev; then
116 + sed -e 's/gvfsd-burn/ /' \
117 + -e 's/burn.mount.in/ /' \
118 + -e 's/burn.mount/ /' \
119 + -i daemon/Makefile.am || die
120 + fi
121 +
122 + gnome2_src_prepare
123 +}
124 +
125 +src_configure() {
126 + # --enable-documentation installs man pages
127 + # --disable-obexftp, upstream bug #729945
128 + gnome2_src_configure \
129 + --disable-gdu \
130 + --enable-documentation \
131 + --enable-gcr \
132 + --with-dbus-service-dir="${EPREFIX}"/usr/share/dbus-1/services \
133 + --with-systemduserunitdir="$(systemd_get_userunitdir)" \
134 + $(use_enable afp) \
135 + $(use_enable archive) \
136 + $(use_enable bluray) \
137 + $(use_enable cdda) \
138 + $(use_enable elogind libelogind) \
139 + $(use_enable fuse) \
140 + $(use_enable gnome-keyring keyring) \
141 + $(use_enable gnome-online-accounts goa) \
142 + $(use_enable google) \
143 + $(use_enable gphoto2) \
144 + $(use_enable http) \
145 + $(use_enable ios afc) \
146 + $(use_enable mtp libmtp) \
147 + $(use_enable mtp libusb) \
148 + $(use_enable nfs) \
149 + $(use_enable policykit admin) \
150 + $(use_enable samba) \
151 + $(use_enable systemd libsystemd-login) \
152 + $(use_enable udev gudev) \
153 + $(use_enable udev) \
154 + $(use_enable udisks udisks2) \
155 + $(use_enable zeroconf avahi)
156 +}