From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 716F6158090 for ; Sat, 21 May 2022 06:22:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 117F0E0886; Sat, 21 May 2022 06:22:33 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E6BC0E0882 for ; Sat, 21 May 2022 06:22:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1E1D434189B for ; Sat, 21 May 2022 06:22:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 723163AA for ; Sat, 21 May 2022 06:22:29 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1653114144.103fcdabbd205c0554d2644217698aa346f495eb.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/nemo/ X-VCS-Repository: repo/gentoo X-VCS-Files: gnome-extra/nemo/nemo-5.2.4-r1.ebuild X-VCS-Directories: gnome-extra/nemo/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 103fcdabbd205c0554d2644217698aa346f495eb X-VCS-Branch: master Date: Sat, 21 May 2022 06:22:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 63e9f26d-6751-4a41-88e3-9152c57c23c5 X-Archives-Hash: 32aa72b267caabf93bcaa5c0996e84a3 commit: 103fcdabbd205c0554d2644217698aa346f495eb Author: Matthew S. Turnbull bluefang-logic com> AuthorDate: Sat May 21 02:48:51 2022 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sat May 21 06:22:24 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=103fcdab gnome-extra/nemo: Remove tracker support Bug: https://bugs.gentoo.org/846608 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Matthew S. Turnbull bluefang-logic.com> Closes: https://github.com/gentoo/gentoo/pull/25582 Signed-off-by: Joonas Niilola gentoo.org> gnome-extra/nemo/nemo-5.2.4-r1.ebuild | 126 ++++++++++++++++++++++++++++++++++ 1 file changed, 126 insertions(+) diff --git a/gnome-extra/nemo/nemo-5.2.4-r1.ebuild b/gnome-extra/nemo/nemo-5.2.4-r1.ebuild new file mode 100644 index 000000000000..912661083acc --- /dev/null +++ b/gnome-extra/nemo/nemo-5.2.4-r1.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit meson gnome2-utils python-single-r1 readme.gentoo-r1 virtualx xdg + +DESCRIPTION="A file manager for Cinnamon, forked from Nautilus" +HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/nemo" +SRC_URI="https://github.com/linuxmint/nemo/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+ LGPL-2+ FDL-1.1" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +IUSE="exif gtk-doc +nls selinux test xmp" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# https://github.com/linuxmint/nemo/issues/2501 +RESTRICT="test" + +COMMON_DEPEND=" + ${PYTHON_DEPS} + >=dev-libs/glib-2.45.7:2[dbus] + >=dev-libs/gobject-introspection-0.9.12:= + >=dev-libs/libxml2-2.7.8:2 + gnome-base/dconf:0= + >=gnome-extra/cinnamon-desktop-5.2:0= + gnome-extra/libgsf + >=x11-libs/gtk+-3.10.0:3[introspection] + >=x11-libs/libnotify-0.7:= + x11-libs/libX11 + >=x11-libs/pango-1.40.0 + >=x11-libs/xapp-2.2.8 + + exif? ( >=media-libs/libexif-0.6.20:= ) + selinux? ( sys-libs/libselinux ) + xmp? ( >=media-libs/exempi-2.2.0:= ) +" +RDEPEND=" + ${COMMON_DEPEND} + $(python_gen_cond_dep ' + dev-python/pygobject:3[${PYTHON_USEDEP}] + ') + x11-themes/adwaita-icon-theme + + nls? ( >=gnome-extra/cinnamon-translations-5.2 ) +" +PDEPEND=" + >=gnome-base/gvfs-0.1.2 +" +DEPEND=" + ${COMMON_DEPEND} + x11-base/xorg-proto +" +BDEPEND=" + >=dev-util/gdbus-codegen-2.31.0 + >=dev-util/intltool-0.40.1 + sys-devel/gettext + virtual/pkgconfig + + gtk-doc? ( dev-util/gtk-doc ) +" + +PATCHES=( + # Undo the switch to untex as it's not packaged. + "${FILESDIR}/${PN}-5.0.3-use-detex.patch" +) + +DISABLE_AUTOFORMATTING="yes" +FORCE_PRINT_ELOG="yes" +DOC_CONTENTS=" +${PN} functionality can be extended by installing other packages. + +sys-apps/gnome-disk-utility - Mount archive files +gnome-extra/nemo-fileroller - Extract/Create archive files + +${PN} search capabilities can be extended through external +helpers. Install any of the following packages to make +their associated file types searchable. + +Image metadata - media-gfx/exif +MP3 tags - media-sound/id3 +Microsoft Office .doc - app-text/catdoc +Microsoft Office .xls - dev-python/xlrd +OpenDocument/LibreOffice - app-text/odt2txt or app-office/unoconv +PDF - app-text/poppler[utils] +PostScript - app-text/ghostscript-gpl +TeX - app-text/texlive-core +" + +src_prepare() { + default + python_fix_shebang files/usr/share/nemo/actions install-scripts +} + +src_configure() { + local emesonargs=( + $(meson_use exif) + $(meson_use xmp) + $(meson_use selinux) + $(meson_use gtk-doc gtk_doc) + ) + meson_src_configure +} + +src_install() { + meson_src_install + readme.gentoo_create_doc +} + +src_test() { + virtx meson_src_test +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update + readme.gentoo_print_elog +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +}