1 |
hollow 10/08/22 07:24:56 |
2 |
|
3 |
Added: libraw-0.9.1-pkg-config.patch |
4 |
Log: |
5 |
initial ebuild, bug #327013 |
6 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 media-libs/libraw/files/libraw-0.9.1-pkg-config.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libraw/files/libraw-0.9.1-pkg-config.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libraw/files/libraw-0.9.1-pkg-config.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: libraw-0.9.1-pkg-config.patch |
15 |
=================================================================== |
16 |
'diff --git a/Makefile b/Makefile |
17 |
index 51ba805..8e9dac2 100644 |
18 |
--- a/Makefile |
19 |
+++ b/Makefile |
20 |
@@ -20,6 +20,7 @@ all_samples: bin/raw-identify bin/simple_dcraw bin/dcraw_emu bin/dcraw_half bin |
21 |
install: library |
22 |
@if [ -d /usr/local/include ] ; then cp -R libraw /usr/local/include/ ; else echo 'no /usr/local/include' ; fi |
23 |
@if [ -d /usr/local/lib ] ; then cp lib/libraw.a lib/libraw_r.a /usr/local/lib/ ; else echo 'no /usr/local/lib' ; fi |
24 |
+ @if [ -d /usr/local/lib/pkgconfig ] ; then cp libraw.pc libraw_r.pc /usr/local/lib/pkgconfig ; else echo 'no /usr/local/lib/pkgconfig' ; fi |
25 |
|
26 |
install-binaries: all_samples |
27 |
@if [ -d /usr/local/bin ] ; then cp bin/[a-z]* /usr/local/bin/ ; else echo 'no /usr/local/bin' ; fi |
28 |
diff --git a/libraw.pc b/libraw.pc |
29 |
new file mode 100644 |
30 |
index 0000000..15ec862 |
31 |
--- /dev/null |
32 |
+++ b/libraw.pc |
33 |
@@ -0,0 +1,12 @@ |
34 |
+prefix=/usr |
35 |
+exec_prefix=${prefix} |
36 |
+libdir=${exec_prefix}/lib |
37 |
+includedir=${prefix}/include |
38 |
+ |
39 |
+Name: libraw |
40 |
+Description: Raw image decoder library (non-thread-safe) |
41 |
+Requires: |
42 |
+Version: 0.9.1 |
43 |
+Libs: -L${libdir} -lraw -lstdc++ |
44 |
+Cflags: -I${includedir}/libraw |
45 |
+ |
46 |
diff --git a/libraw_r.pc b/libraw_r.pc |
47 |
new file mode 100644 |
48 |
index 0000000..b54242b |
49 |
--- /dev/null |
50 |
+++ b/libraw_r.pc |
51 |
@@ -0,0 +1,12 @@ |
52 |
+prefix=/usr |
53 |
+exec_prefix=${prefix} |
54 |
+libdir=${exec_prefix}/lib |
55 |
+includedir=${prefix}/include |
56 |
+ |
57 |
+Name: libraw |
58 |
+Description: Raw image decoder library (thread-safe) |
59 |
+Requires: |
60 |
+Version: 0.9.1 |
61 |
+Libs: -L${libdir} -lraw_r -lstdc++ |
62 |
+Cflags: -I${includedir}/libraw |
63 |
+ |