commit: 5dbfbd3d6dddf960126cbb6750e2cd3630274132 Author: Ole Reifschneider <tranquility <AT> gentoo <DOT> org> AuthorDate: Sat Apr 2 21:50:32 2016 +0000 Commit: Ole Reifschneider <tranquility <AT> gentoo <DOT> org> CommitDate: Sat Apr 2 21:50:32 2016 +0000 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=5dbfbd3d
gnome-extra/nautilus-tracker-tags: Bump version to 1.8.0 Package-Manager: portage-2.2.28 Manifest-Sign-Key: 0xE9E568677E8B4D42 .../nautilus-tracker-tags/files/0.12.5-Makefile | 15 ++++++++ gnome-extra/nautilus-tracker-tags/metadata.xml | 8 +++++ .../nautilus-tracker-tags-1.8.0.ebuild | 41 ++++++++++++++++++++++ 3 files changed, 64 insertions(+) diff --git a/gnome-extra/nautilus-tracker-tags/files/0.12.5-Makefile b/gnome-extra/nautilus-tracker-tags/files/0.12.5-Makefile new file mode 100644 index 0000000..c2aecec --- /dev/null +++ b/gnome-extra/nautilus-tracker-tags/files/0.12.5-Makefile @@ -0,0 +1,15 @@ +EXTENSIONDIR := $(shell pkg-config --variable=extensiondir libnautilus-extension) +CFLAGS := -fPIC $(CFLAGS) $(shell pkg-config --cflags glib-2.0 gtk+-3.0 libnautilus-extension tracker-sparql-$(TRACKER_API)) +LIBS := $(shell pkg-config --libs glib-2.0 gtk+-3.0 libnautilus-extension tracker-sparql-$(TRACKER_API)) +RPATH := $(shell pkg-config --variable=libdir tracker-sparql-$(TRACKER_API))/tracker-$(TRACKER_API) +INSTALL = install + +object_files = tracker-tags-extension.o tracker-tags-utils.o tracker-tags-view.o + +libnautilus-tracker-tags.so: $(object_files) + $(CC) -shared -Wl,-rpath=$(RPATH) -Wl,-soname=$@ $(LDFLAGS) $^ $(LIBS) -o $@ + +install: libnautilus-tracker-tags.so + $(INSTALL) -d $(DESTDIR)$(EXTENSIONDIR)/ + $(INSTALL) $^ $(DESTDIR)$(EXTENSIONDIR)/ + diff --git a/gnome-extra/nautilus-tracker-tags/metadata.xml b/gnome-extra/nautilus-tracker-tags/metadata.xml new file mode 100644 index 0000000..3998080 --- /dev/null +++ b/gnome-extra/nautilus-tracker-tags/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>gn...@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> +</maintainer> +</pkgmetadata> diff --git a/gnome-extra/nautilus-tracker-tags/nautilus-tracker-tags-1.8.0.ebuild b/gnome-extra/nautilus-tracker-tags/nautilus-tracker-tags-1.8.0.ebuild new file mode 100644 index 0000000..b773e55 --- /dev/null +++ b/gnome-extra/nautilus-tracker-tags/nautilus-tracker-tags-1.8.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2016 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" +}