summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-Antoine Perennou <Marc-Antoine@Perennou.com>2011-10-22 18:35:39 +0200
committerMarc-Antoine Perennou <Marc-Antoine@Perennou.com>2011-10-22 18:35:39 +0200
commit032cf7de058653b6d30401a60aa9aad100793613 (patch)
tree96bca0d44828632541b3649231889e07cb17a2c3
parentfix (diff)
downloadkeruspe-032cf7de058653b6d30401a60aa9aad100793613.tar.gz
keruspe-032cf7de058653b6d30401a60aa9aad100793613.tar.bz2
keruspe-032cf7de058653b6d30401a60aa9aad100793613.zip
nautilus-tracker-tags scm
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
-rw-r--r--gnome-extra/nautilus-tracker-tags/Manifest2
-rw-r--r--gnome-extra/nautilus-tracker-tags/files/0.12.5-Makefile15
-rw-r--r--gnome-extra/nautilus-tracker-tags/nautilus-tracker-tags-9999.ebuild50
3 files changed, 67 insertions, 0 deletions
diff --git a/gnome-extra/nautilus-tracker-tags/Manifest b/gnome-extra/nautilus-tracker-tags/Manifest
new file mode 100644
index 00000000..cbe46fbb
--- /dev/null
+++ b/gnome-extra/nautilus-tracker-tags/Manifest
@@ -0,0 +1,2 @@
+AUX 0.12.5-Makefile 759 RMD160 afe78f92000d74b81a8eeafbf0e267a0bdfad2d5 SHA1 b32c89e31277614c41f2796260e0a38e59876c04 SHA256 0899d00cce355cef1dd93c8d7da0fb68a461184e904c817e4109f51e123786fb
+EBUILD nautilus-tracker-tags-9999.ebuild 994 RMD160 99ef0471414e431f8121200dc238a01876e55cb9 SHA1 96249e767294fda9454a2a24b44ea85841be9b17 SHA256 77cc8f5601361b2934c29e9eed8920b6666abba4dc001a03b1eba51b1fd3ddf8
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 00000000..c2aececf
--- /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/nautilus-tracker-tags-9999.ebuild b/gnome-extra/nautilus-tracker-tags/nautilus-tracker-tags-9999.ebuild
new file mode 100644
index 00000000..2c1695bb
--- /dev/null
+++ b/gnome-extra/nautilus-tracker-tags/nautilus-tracker-tags-9999.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+GNOME_ORG_MODULE="tracker"
+
+inherit gnome2-live toolchain-funcs
+
+DESCRIPTION="Nautilus extension to tag files for Tracker"
+HOMEPAGE="http://www.tracker-project.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+COMMON_DEPEND=">=app-misc/tracker-${PV}
+ >=dev-libs/glib-2.28: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}"
+
+pkg_setup() {
+ tc-export CC
+ export TRACKER_API="0.14"
+}
+
+src_prepare() {
+ cd src/plugins/nautilus
+ cp "${FILESDIR}/0.12.5-Makefile" Makefile || die "cp failed"
+ sed -e 's:#include "config.h"::' -i *.c *.h || die "sed failed"
+}
+
+src_configure() {
+ :
+}
+
+src_compile() {
+ cd src/plugins/nautilus
+ emake
+}
+
+src_install() {
+ cd src/plugins/nautilus
+ emake DESTDIR="${D}" install
+}