You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/gnome-extra/nautilus-tracker-tags/nautilus-tracker-tags-1.8.0...

43 lines
969 B

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
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() {
default
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"
}