1 |
aballier 11/01/24 11:55:39 |
2 |
|
3 |
Added: ir_lv2-1.1-makefile.patch |
4 |
Log: |
5 |
initial import, ebuild by me |
6 |
|
7 |
(Portage version: 2.2.0_alpha19/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 media-plugins/ir_lv2/files/ir_lv2-1.1-makefile.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/ir_lv2/files/ir_lv2-1.1-makefile.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/ir_lv2/files/ir_lv2-1.1-makefile.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: ir_lv2-1.1-makefile.patch |
16 |
=================================================================== |
17 |
Index: ir.lv2/Makefile |
18 |
=================================================================== |
19 |
--- ir.lv2.orig/Makefile |
20 |
+++ ir.lv2/Makefile |
21 |
@@ -10,7 +10,7 @@ INSTDIR = $(PREFIX)/lib/lv2/ir.lv2 |
22 |
INST_FILES = ir.so ir_gui.so ir.ttl manifest.ttl |
23 |
|
24 |
# change "-O2 -ffast-math" to "-g -O0" below if you want to debug the plugin |
25 |
-CPPFLAGS += -Wall -I. -I/usr/include `pkg-config --cflags gtk+-2.0` `pkg-config --cflags gthread-2.0` -D__STDC_FORMAT_MACROS -O2 -ffast-math |
26 |
+CPPFLAGS += -Wall -I. -I/usr/include `pkg-config --cflags gtk+-2.0` `pkg-config --cflags gthread-2.0` -D__STDC_FORMAT_MACROS |
27 |
LIBS += -lc -lm -lzita-convolver -lsamplerate -lsndfile `pkg-config --libs gthread-2.0` `pkg-config --libs gtk+-2.0` |
28 |
|
29 |
ifeq ($(shell pkg-config --atleast-version='2.20' gtk+-2.0; echo $$?), 0) |
30 |
@@ -23,31 +23,25 @@ C4LIBS = -lsndfile `pkg-config --libs gt |
31 |
all: ir.so ir_gui.so |
32 |
|
33 |
ir.o: ir.cc ir.h ir_utils.h |
34 |
- g++ ir.cc $(CPPFLAGS) -c -fPIC -o ir.o |
35 |
|
36 |
ir_gui.o: ir_gui.cc ir.h ir_utils.h ir_wavedisplay.h |
37 |
- g++ ir_gui.cc $(CPPFLAGS) -c -fPIC -o ir_gui.o |
38 |
|
39 |
ir_utils.o: ir_utils.cc ir_utils.h ir.h |
40 |
- g++ ir_utils.cc $(CPPFLAGS) -c -fPIC -o ir_utils.o |
41 |
|
42 |
ir_meter.o: ir_meter.cc ir_meter.h ir.h ir_utils.h |
43 |
- g++ ir_meter.cc $(CPPFLAGS) -c -fPIC -o ir_meter.o |
44 |
|
45 |
ir_modeind.o: ir_modeind.cc ir_modeind.h ir.h ir_utils.h |
46 |
- g++ ir_modeind.cc $(CPPFLAGS) -c -fPIC -o ir_modeind.o |
47 |
|
48 |
ir_wavedisplay.o: ir_wavedisplay.cc ir_wavedisplay.h ir.h ir_utils.h |
49 |
- g++ ir_wavedisplay.cc $(CPPFLAGS) -c -fPIC -o ir_wavedisplay.o |
50 |
|
51 |
ir.so: ir.o ir_utils.o |
52 |
- g++ ir.o ir_utils.o $(LIBS) -shared -o ir.so |
53 |
+ $(CXX) $(LDFLAGS) ir.o ir_utils.o $(LIBS) -shared -o ir.so |
54 |
|
55 |
ir_gui.so: ir_gui.o ir_utils.o ir_meter.o ir_modeind.o ir_wavedisplay.o |
56 |
- g++ ir_gui.o ir_utils.o ir_meter.o ir_modeind.o ir_wavedisplay.o $(LIBS) -shared -o ir_gui.so |
57 |
+ $(CXX) $(LDFLAGS) ir_gui.o ir_utils.o ir_meter.o ir_modeind.o ir_wavedisplay.o $(LIBS) -shared -o ir_gui.so |
58 |
|
59 |
convert4chan: convert4chan.c |
60 |
- gcc $(C4CFLAGS) convert4chan.c $(C4LIBS) -o convert4chan |
61 |
+ $(CC) $(C4CFLAGS) convert4chan.c $(C4LIBS) -o convert4chan |
62 |
|
63 |
install: all |
64 |
mkdir -p $(INSTDIR) |