Hi,
sorry for posting here but gentoo-devhelp seems to be dead.
I need an ebuild for libmypaint (GIT version) since this is required by the GIT
version of Gimp.
I use
src_compile() {
#workaround scons bug with locales. Bug #352700
export LANG="en_US.UTF-8"
tc-export CC CXX
myesconsargs=( "enable_gegl=true" "GEGL_VERSION=0.3" )
escons
}
src_install () {
escons prefix="${D}/usr" install
python_optimize "${D}"usr/share/${PN}
}
Unfortunately, the pkg-config files
/usr/lib/pkgconfig/libmypaint-gegl.pc and /usr/lib/pkgconfig/libmypaint.pc
still contain the paths during build, i.e.
prefix=/var/tmp/portage/media-libs/libmypaint-/image//usr
exec_prefix=/var/tmp/portage/media-libs/libmypaint-/image//usr
libdir=/var/tmp/portage/media-libs/libmypaint-/image//usr/lib
includedir=/var/tmp/portage/media-libs/libmypaint-/image//usr/include
How can I fix this?
Many thanks for a hint,
Helmut