summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Marc-Antoine Perennou <keruspe@exherbo.org> 2017-09-12 19:51:34 +0200
committerAvatar Marc-Antoine Perennou <keruspe@exherbo.org> 2017-09-12 19:51:34 +0200
commit7288e11af71e09329df3007b7f9d2be86661fc1f (patch)
tree037583b3e445c94cd2ec532fc6f21eb42464bb29
parent3f6a34fe9dc7db999fbaac4fa0aae6e987da4986 (diff)
downloadgnome-7288e11af71e09329df3007b7f9d2be86661fc1f.tar.gz
gnome-7288e11af71e09329df3007b7f9d2be86661fc1f.tar.xz
gvfs: bump to 1.34.0
Signed-off-by: Marc-Antoine Perennou <keruspe@exherbo.org>
-rw-r--r--packages/gnome-desktop/gvfs/gvfs-1.34.0.exheres-0117
1 files changed, 117 insertions, 0 deletions
diff --git a/packages/gnome-desktop/gvfs/gvfs-1.34.0.exheres-0 b/packages/gnome-desktop/gvfs/gvfs-1.34.0.exheres-0
new file mode 100644
index 0000000..abf62f3
--- /dev/null
+++ b/packages/gnome-desktop/gvfs/gvfs-1.34.0.exheres-0
@@ -0,0 +1,117 @@
+# Copyright 2008 Saleem Abdulrasool <compnerd@compnerd.org>
+# Distributed under the terms of the GNU General Public License v2
+
+require gnome.org [ suffix=tar.xz ] gsettings
+require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 1.13 ] ]
+
+SUMMARY="VFS interfaces for GTK+"
+HOMEPAGE="http://www.gnome.org/"
+
+LICENCES="LGPL-2"
+SLOT="0"
+PLATFORMS="~amd64 ~x86"
+MYOPTIONS="
+ afc [[ description = [ add support for accessing AFC (Apple File Connection) filesystems ] ]]
+ afp [[ description = [ add support for accessing AFP (Apple Filing Protocol) shares ] ]]
+ archive [[ description = [ add support for reading compressed archives supported by libarchive ] ]]
+ avahi
+ bluray [[ description = [ Blu-ray disc metadata support ] ]]
+ cdda
+ gphoto2
+ doc fuse
+ http [[ description = [ enable support http, dav, ssl uris ] ]]
+ keyring
+ monitor [[ description = [ add support for gnome-disk-utility ] ]]
+ mtp [[ description = [ build MTP volume monitor (e.g. Android tablets and phones) ] ]]
+ nfs [[ description = [ add support for accessing NFS shares ] ]]
+ online-accounts [[ description = [ build online accounts volume monitor ] ]]
+ samba
+ systemd
+ udisks [[ description = [ add support for udisks based volume monitoring ] ]]
+ ( linguas: af ar as ast be be@latin bg bn bn_IN ca ca@valencia cs da de el en_GB en@shaw eo es
+ et eu fa fi fr ga gl gu he hi hu id it ja kk kn ko ku lt lv mai mk ml mr nb nds nl
+ nn or pa pl pt pt_BR ro ru sk sl sq sr sr@latin sv ta te tg th tr ug uk vi zh_CN
+ zh_HK zh_TW )
+"
+
+DEPENDENCIES="
+ build:
+ sys-devel/gettext[>=0.19.4]
+ virtual/pkg-config[>=0.20]
+ doc? ( dev-doc/gtk-doc
+ dev-libs/libxslt )
+ build+run:
+ dev-libs/glib:2[>=2.51.0]
+ dev-libs/libusb:1
+ dev-libs/libxml2:2.0
+ gnome-desktop/gcr
+ gnome-desktop/libgudev[>=147]
+ net-misc/openssh
+ sys-apps/dbus[>=1.0]
+ sys-auth/polkit
+ sys-libs/libcap
+ afc? ( app-pda/libimobiledevice[>=1.2]
+ dev-libs/libplist[>=0.15] )
+ afp? ( dev-libs/libgcrypt[>=1.2.2] )
+ archive? ( app-arch/libarchive )
+ avahi? ( net-dns/avahi[>=0.6][dbus] )
+ bluray? ( media-libs/libbluray )
+ cdda? ( dev-libs/libcdio[>=0.78.2]
+ dev-libs/libcdio-paranoia )
+ fuse? ( sys-fs/fuse:0[>=2.8.0] )
+ gphoto2? ( media-libs/libgphoto2[>=2.4.10] )
+ http? ( gnome-desktop/libsoup:2.4[>=2.42.0] )
+ keyring? ( dev-libs/libsecret:1 )
+ monitor? ( dev-libs/expat
+ gnome-desktop/gnome-disk-utility[>=3.0.2] )
+ mtp? ( media-libs/libmtp[>=1.1.12] [[ note = [ permit on-device reading ] ]] )
+ nfs? ( net-fs/libnfs[>=1.9.8] )
+ online-accounts? (
+ gnome-desktop/gnome-online-accounts[>=3.17.1]
+ gnome-desktop/libgdata[>=0.17.9][online-accounts]
+ )
+ samba? ( net-fs/samba[>=3.4.0] )
+ systemd? ( sys-apps/systemd )
+ udisks? ( sys-apps/udisks:2[>=1.97] )
+"
+# test:
+# dev-lang/python:3.2
+
+RESTRICT="test" # requires python:3
+
+DEFAULT_SRC_PREPARE_PATCHES=( "${FILES}/0001-gvfs-exherbo-specific-systemd-path-changes.patch" )
+
+DEFAULT_SRC_CONFIGURE_PARAMS=( '--enable-admin' '--enable-libusb' '--enable-udev' '--enable-gudev' '--enable-gcr' )
+DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=( 'afc' 'afp' 'archive' 'avahi'
+ 'bluray' 'cdda' 'doc gtk-doc'
+ 'doc documentation' 'fuse' 'gphoto2' 'http'
+ 'keyring' 'monitor gdu' 'nfs' 'online-accounts goa'
+ 'online-accounts google' 'samba'
+ 'systemd libsystemd-login' 'udisks udisks2' 'mtp libmtp' )
+
+src_prepare() {
+ edo sed -i "/AC_PATH_PROG(PKG_CONFIG/d" configure.ac
+ edo autopoint
+ autotools_src_prepare
+}
+
+src_install() {
+ default
+
+ ( option avahi || option samba ) || edo rmdir "${IMAGE}"/usr/share/GConf/{gsettings,}
+
+ keepdir /usr/share/gvfs/remote-volume-monitors
+}
+
+pkg_preinst() {
+ # We formerly had a keepdir on /media, and systemd mounts it as a tmpfs, so we cannot let gvfs
+ # remove it and recreate it in postinst or the "rmdir /media" in the merge phase would fail.
+ # Create a temporary file so that /media doesn't get unmerged, and remove it in postinst
+ edo touch "${ROOT}"/media/.keep-the-media-directory-please
+}
+
+pkg_postinst() {
+ gsettings_pkg_postinst
+ nonfatal edo rm "${ROOT}"/media/.keep-the-media-directory-please
+}
+