Missing sdbus-c++-xml2cpp executable
Description: Since 2.0 version bump, package does not provide sdbus-c++-xml2cpp executable. This stems from upstream renaming CMake options responsible for building this tool, while PKGBUILD uses the old ones.
As side note, funnily the doxygen generation succeeds because the old CMake option name which upstream forgot to change in docs/CMakeLists.txt
.
Fix:
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,7 +22,7 @@ build() {
cmake -B build -S "$_archive" \
-D CMAKE_INSTALL_PREFIX=/ \
-D CMAKE_BUILD_TYPE=Release \
- -D BUILD_CODE_GEN=ON \
+ -D SDBUSCPP_BUILD_CODEGEN=ON \
-D BUILD_DOXYGEN_DOC=ON
cmake --build build
cmake --build build --target doc
@@ -48,7 +48,7 @@ _package_dir() {
package_sdbus-cpp() {
provides=(libsdbus-c++.so)
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgbase/" "$_archive/COPYING"*
- for dir in lib include; do
+ for dir in lib include bin; do
_package_dir $dir
done
}