1 |
tetromino 11/11/02 16:24:23 |
2 |
|
3 |
Added: 0.12.5-Makefile |
4 |
Log: |
5 |
New ebuild from the gnome-overlay, split off from app-misc/tracker in order to avoid circular dependencies with nautilus[tracker]. For simplicity and build speed, it uses a custom makefile (most of tracker's build infrastructure is unnecessary for building the nautilus extension). |
6 |
|
7 |
(Portage version: 2.2.0_alpha72/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 gnome-extra/nautilus-tracker-tags/files/0.12.5-Makefile |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/nautilus-tracker-tags/files/0.12.5-Makefile?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/nautilus-tracker-tags/files/0.12.5-Makefile?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: 0.12.5-Makefile |
16 |
=================================================================== |
17 |
EXTENSIONDIR := $(shell pkg-config --variable=extensiondir libnautilus-extension) |
18 |
CFLAGS := -fPIC $(CFLAGS) $(shell pkg-config --cflags glib-2.0 gtk+-3.0 libnautilus-extension tracker-sparql-$(TRACKER_API)) |
19 |
LIBS := $(shell pkg-config --libs glib-2.0 gtk+-3.0 libnautilus-extension tracker-sparql-$(TRACKER_API)) |
20 |
RPATH := $(shell pkg-config --variable=libdir tracker-sparql-$(TRACKER_API))/tracker-$(TRACKER_API) |
21 |
INSTALL = install |
22 |
|
23 |
object_files = tracker-tags-extension.o tracker-tags-utils.o tracker-tags-view.o |
24 |
|
25 |
libnautilus-tracker-tags.so: $(object_files) |
26 |
$(CC) -shared -Wl,-rpath=$(RPATH) -Wl,-soname=$@ $(LDFLAGS) $^ $(LIBS) -o $@ |
27 |
|
28 |
install: libnautilus-tracker-tags.so |
29 |
$(INSTALL) -d $(DESTDIR)$(EXTENSIONDIR)/ |
30 |
$(INSTALL) $^ $(DESTDIR)$(EXTENSIONDIR)/ |