Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927016 - media-libs/kvazaar-2.3.0 generates incorrect pkgconfig files
Summary: media-libs/kvazaar-2.3.0 generates incorrect pkgconfig files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL: https://github.com/ultravideo/kvazaar...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-14 11:39 UTC by Podko Andrew
Modified: 2024-03-16 16:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Podko Andrew 2024-03-14 11:39:25 UTC
that should looks like
prefix=/usr
exec_prefix=${prefix}
libdir=/usr/lib64
incdir=${prefix}/include

Name: libkvazaar
Description: Open-source HEVC encoder
Version: 2.2.0
Libs: -L${libdir} -lkvazaar
Libs.private: -lpthread -lm   -lrt
Cflags: -I${incdir}

but it looks like

prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}
libdir=${prefix}/lib
incdir=${prefix}/include

Name: libkvazaar
Description: @CMAKE_PROJECT_DESCRIPTION@
URL: @CMAKE_PROJECT_HOMEPAGE_URL@
Version: @PROJECT_VERSION@
Libs: -L${libdir} -lkvazaar
Libs.private: -lpthread -lm   -lrt
Cflags: -I${incdir}

as result ffmpeg can't execute even configure with message
ERROR: kvazaar >= 2.0.0 not found using pkg-config

Reproducible: Always

Steps to Reproduce:
1. emerge =media-libs/kvazaar-2.3.0 -1
2. emerge =media-video/ffmpeg-6.1.1-r4 -1
3. cat /usr/lib64/pkgconfig/kvazaar.pc
Actual Results:  
ERROR: kvazaar >= 2.0.0 not found using pkg-config
on attempt to emerge ffmpeg
Comment 1 Larry the Git Cow gentoo-dev 2024-03-16 11:25:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d17f4349ff79fd4f0307bff8c93e549956b3c07

commit 6d17f4349ff79fd4f0307bff8c93e549956b3c07
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2024-03-16 11:23:21 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2024-03-16 11:24:49 +0000

    media-libs/kvazaar: fix missing version in pc file
    
    Closes: https://bugs.gentoo.org/927016
    Closes: https://bugs.gentoo.org/927082
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 .../files/kvazaar-2.3.0-backport-f6a9d92.patch     | 75 ++++++++++++++++++++++
 ...vazaar-2.3.0.ebuild => kvazaar-2.3.0-r1.ebuild} |  1 +
 2 files changed, 76 insertions(+)