| # Copyright 1999-2015 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
| # $Id$ |
| |
| EAPI="5" |
| GNOME_ORG_MODULE="tracker" |
| |
| inherit gnome.org toolchain-funcs |
| |
| DESCRIPTION="Nautilus extension to tag files for Tracker" |
| HOMEPAGE="https://wiki.gnome.org/Projects/Tracker" |
| |
| LICENSE="GPL-2" |
| SLOT="0" |
| KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
| IUSE="" |
| |
| COMMON_DEPEND=" |
| ~app-misc/tracker-${PV} |
| >=dev-libs/glib-2.38:2 |
| >=gnome-base/nautilus-2.90 |
| x11-libs/gtk+:3 |
| " |
| RDEPEND="${COMMON_DEPEND} |
| !<app-misc/tracker-0.12.5-r1[nautilus] |
| " |
| # Before tracker-0.12.5-r1, nautilus-tracker-tags was part of tracker |
| DEPEND="${COMMON_DEPEND}" |
| |
| S="${S}/src/plugins/nautilus" |
| |
| pkg_setup() { |
| tc-export CC |
| export TRACKER_API=1.0 |
| } |
| |
| src_prepare() { |
| cp "${FILESDIR}/0.12.5-Makefile" Makefile || die "cp failed" |
| # config.h is not used, but is included in every source file... |
| sed -e 's:#include "config.h"::' -i *.c *.h || die "sed failed" |
| } |