FS#74849 - [libde265] cmake specific files for use with cmake findPackage are not installed

Attached to Project: Arch Linux
Opened by Viktor Schneider (VJSchneid) - Wednesday, 25 May 2022, 09:25 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 19 June 2022, 08:57 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Due to the fact that libde265 is built using autoconf, some cmake specific configuration files are not installed.
Therefor it is not possible to conveniently use cmakes findPackage to locate libde265.
These missing files are the following:
- /usr/lib/cmake/libde265/libde265Config.cmake
- /usr/lib/cmake/libde265/libde265Config-noconfig.cmake
- /usr/lib/cmake/libde265/libde265ConfigVersion.cmake

I already tried to build (and install) this package using cmake but then there is the pkg-config file missing.
Therefor I think one would need to run the configure stage of cmake first, which generates the missing files,
copy them manually and afterwards build and install the program using autoconf.

The modified PKGBUILD file which does this can be found in the attachment.
This task depends upon

Closed by  Antonio Rojas (arojas)
Sunday, 19 June 2022, 08:57 GMT
Reason for closing:  Won't implement
Comment by Antonio Rojas (arojas) - Thursday, 26 May 2022, 19:05 GMT
Given that no other distro is shipping this, and the generated files are broken by default, I wonder how useful this really is. It seems to me that projects wanting to use this via cmake should ship their own Findlibde265.cmake or use pkg_check_modules until upstream properly supports cmake.

Loading...