kcoreaddons: update to 5.36.0.

This commit is contained in:
yopito 2017-05-13 18:55:22 +02:00 committed by Michael Gehring
parent 2defdad9a7
commit a57b7f9c14
2 changed files with 19 additions and 3 deletions

View File

@ -0,0 +1,16 @@
fix cmake code for cross-build usage.
Initial directive "command KF5::desktoptojson ..." points
the target's arch desktoptojson binary instead of the host's one.
--- KF5CoreAddonsMacros.cmake.ORIG
+++ KF5CoreAddonsMacros.cmake
@@ -45,7 +45,8 @@
_desktop_to_json_cmake28(${desktop} ${json} ${DESKTOP_TO_JSON_COMPAT_MODE})
return()
endif()
- set(command KF5::desktoptojson -i ${desktop} -o ${json})
+ get_target_property(DESKTOPTOJSON_LOCATION KF5::desktoptojson LOCATION)
+ set(command ${DESKTOPTOJSON_LOCATION} -i ${desktop} -o ${json})
if(DESKTOP_TO_JSON_COMPAT_MODE)
list(APPEND command -c)
endif()

View File

@ -1,18 +1,18 @@
# Template file for 'kcoreaddons'
pkgname=kcoreaddons
version=5.29.0
version=5.36.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools qt5-tools-devel"
makedepends="qt5-devel qt5-tools-devel"
makedepends="qt5-devel qt5-tools-devel gamin-devel"
depends="shared-mime-info"
short_desc="Qt5 addon library with a collection of non-GUI utilities"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2"
homepage="https://projects.kde.org/projects/frameworks/kcoreaddons"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=e28b39fada9b19b03c7c79fc7ac337c1b943b33dbb40967a5cc7ba9f314cb3f6
checksum=9d4b26bf22d1326c37f33aa4727942325cad2b23e5b3f1e32ec9ee558e9b5594
kcoreaddons-devel_package() {
short_desc+=" - development"