Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#77310 - [libde265] malformed .pc file.

Attached to Project: Arch Linux
Opened by Hussam Al-Tayeb (hussam) - Sunday, 29 January 2023, 09:37 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 29 January 2023, 15:03 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

libde265.pc file

prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=@CMAKE_INSTALL_PREFIX@
libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@

Name: libde265
Description: H.265/HEVC video decoder.
URL: https://github.com/strukturag/libde265
Version: 1.0.10
Requires:
Libs: -lde265 -L${exec_prefix}/lib
Libs.private: -lm -lstdc++
Cflags: -I${prefix}/include

Notice @CMAKE_INSTALL_PREFIX@ and other variables are not correctly replaced.
This breaks compiling libheif.

This task depends upon

Closed by  Antonio Rojas (arojas)
Sunday, 29 January 2023, 15:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  libde265 1.0.10-2
Comment by loqs (loqs) - Sunday, 29 January 2023, 12:00 GMT
This was broken by upstream [1] please report it there.
Edit:
Using a separate template file for each build system creates duplication but does resolve the issue.
Edit2:
test.patch.2 uses a single template file, maps the variables in cmake to match autotools. It then produces the same libde265.pc from both build systems.

[1] https://github.com/strukturag/libde265/commit/388b61459c2abe2b949114ab54e83fb4dbfa8ba0

Loading...