diff options
Diffstat (limited to 'gnome-extra/nemo')
-rw-r--r-- | gnome-extra/nemo/Manifest | 1 | ||||
-rw-r--r-- | gnome-extra/nemo/nemo-5.0.0.ebuild | 115 |
2 files changed, 116 insertions, 0 deletions
diff --git a/gnome-extra/nemo/Manifest b/gnome-extra/nemo/Manifest index 014d5d61fcad..fa71cac1fcff 100644 --- a/gnome-extra/nemo/Manifest +++ b/gnome-extra/nemo/Manifest @@ -1,2 +1,3 @@ DIST nemo-4.6.5.tar.gz 1468701 BLAKE2B 42b47300782745e4ae98db164ca547b0794caf8f0883db4241f2f0ed2e375e5c8564cff6d878142b55744ce41f49c60aad3f24930398ff68444e32c572d7e9bd SHA512 3c8c95e75e8bc499b56d1fd133f5ccc86ad18dae2219772b732586fd684a4a7a36e51fa61e6b734ad182ffd96636bdf276b8645d049e5ca68795fac274236eb6 DIST nemo-4.8.4.tar.gz 1464683 BLAKE2B 10945a385defdf1bdc7fac9432306e31476ec015489a5150a5b4f9d5f31977b93da6e92241ce153cd5435c789c7a6ce16d2a86002758f26fc587a33dc5343e63 SHA512 b63ee2bd85f67e7d18271032ac3d95c7446b5110b71a3236f7e8c4ccb31e2baf11912060dde36f12ed4b90491c3bb1215a0de38c419130d692c775031cc0e11e +DIST nemo-5.0.0.tar.gz 1482253 BLAKE2B 98727151af7ee8d5047f181308a8a06ba967a0e78438793fd006fa813110a91f8a50a5e1742749ce25ad5674793b67523c5af4e66cdfb6635d93df82fb8bb1e0 SHA512 59b9fb4e32ec8ebfcad632b06b57ea9d79152a36274deaf885bfcaaae6cafee0de0e05c4b9f917c8cc8462e46bdcac27e81b4b3c1fa3f9eb1b6682a31397b13e diff --git a/gnome-extra/nemo/nemo-5.0.0.ebuild b/gnome-extra/nemo/nemo-5.0.0.ebuild new file mode 100644 index 000000000000..983777cfd8bd --- /dev/null +++ b/gnome-extra/nemo/nemo-5.0.0.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) + +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 ~x86" +IUSE="doc exif +nls selinux test tracker 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.0: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/xapps-2.2.0 + + exif? ( >=media-libs/libexif-0.6.20:= ) + selinux? ( sys-libs/libselinux ) + tracker? ( >=app-misc/tracker-2.0:0= ) + 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.0 ) +" +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 + + doc? ( dev-util/gtk-doc ) +" + +DISABLE_AUTOFORMATTING="yes" +FORCE_PRINT_ELOG="yes" +DOC_CONTENTS=" +${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 +OpenDocument files - app-text/odt2txt or app-office/unoconv +PDF - app-text/poppler[utils] +PostScript - app-text/ghostscript-gpl +" + +src_prepare() { + default + python_fix_shebang files/usr/share/nemo/actions install-scripts +} + +src_configure() { + local emesonargs=( + $(meson_use exif) + $(meson_use tracker) + $(meson_use xmp) + $(meson_use selinux) + $(meson_use 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 +} |