mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
AppStream: fix library path in cmake files
This commit is contained in:
parent
20986350fe
commit
5cec1718aa
2 changed files with 22 additions and 1 deletions
21
srcpkgs/AppStream/patches/cross.patch
Normal file
21
srcpkgs/AppStream/patches/cross.patch
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
--- a/qt/meson.build 2024-02-24 22:22:21.000000000 +0100
|
||||||
|
+++ - 2024-03-12 13:03:47.811844901 +0100
|
||||||
|
@@ -127,6 +127,7 @@
|
||||||
|
|
||||||
|
cmake_data = configuration_data()
|
||||||
|
cmake_data.set('LIBDIR_FULL', join_paths(get_option('prefix'), get_option('libdir')))
|
||||||
|
+cmake_data.set('LIBDIR', get_option('libdir'))
|
||||||
|
cmake_data.set('PREFIX', get_option('prefix'))
|
||||||
|
cmake_data.set('VERSION', as_version)
|
||||||
|
|
||||||
|
--- a/qt/cmake/AppStreamQtConfig.cmake.in 2024-02-24 22:22:21.000000000 +0100
|
||||||
|
+++ - 2024-03-12 13:04:12.791711630 +0100
|
||||||
|
@@ -32,7 +32,7 @@
|
||||||
|
set_target_properties(AppStreamQt PROPERTIES
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES "${PACKAGE_PREFIX_DIR}/include/"
|
||||||
|
INTERFACE_LINK_LIBRARIES "Qt::Core"
|
||||||
|
- IMPORTED_LOCATION "@LIBDIR_FULL@/libAppStreamQt.so.${AppStreamQt_VERSION}"
|
||||||
|
+ IMPORTED_LOCATION "${PACKAGE_PREFIX_DIR}/@LIBDIR@/libAppStreamQt.so.${AppStreamQt_VERSION}"
|
||||||
|
IMPORTED_SONAME "libAppStreamQt.${AppStreamQt_VERSION_MAJOR}"
|
||||||
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'AppStream'
|
# Template file for 'AppStream'
|
||||||
pkgname=AppStream
|
pkgname=AppStream
|
||||||
version=1.0.2
|
version=1.0.2
|
||||||
revision=1
|
revision=2
|
||||||
build_style=meson
|
build_style=meson
|
||||||
build_helper="gir qemu"
|
build_helper="gir qemu"
|
||||||
configure_args="$(vopt_bool gir gir) $(vopt_bool vala vapi)
|
configure_args="$(vopt_bool gir gir) $(vopt_bool vala vapi)
|
||||||
|
|
Loading…
Add table
Reference in a new issue