media-libs/libiptcdata: add 1.0.5-r2 to fix compiling on Gentoo

Fix missing headers and libraries.

Compiling from inside the 'python' sub-directory doesn't set ${S} as
the top source directory, missing required headers and libraries.

[sam: Drop revbump.]

Closes: https://bugs.gentoo.org/936589
Closes: https://bugs.gentoo.org/941462
Package-Manager: portage-3.0.65-r1
Signed-off-by: Matthew White <mehw.is.me@inventati.org>
Closes: https://github.com/gentoo/gentoo/pull/38974
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Matthew White
2024-10-13 09:59:53 +00:00
committed by Sam James
parent b346835a26
commit f043a66074

View File

@@ -41,6 +41,13 @@ src_prepare() {
eautoreconf
if use python; then
cd python || die
# Bug #936589: compiling from inside the 'python' sub-directory
# might set that as the top source directory, and not ${S}, but
# "${S}/libiptcdata" is required to find headers and libraries.
# Symbolic linking "../libiptcdata" is a possible fix. Another
# way is adding in python/setup.py, under iptcdata's Extension,
# "include_dirs=['..']" and "library_dirs=['../libiptcdata']".
ln -s "../${PN}" . || die
distutils-r1_src_prepare
fi
}