1 |
commit: 8f138b3343728af2545643d3d08745e30fe38d4a |
2 |
Author: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 14 19:24:48 2019 +0000 |
4 |
Commit: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 14 19:24:48 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=8f138b33 |
7 |
|
8 |
gnome-base/nautilus: add 3.34.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.76, Repoman-2.3.17 |
11 |
|
12 |
gnome-base/nautilus/files/3.34.0-docs-build.patch | 40 +++++++++ |
13 |
gnome-base/nautilus/nautilus-3.34.0.ebuild | 103 ++++++++++++++++++++++ |
14 |
2 files changed, 143 insertions(+) |
15 |
|
16 |
diff --git a/gnome-base/nautilus/files/3.34.0-docs-build.patch b/gnome-base/nautilus/files/3.34.0-docs-build.patch |
17 |
new file mode 100644 |
18 |
index 00000000..3d700bdd |
19 |
--- /dev/null |
20 |
+++ b/gnome-base/nautilus/files/3.34.0-docs-build.patch |
21 |
@@ -0,0 +1,40 @@ |
22 |
+From 49d85c31346ff61afdd2c03b19b75c657416bacc Mon Sep 17 00:00:00 2001 |
23 |
+From: Sobhan Mohammadpour <sobhan@g.o> |
24 |
+Date: Sat, 14 Sep 2019 15:03:53 -0400 |
25 |
+Subject: [PATCH] [Patch] update 3.30-5: build: always install man pages |
26 |
+ |
27 |
+originally by: Mart Raudsepp<leio@g.o> |
28 |
+--- |
29 |
+ docs/meson.build | 5 +++-- |
30 |
+ meson.build | 4 +--- |
31 |
+ 2 files changed, 4 insertions(+), 5 deletions(-) |
32 |
+ |
33 |
+diff --git a/docs/meson.build b/docs/meson.build |
34 |
+index a54574f..ae0b171 100644 |
35 |
+--- a/docs/meson.build |
36 |
++++ b/docs/meson.build |
37 |
+@@ -1,4 +1,5 @@ |
38 |
+ install_man('nautilus.1') |
39 |
+ install_man('nautilus-autorun-software.1') |
40 |
+- |
41 |
+-subdir('reference') |
42 |
++if get_option('docs') |
43 |
++ subdir('reference') |
44 |
++endif |
45 |
+diff --git a/meson.build b/meson.build |
46 |
+index 8ab4fb6..98cc73b 100644 |
47 |
+--- a/meson.build |
48 |
++++ b/meson.build |
49 |
+@@ -196,9 +196,7 @@ subdirs = [ |
50 |
+ # Conditional building # |
51 |
+ ######################## |
52 |
+ |
53 |
+-if get_option('docs') |
54 |
+- subdirs += 'docs' |
55 |
+-endif |
56 |
++subdirs += 'docs' |
57 |
+ if get_option('tests') != 'none' |
58 |
+ subdirs += 'test' |
59 |
+ endif |
60 |
+-- |
61 |
+2.23.0 |
62 |
|
63 |
diff --git a/gnome-base/nautilus/nautilus-3.34.0.ebuild b/gnome-base/nautilus/nautilus-3.34.0.ebuild |
64 |
new file mode 100644 |
65 |
index 00000000..30c37296 |
66 |
--- /dev/null |
67 |
+++ b/gnome-base/nautilus/nautilus-3.34.0.ebuild |
68 |
@@ -0,0 +1,103 @@ |
69 |
+# Copyright 1999-2019 Gentoo Authors |
70 |
+# Distributed under the terms of the GNU General Public License v2 |
71 |
+ |
72 |
+EAPI=6 |
73 |
+ |
74 |
+inherit gnome.org gnome2-utils meson readme.gentoo-r1 virtualx xdg |
75 |
+ |
76 |
+DESCRIPTION="Default file manager for the GNOME desktop" |
77 |
+HOMEPAGE="https://wiki.gnome.org/Apps/Nautilus" |
78 |
+ |
79 |
+LICENSE="GPL-3+ LGPL-2.1+" |
80 |
+SLOT="0" |
81 |
+IUSE="gnome gtk-doc +introspection packagekit +previewer selinux sendto" |
82 |
+ |
83 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" |
84 |
+ |
85 |
+COMMON_DEPEND=" |
86 |
+ >=dev-libs/glib-2.55.1:2 |
87 |
+ >=media-libs/gexiv2-0.10.0 |
88 |
+ media-libs/gstreamer:1.0 |
89 |
+ media-libs/gst-plugins-base:1.0 |
90 |
+ >=app-arch/gnome-autoar-0.2.1 |
91 |
+ gnome-base/gnome-desktop:3 |
92 |
+ >=x11-libs/gtk+-3.22.27:3[X,introspection?] |
93 |
+ >=x11-libs/pango-1.28.3 |
94 |
+ selinux? ( >=sys-libs/libselinux-2.0 ) |
95 |
+ >=app-misc/tracker-2.0:= |
96 |
+ x11-libs/libX11 |
97 |
+ >=dev-libs/libxml2-2.7.8:2 |
98 |
+ introspection? ( >=dev-libs/gobject-introspection-1.54:= ) |
99 |
+" |
100 |
+DEPEND="${COMMON_DEPEND} |
101 |
+ >=dev-util/gdbus-codegen-2.51.2 |
102 |
+ dev-util/glib-utils |
103 |
+ gtk-doc? ( |
104 |
+ >=dev-util/gtk-doc-1.10 |
105 |
+ app-text/docbook-xml-dtd:4.1.2 ) |
106 |
+ >=sys-devel/gettext-0.19.8 |
107 |
+ virtual/pkgconfig |
108 |
+ x11-base/xorg-proto |
109 |
+" |
110 |
+RDEPEND="${COMMON_DEPEND} |
111 |
+ packagekit? ( app-admin/packagekit-base ) |
112 |
+ sendto? ( !<gnome-extra/nautilus-sendto-3.0.1 ) |
113 |
+" |
114 |
+ |
115 |
+PDEPEND=" |
116 |
+ gnome? ( x11-themes/adwaita-icon-theme ) |
117 |
+ previewer? ( >=gnome-extra/sushi-0.1.9 ) |
118 |
+ sendto? ( >=gnome-extra/nautilus-sendto-3.0.1 ) |
119 |
+ >=gnome-base/gvfs-1.14[gtk(+)] |
120 |
+" # Need gvfs[gtk] for recent:/// support; always built (without USE=gtk) since gvfs-1.34 |
121 |
+ |
122 |
+PATCHES=( |
123 |
+ "${FILESDIR}"/${PV}-docs-build.patch # Always install pregenerated manpage, keeping docs option for gtk-doc |
124 |
+) |
125 |
+ |
126 |
+src_prepare() { |
127 |
+ if use previewer; then |
128 |
+ DOC_CONTENTS="nautilus uses gnome-extra/sushi to preview media files. |
129 |
+ To activate the previewer, select a file and press space; to |
130 |
+ close the previewer, press space again." |
131 |
+ fi |
132 |
+ xdg_src_prepare |
133 |
+} |
134 |
+ |
135 |
+src_configure() { |
136 |
+ local emesonargs=( |
137 |
+ $(meson_use gtk-doc docs) |
138 |
+ -Dextensions=true # image file properties, sendto support |
139 |
+ $(meson_use introspection) |
140 |
+ $(meson_use packagekit) |
141 |
+ $(meson_use selinux) |
142 |
+ -Dprofiling=false |
143 |
+ -Dtests=$(usex test all none) |
144 |
+ ) |
145 |
+ meson_src_configure |
146 |
+} |
147 |
+ |
148 |
+src_install() { |
149 |
+ use previewer && readme.gentoo_create_doc |
150 |
+ meson_src_install |
151 |
+} |
152 |
+ |
153 |
+src_test() { |
154 |
+ virtx meson_src_test |
155 |
+} |
156 |
+ |
157 |
+pkg_postinst() { |
158 |
+ xdg_pkg_postinst |
159 |
+ gnome2_schemas_update |
160 |
+ |
161 |
+ if use previewer; then |
162 |
+ readme.gentoo_print_elog |
163 |
+ else |
164 |
+ elog "To preview media files, emerge nautilus with USE=previewer" |
165 |
+ fi |
166 |
+} |
167 |
+ |
168 |
+pkg_postrm() { |
169 |
+ xdg_pkg_postrm |
170 |
+ gnome2_schemas_update |
171 |
+} |