Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/nemo/
Date: Fri, 21 Jan 2022 17:15:44
Message-Id: 1642785312.ec2abdda3f803de81d92646be6b8d535db456efb.sam@gentoo
1 commit: ec2abdda3f803de81d92646be6b8d535db456efb
2 Author: Matthew S. Turnbull <sparky <AT> bluefang-logic <DOT> com>
3 AuthorDate: Wed Dec 29 06:55:12 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 21 17:15:12 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec2abdda
7
8 gnome-extra/nemo: 5.2.3 version bump
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Matthew S. Turnbull <sparky <AT> bluefang-logic.com>
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 gnome-extra/nemo/Manifest | 1 +
15 gnome-extra/nemo/nemo-5.2.3.ebuild | 128 +++++++++++++++++++++++++++++++++++++
16 2 files changed, 129 insertions(+)
17
18 diff --git a/gnome-extra/nemo/Manifest b/gnome-extra/nemo/Manifest
19 index de88e15495c7..42ce95d91272 100644
20 --- a/gnome-extra/nemo/Manifest
21 +++ b/gnome-extra/nemo/Manifest
22 @@ -1 +1,2 @@
23 DIST nemo-5.0.4.tar.gz 1487156 BLAKE2B 4ecafb315673c0939dfb2585e97957ee9d76e9621fbbece2b93d9ed10b24ec86d2c49cdd8d18ac7c8607184752fe2541508a1b626fdce763fdc8ac1b6e713e49 SHA512 e03558d336785d77c1a57d2d100906263d2015330a00d54e2cc0161d9d822740ef5c314062f90a877cee5b031b4b5caf9ebf59f22fb5e15f2e91c75bb239e488
24 +DIST nemo-5.2.3.tar.gz 1491685 BLAKE2B 55687410d9b1029accdcb446c3406a1a8c9e32aa9ccfcce2096a9afe14d0634729c180e5221ae193593f34518aece90c08e679b510394d27d36fb4defd80802b SHA512 141bf578a6df060f8ceb5778e271b7c474531d96562a148f200149bc77c92bdac409eb75684287c3d98b0ec088798dca292dca85c53c0c794a28c2949b82993b
25
26 diff --git a/gnome-extra/nemo/nemo-5.2.3.ebuild b/gnome-extra/nemo/nemo-5.2.3.ebuild
27 new file mode 100644
28 index 000000000000..47194cd5ea22
29 --- /dev/null
30 +++ b/gnome-extra/nemo/nemo-5.2.3.ebuild
31 @@ -0,0 +1,128 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PYTHON_COMPAT=( python3_{7,8,9,10} )
38 +
39 +inherit meson gnome2-utils python-single-r1 readme.gentoo-r1 virtualx xdg
40 +
41 +DESCRIPTION="A file manager for Cinnamon, forked from Nautilus"
42 +HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/nemo"
43 +SRC_URI="https://github.com/linuxmint/nemo/archive/${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="GPL-2+ LGPL-2+ FDL-1.1"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
48 +IUSE="doc exif +nls selinux test tracker xmp"
49 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
50 +
51 +# https://github.com/linuxmint/nemo/issues/2501
52 +RESTRICT="test"
53 +
54 +COMMON_DEPEND="
55 + ${PYTHON_DEPS}
56 + >=dev-libs/glib-2.45.7:2[dbus]
57 + >=dev-libs/gobject-introspection-0.9.12:=
58 + >=dev-libs/libxml2-2.7.8:2
59 + gnome-base/dconf:0=
60 + >=gnome-extra/cinnamon-desktop-5.2:0=
61 + gnome-extra/libgsf
62 + >=x11-libs/gtk+-3.10.0:3[introspection]
63 + >=x11-libs/libnotify-0.7:=
64 + x11-libs/libX11
65 + >=x11-libs/pango-1.40.0
66 + >=x11-libs/xapp-2.2.8
67 +
68 + exif? ( >=media-libs/libexif-0.6.20:= )
69 + selinux? ( sys-libs/libselinux )
70 + tracker? ( >=app-misc/tracker-2.0:0= )
71 + xmp? ( >=media-libs/exempi-2.2.0:= )
72 +"
73 +RDEPEND="
74 + ${COMMON_DEPEND}
75 + $(python_gen_cond_dep '
76 + dev-python/pygobject:3[${PYTHON_USEDEP}]
77 + ')
78 + x11-themes/adwaita-icon-theme
79 +
80 + nls? ( >=gnome-extra/cinnamon-translations-5.2 )
81 +"
82 +PDEPEND="
83 + >=gnome-base/gvfs-0.1.2
84 +"
85 +DEPEND="
86 + ${COMMON_DEPEND}
87 + x11-base/xorg-proto
88 +"
89 +BDEPEND="
90 + >=dev-util/gdbus-codegen-2.31.0
91 + >=dev-util/intltool-0.40.1
92 + sys-devel/gettext
93 + virtual/pkgconfig
94 +
95 + doc? ( dev-util/gtk-doc )
96 +"
97 +
98 +PATCHES=(
99 + # Undo the switch to untex as it's not packaged.
100 + "${FILESDIR}/${PN}-5.0.3-use-detex.patch"
101 +)
102 +
103 +DISABLE_AUTOFORMATTING="yes"
104 +FORCE_PRINT_ELOG="yes"
105 +DOC_CONTENTS="
106 +${PN} functionality can be extended by installing other packages.
107 +
108 +sys-apps/gnome-disk-utility - Mount archive files
109 +gnome-extra/nemo-fileroller - Extract/Create archive files
110 +
111 +${PN} search capabilities can be extended through external
112 +helpers. Install any of the following packages to make
113 +their associated file types searchable.
114 +
115 +Image metadata - media-gfx/exif
116 +MP3 tags - media-sound/id3
117 +Microsoft Office .doc - app-text/catdoc
118 +Microsoft Office .xls - dev-python/xlrd
119 +OpenDocument/LibreOffice - app-text/odt2txt or app-office/unoconv
120 +PDF - app-text/poppler[utils]
121 +PostScript - app-text/ghostscript-gpl
122 +TeX - app-text/texlive-core
123 +"
124 +
125 +src_prepare() {
126 + default
127 + python_fix_shebang files/usr/share/nemo/actions install-scripts
128 +}
129 +
130 +src_configure() {
131 + local emesonargs=(
132 + $(meson_use exif)
133 + $(meson_use tracker)
134 + $(meson_use xmp)
135 + $(meson_use selinux)
136 + $(meson_use doc gtk_doc)
137 + )
138 + meson_src_configure
139 +}
140 +
141 +src_install() {
142 + meson_src_install
143 + readme.gentoo_create_doc
144 +}
145 +
146 +src_test() {
147 + virtx meson_src_test
148 +}
149 +
150 +pkg_postinst() {
151 + xdg_pkg_postinst
152 + gnome2_schemas_update
153 + readme.gentoo_print_elog
154 +}
155 +
156 +pkg_postrm() {
157 + xdg_pkg_postrm
158 + gnome2_schemas_update
159 +}