1 |
commit: 0e0af4b996ea2af1667d48a7c800c10081731f54 |
2 |
Author: Ian Delaney <idella4 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 21 04:58:31 2015 +0000 |
4 |
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 21 04:59:25 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e0af4b9 |
7 |
|
8 |
media-gfx/photivo: fix location of header file in live ebuild |
9 |
|
10 |
patch by wraeth submitted via, and closes, bug #560120 |
11 |
|
12 |
Package-Manager: portage-2.2.20.1 |
13 |
|
14 |
media-gfx/photivo/photivo-9999.ebuild | 12 ++++++++++-- |
15 |
1 file changed, 10 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/media-gfx/photivo/photivo-9999.ebuild b/media-gfx/photivo/photivo-9999.ebuild |
18 |
index 9f921e5..b6626ed 100644 |
19 |
--- a/media-gfx/photivo/photivo-9999.ebuild |
20 |
+++ b/media-gfx/photivo/photivo-9999.ebuild |
21 |
@@ -8,7 +8,7 @@ inherit qt4-r2 mercurial |
22 |
|
23 |
DESCRIPTION="Photo processor for RAW and Bitmap images" |
24 |
HOMEPAGE="http://www.photivo.org" |
25 |
-EHG_REPO_URI="https://photivo.googlecode.com/hg/" |
26 |
+EHG_REPO_URI="https://bitbucket.org/Photivo/photivo" |
27 |
|
28 |
LICENSE="GPL-3" |
29 |
SLOT="0" |
30 |
@@ -33,10 +33,18 @@ src_prepare() { |
31 |
local File |
32 |
for File in $(find "${S}" -type f); do |
33 |
if grep -sq ccache ${File}; then |
34 |
- sed -e 's/ccache//' -i "${File}" |
35 |
+ sed -e 's/ccache//' -i "${File}" || die |
36 |
fi |
37 |
done |
38 |
|
39 |
+ # bug 560120 - fix includes for lensfun.h |
40 |
+ sed -s -e 's:lensfun.h:lensfun\/lensfun.h:' \ |
41 |
+ -i ReferenceMaterial/LensFunSample.c \ |
42 |
+ -i Sources/ptConstants.h \ |
43 |
+ -i Sources/ptImage.h \ |
44 |
+ -i Sources/ptImage_Lensfun.cpp \ |
45 |
+ -i Sources/ptLensfun.h || die |
46 |
+ |
47 |
# useless check (no pkgconfig file is provided) |
48 |
sed -e "/PKGCONFIG += CImg/d" \ |
49 |
-i photivoProject/photivoProject.pro || die |