| Summary: | media-libs/smpeg2 installs /usr/bin/smpeg2-config which is hardcoded to only work with abi_x86_64 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | James D. Taylor <james.d.taylor> |
| Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| See Also: | https://bugs.gentoo.org/show_bug.cgi?id=538874 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | |||
| Bug Blocks: | 538874 | ||
| Attachments: | Adds multilib capable pkgconfig .pc file for media-libs/smpeg2-2.0.0-r2 | ||
|
Description
James D. Taylor
2015-02-05 04:02:28 UTC
Created attachment 395664 [details, diff]
Adds multilib capable pkgconfig .pc file for media-libs/smpeg2-2.0.0-r2
This adds an smpeg2.pc file in the exact same way as libsdl2 to be installed in /usr/lib32/pkgconfig and /usr/lib64/pkgconfig. I also updated its aclocal smpeg.m4 to pull in these new pc files. Basically all ripped from sdl2. Either apply as an epatch or wait until we I hear any response from upstream.
Installing custom .pc files is against Gentoo rules. So unless upstream is really interested in having it, we need to go the regular way and MULTILIB_CHOST_TOOLS it. The same applies to smpeg-1. Oh, there's one more alternative -- libsdl patches sdl-config to output libdir only when it's some kind of special root. You could apply a similar patch to smpeg instead of fixing stuff properly. stole the patch from smpeg that works around it in the quick and dirty way. |