From bd4ed7de655bd60e9fddff546ea583cbfe3639ef Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Fri, 20 May 2022 20:11:25 +0200 Subject: net-misc/gnome-online-miners: Port to tracker-3 Fedora is using this patch for years without issues. Use it waiting for upstream to finally solve it some day. Signed-off-by: Pacho Ramos --- net-misc/gnome-online-miners/Manifest | 1 + .../gnome-online-miners-3.34.0-r2.ebuild | 48 ++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 net-misc/gnome-online-miners/gnome-online-miners-3.34.0-r2.ebuild (limited to 'net-misc/gnome-online-miners') diff --git a/net-misc/gnome-online-miners/Manifest b/net-misc/gnome-online-miners/Manifest index 1b2bf9cb3706..0bc8613a87a7 100644 --- a/net-misc/gnome-online-miners/Manifest +++ b/net-misc/gnome-online-miners/Manifest @@ -1 +1,2 @@ +DIST gnome-online-miners-3.34.0-tracker3.patch 61820 BLAKE2B 0f9f6f09ffb90a5087d227b9eee6f8016cd83cf2459d10a727448dd2a7263e5e1d0ad8b58932e3e7cb86dd32aafc3ead700f7db46d7f9a099ed000acc472aa2d SHA512 11d29fcb91175e6df20dcfdab8ae758a45d2ab03430c1b09284739ad5071b3c3a6297626dd4fa0584021c26d306dced4c0deb109e7488bf48627ee3bc32d443d DIST gnome-online-miners-3.34.0.tar.xz 272324 BLAKE2B 3718b649cd08a03a7e974607975992f4779926c08cbdeb724c314aa431f161599f6d74c2114dc1bd6fa0896781bf07df024f4a53a3f2fadaf1e9d849f8054e5a SHA512 bfcdd7f11607663eda491314c34a9b50f2885f6fb39e7c9e68a77927bbcc326979fb8900ab5dfac1494ac575dbf0e3f3b7459ec3f38cb1eb8961158e3fe44464 diff --git a/net-misc/gnome-online-miners/gnome-online-miners-3.34.0-r2.ebuild b/net-misc/gnome-online-miners/gnome-online-miners-3.34.0-r2.ebuild new file mode 100644 index 000000000000..3628d84feeb4 --- /dev/null +++ b/net-misc/gnome-online-miners/gnome-online-miners-3.34.0-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +GNOME2_EAUTORECONF="yes" + +inherit gnome2 + +DESCRIPTION="Crawls through your online content" +HOMEPAGE="https://wiki.gnome.org/Projects/GnomeOnlineMiners" +SRC_URI="${SRC_URI} + https://src.fedoraproject.org/rpms/gnome-online-miners/raw/f36/f/tracker3.patch -> ${P}-tracker3.patch" + +LICENSE="GPL-2+" +SLOT="0" +IUSE="flickr" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +# libgdata[gnome] needed for goa support +RDEPEND=" + app-misc/tracker:3= + >=dev-libs/glib-2.56.0:2 + >=dev-libs/libgdata-0.15.2:0=[crypt,gnome-online-accounts] + media-libs/grilo:0.3 + >=net-libs/gnome-online-accounts-3.13.3:= + >=net-libs/libgfbgraph-0.2.2:0.2 + >=net-libs/libzapojit-0.0.2 + flickr? ( media-plugins/grilo-plugins:0.3[flickr] ) +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + # From Fedora, waiting to be accepted by upstream + # https://gitlab.gnome.org/GNOME/gnome-online-miners/-/merge_requests/3 + "${DISTDIR}/${P}-tracker3.patch" +) + +src_configure() { + gnome2_src_configure \ + $(use_enable flickr) \ + --disable-static \ + --enable-facebook \ + --enable-google \ + --enable-media-server \ + --enable-owncloud \ + --enable-windows-live +} -- cgit v1.2.3-65-gdbad