Lines 4-10
Link Here
|
4 |
|
4 |
|
5 |
EAPI="4" |
5 |
EAPI="4" |
6 |
|
6 |
|
7 |
inherit eutils |
7 |
inherit eutils toolchain-funcs |
8 |
|
8 |
|
9 |
DESCRIPTION="graphical scanning frontend" |
9 |
DESCRIPTION="graphical scanning frontend" |
10 |
HOMEPAGE="http://www.xsane.org/" |
10 |
HOMEPAGE="http://www.xsane.org/" |
Lines 45-50
Link Here
|
45 |
|
45 |
|
46 |
# Fix compability with libpng15 wrt #377363 |
46 |
# Fix compability with libpng15 wrt #377363 |
47 |
sed -i -e 's:png_ptr->jmpbuf:png_jmpbuf(png_ptr):' src/xsane-save.c || die |
47 |
sed -i -e 's:png_ptr->jmpbuf:png_jmpbuf(png_ptr):' src/xsane-save.c || die |
|
|
48 |
|
49 |
# Fix calling AR directly (bug #442606) |
50 |
sed -i -e "s:ar r:$(tc-getAR) r:" lib/Makefile.in || die |
48 |
} |
51 |
} |
49 |
|
52 |
|
50 |
src_configure() { |
53 |
src_configure() { |
Lines 76-82
Link Here
|
76 |
die "Can't find GIMP plugin directory." |
79 |
die "Can't find GIMP plugin directory." |
77 |
fi |
80 |
fi |
78 |
dodir "${plugindir#${EPREFIX}}" |
81 |
dodir "${plugindir#${EPREFIX}}" |
79 |
dosym /usr/bin/xsane "${plugindir#${EPREFIX}}" |
82 |
dosym /usr/bin/xsane "${plugindir#${EPREFIX}}/xsane" |
80 |
fi |
83 |
fi |
81 |
|
84 |
|
82 |
newicon src/xsane-48x48.png ${PN}.png |
85 |
newicon src/xsane-48x48.png ${PN}.png |