diff options
author | Mart Raudsepp <leio@gentoo.org> | 2019-02-15 20:53:51 +0200 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2019-02-15 21:21:30 +0200 |
commit | 16037b116e7b11434a72bcfbdd0fad1339b9c7bd (patch) | |
tree | b4efcf6d1df42d7f02ac0d1d9314cf2993fcc110 /gnome-extra/nemo | |
parent | x11-misc/trayer: Drop old (diff) | |
download | gentoo-16037b116e7b11434a72bcfbdd0fad1339b9c7bd.tar.gz gentoo-16037b116e7b11434a72bcfbdd0fad1339b9c7bd.tar.bz2 gentoo-16037b116e7b11434a72bcfbdd0fad1339b9c7bd.zip |
gnome-extra/nemo: bump to 4.0.6, add tracker-2 compatibility
Bug: https://bugs.gentoo.org/672308
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'gnome-extra/nemo')
-rw-r--r-- | gnome-extra/nemo/Manifest | 1 | ||||
-rw-r--r-- | gnome-extra/nemo/files/tracker-2.patch | 27 | ||||
-rw-r--r-- | gnome-extra/nemo/nemo-4.0.6.ebuild | 84 |
3 files changed, 112 insertions, 0 deletions
diff --git a/gnome-extra/nemo/Manifest b/gnome-extra/nemo/Manifest index 397a291e79a0..ced9a92831c8 100644 --- a/gnome-extra/nemo/Manifest +++ b/gnome-extra/nemo/Manifest @@ -2,3 +2,4 @@ DIST nemo-3.6.4.tar.gz 1433265 BLAKE2B 0640ad5e803d955072d0773ef3ea20739d6189720 DIST nemo-3.8.5.tar.gz 1424948 BLAKE2B fc773f7a1666d94beabfaab3b1e97c4a6f32cd61dbb2e5eefc57cb3fd577df780f5d220501d7dbc6c67955afb9a623d36d1631c8b3c5e201894529784ac1991c SHA512 8ae4eafdd056e7e33c722c96a82e8bb5b10617823397927a3247e27bde14a3083f4402cd7e7bfc6a4f7802fe8c7aed005fa912a9855b6accb36af3a7f63b3188 DIST nemo-3.8.6.tar.gz 1425290 BLAKE2B 15e82a6b6c298e66f6d752f738bec31d1d4fab726f86baa5d58c5d47cfef2de218c18c711ee95588f68c4bd8bced41a993af3c100b8478707a746857cce906ad SHA512 88cc268aabd9fadcb87df55e3872bc69f136e68f252ad2077e1cbf86e3c53d027142390883cdd61235171d04807d8ae85893abbdc65ff34cc6207d10879b1797 DIST nemo-4.0.2.tar.gz 1446758 BLAKE2B 37141bf514b4a17a41876a643f89cb489a7991d2ef0792a23a9b5b08ff1462733e820cde3f23dc1943dec90eb57e9d68ff1e58e526026c738d3f3b71cc0b7957 SHA512 d2c60f379092dee79902877beb2d47d2cfcb4a22b1f86fd84fafb96367c74cc2cd060bdcf8c7fef28ef5ff6df488a4a15f0c8b9fb1680eda26a13208a4a5742c +DIST nemo-4.0.6.tar.gz 1449313 BLAKE2B 0d80e23a503c34e52f126635a7b3df54f7f0d336a637f14e11ac8e1d252a4b7bd43173c362ea0f24602fc4eceb71c97d651ddec2f2922d70c32518fbc8d15424 SHA512 87006f345317b37093daed1081880a4c28eb84438b9c43f9b62211824306074969e5e21df57cfc5fa163d66d16bcf7ba6c26674e27353cfd8a91cf2bfe82099f diff --git a/gnome-extra/nemo/files/tracker-2.patch b/gnome-extra/nemo/files/tracker-2.patch new file mode 100644 index 000000000000..22b7c121a787 --- /dev/null +++ b/gnome-extra/nemo/files/tracker-2.patch @@ -0,0 +1,27 @@ +From 8010ff6706fdc32c21b4d5d96cf9000a841a090d Mon Sep 17 00:00:00 2001 +From: Mart Raudsepp <leio@gentoo.org> +Date: Fri, 15 Feb 2019 20:46:42 +0200 +Subject: [PATCH] meson: Try tracker-2 + +--- + meson.build | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/meson.build b/meson.build +index 028d5b2..d0bcbab 100644 +--- a/meson.build ++++ b/meson.build +@@ -90,7 +90,10 @@ tracker_enabled = false + if trackerChoice != 'false' + trackerRequired = (trackerChoice == 'true') + # Check all the possible versions ++ tracker_sparql = dependency('tracker-sparql-2.0', required: false) ++ if not tracker_sparql.found() + tracker_sparql = dependency('tracker-sparql-1.0', required: false) ++ endif + if not tracker_sparql.found() + tracker_sparql = dependency('tracker-sparql-0.18', required: false) + endif +-- +2.17.0 + diff --git a/gnome-extra/nemo/nemo-4.0.6.ebuild b/gnome-extra/nemo/nemo-4.0.6.ebuild new file mode 100644 index 000000000000..3c8bdbdbb9cb --- /dev/null +++ b/gnome-extra/nemo/nemo-4.0.6.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GNOME2_LA_PUNT="yes" +PYTHON_COMPAT=( python3_{4,5,6} ) + +inherit meson eutils gnome2 python-any-r1 virtualx + +DESCRIPTION="A file manager for Cinnamon, forked from Nautilus" +HOMEPAGE="http://cinnamon.linuxmint.com/" +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 ~x86" +IUSE="exif +introspection +nls packagekit selinux tracker xmp" +RESTRICT=test + +COMMON_DEPEND=" + >=dev-libs/glib-2.37.3:2[dbus] + >=gnome-extra/cinnamon-desktop-2.6.1:0= + >=x11-libs/pango-1.28.3 + >=x11-libs/gtk+-3.9.10:3[introspection?] + >=dev-libs/libxml2-2.7.8:2 + + gnome-base/dconf:0= + gnome-base/gsettings-desktop-schemas + >=x11-libs/libnotify-0.7:= + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrender + >=x11-libs/xapps-1.4.0 + + exif? ( >=media-libs/libexif-0.6.20:= ) + introspection? ( >=dev-libs/gobject-introspection-0.6.4:= ) + tracker? ( >=app-misc/tracker-0.12:= ) + xmp? ( >=media-libs/exempi-2.2.0:= ) + selinux? ( sys-libs/libselinux ) +" +RDEPEND="${COMMON_DEPEND} + x11-themes/adwaita-icon-theme + nls? ( >=gnome-extra/cinnamon-translations-2.2 ) +" + +PDEPEND=">=gnome-base/gvfs-0.1.2" + +DEPEND="${COMMON_DEPEND} + ${PYTHON_DEPS} + $(python_gen_any_dep ' + dev-python/polib[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + ') + >=dev-lang/perl-5 + >=dev-util/gdbus-codegen-2.31.0 + dev-util/gtk-doc-am + >=dev-util/intltool-0.40.1 + sys-devel/gettext + virtual/pkgconfig + x11-base/xorg-proto + + dev-util/gtk-doc + gnome-base/gnome-common +" +# For eautoreconf +# gnome-base/gnome-common, dev-util/gtk-doc (not only -am!) + +PATCHES=( "${FILESDIR}"/tracker-2.patch ) + +src_prepare() { + gnome2_src_prepare +} + +src_configure() { + meson_src_configure \ + -Dexif=$(usex exif true false) \ + -Dtracker=$(usex tracker true false) \ + -Dxmp=$(usex xmp true false) \ + -Dselinux=$(usex selinux true false) +} + +src_install() { + meson_src_install +} |