Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-base/nautilus/
Date: Fri, 30 Apr 2021 20:06:50
Message-Id: 1619813004.3acf65592675cf58e11499ef3525018de4f310cd.mattst88@gentoo
1 commit: 3acf65592675cf58e11499ef3525018de4f310cd
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 30 20:03:24 2021 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 30 20:03:24 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3acf6559
7
8 gnome-base/nautilus: Version bump to 40.1
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 gnome-base/nautilus/Manifest | 1 +
13 gnome-base/nautilus/nautilus-40.1.ebuild | 106 +++++++++++++++++++++++++++++++
14 2 files changed, 107 insertions(+)
15
16 diff --git a/gnome-base/nautilus/Manifest b/gnome-base/nautilus/Manifest
17 index 37d84ad9d48..3ebe03b9a15 100644
18 --- a/gnome-base/nautilus/Manifest
19 +++ b/gnome-base/nautilus/Manifest
20 @@ -1,3 +1,4 @@
21 DIST nautilus-3.36.3.tar.xz 3201908 BLAKE2B ec7be7ad523e29c853a1a16dd6381257bd7f7af0004d4b84a9ef13539f5c8ea431c61f819eee6c0d396037846d390ae112b3fe2771276cde6128e7fad95eb4f4 SHA512 4dce01c20a34ed9bbff53a9886775af431754d02a4300e4647d87830502103e7436e53127b2e503af8e3a90785aa864514dbde22508ffb3e06eb43d4633fddde
22 DIST nautilus-3.38.2.tar.xz 3221128 BLAKE2B c5d67072cefcd8dbbb0454ff6e867045a0edc72f0b4b1e01c910d4bdb1b755a56c3609f6e5d5f8ca8624a667d105a0962b6de701ceafa2108c1c94807c92e8c7 SHA512 b716140363e6c3ec30ef450958a4d6d812502e96569a9ce2567f56297fd0b3a7e779df6628d447b19dd20b8128a371a523aa5a6e34da40e9466d0b94341ca12c
23 DIST nautilus-40.0.tar.xz 3250800 BLAKE2B e57381d7f9b9e6884e4f22f3c3d78c931d197b78f0f139457bf141ffdfebe646ddeb2d280a1d2b38124b8d8199323983ea48631d98843a49d125b7be49eb5989 SHA512 700a18b27da28608d247c046dcaddb3114cd0648e077ef0a0be3eba6f1e3623720224610aa92c1513a84a0ef91bae7b18e3624de9c2c1495544d260635688e5f
24 +DIST nautilus-40.1.tar.xz 3252276 BLAKE2B 6123fcc933f94ca405f7590ef446af0472f4ec10f5188ae3aaf9cb38a0cb1905a7cfbd69c47c5f1b3258bf915006184caeafa2e10035f0068e758a615c328609 SHA512 6421ce0c30c6f3a406a9c100b4a62e01276b10b6cdf05c9aa862a0ece89c7d231e8d3630aecfb8a1e6b40d62849c80c6c91b3f6b6663251466aa8865e60dbfc1
25
26 diff --git a/gnome-base/nautilus/nautilus-40.1.ebuild b/gnome-base/nautilus/nautilus-40.1.ebuild
27 new file mode 100644
28 index 00000000000..e98afa90e78
29 --- /dev/null
30 +++ b/gnome-base/nautilus/nautilus-40.1.ebuild
31 @@ -0,0 +1,106 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit gnome.org gnome2-utils meson readme.gentoo-r1 virtualx xdg
38 +
39 +DESCRIPTION="Default file manager for the GNOME desktop"
40 +HOMEPAGE="https://wiki.gnome.org/Apps/Nautilus"
41 +
42 +LICENSE="GPL-3+ LGPL-2.1+"
43 +SLOT="0"
44 +IUSE="gnome +gstreamer gtk-doc +introspection +previewer selinux sendto"
45 +
46 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
47 +
48 +DEPEND="
49 + >=dev-libs/glib-2.67.1:2
50 + >=media-libs/gexiv2-0.10.0
51 + gstreamer? ( media-libs/gstreamer:1.0
52 + media-libs/gst-plugins-base:1.0 )
53 + >=app-arch/gnome-autoar-0.3.0
54 + >=gnome-base/gnome-desktop-3.0.0:3=
55 + >=x11-libs/gtk+-3.22.27:3[X,introspection?]
56 + >=gui-libs/libhandy-1.1.90:1
57 + >=x11-libs/pango-1.28.3
58 + selinux? ( >=sys-libs/libselinux-2.0 )
59 + >=app-misc/tracker-3.0:3=
60 + x11-libs/libX11
61 + >=dev-libs/libxml2-2.7.8:2
62 + introspection? ( >=dev-libs/gobject-introspection-1.54:= )
63 +"
64 +RDEPEND="${DEPEND}
65 + gstreamer? ( !<media-video/totem-3.31.91[nautilus] )
66 + >=app-misc/tracker-miners-3.0:3=
67 +" # uses org.freedesktop.Tracker.Miner.Files gsettings schema from tracker-miners
68 +BDEPEND="
69 + >=dev-util/gdbus-codegen-2.51.2
70 + dev-util/glib-utils
71 + gtk-doc? (
72 + >=dev-util/gtk-doc-1.10
73 + app-text/docbook-xml-dtd:4.1.2 )
74 + >=sys-devel/gettext-0.19.8
75 + virtual/pkgconfig
76 + x11-base/xorg-proto
77 +"
78 +PDEPEND="
79 + gnome? ( x11-themes/adwaita-icon-theme )
80 + previewer? ( >=gnome-extra/sushi-0.1.9 )
81 + sendto? ( >=gnome-extra/nautilus-sendto-3.0.1 )
82 + >=gnome-base/gvfs-1.14[gtk(+)]
83 +" # Need gvfs[gtk] for recent:/// support; always built (without USE=gtk) since gvfs-1.34
84 +
85 +PATCHES=(
86 + "${FILESDIR}"/3.30.5-docs-build.patch # Always install pregenerated manpage, keeping docs option for gtk-doc
87 + "${FILESDIR}"/3.32.3-optional-gstreamer.patch # Allow controlling audio-video-properties build
88 +)
89 +
90 +src_prepare() {
91 + if use previewer; then
92 + DOC_CONTENTS="nautilus uses gnome-extra/sushi to preview media files.
93 + To activate the previewer, select a file and press space; to
94 + close the previewer, press space again."
95 + fi
96 + xdg_src_prepare
97 +}
98 +
99 +src_configure() {
100 + local emesonargs=(
101 + $(meson_use gtk-doc docs)
102 + -Dextensions=true # image file properties, sendto support; also required for -Dgstreamer=true
103 + $(meson_use gstreamer) # gstreamer audio-video-properties extension
104 + $(meson_use introspection)
105 + -Dlibportal=false
106 + -Dpackagekit=false
107 + $(meson_use selinux)
108 + -Dprofiling=false
109 + -Dtests=$(usex test all none)
110 + )
111 + meson_src_configure
112 +}
113 +
114 +src_install() {
115 + use previewer && readme.gentoo_create_doc
116 + meson_src_install
117 +}
118 +
119 +src_test() {
120 + virtx meson_src_test
121 +}
122 +
123 +pkg_postinst() {
124 + xdg_pkg_postinst
125 + gnome2_schemas_update
126 +
127 + if use previewer; then
128 + readme.gentoo_print_elog
129 + else
130 + elog "To preview media files, emerge nautilus with USE=previewer"
131 + fi
132 +}
133 +
134 +pkg_postrm() {
135 + xdg_pkg_postrm
136 + gnome2_schemas_update
137 +}