plasma-wayland-protocols: disable cmake sizeof(void*) check

This commit is contained in:
John 2020-06-10 12:16:47 +02:00
parent 3fdeefc685
commit 149a56003d
No known key found for this signature in database
GPG key ID: 5FDE97AF468A09B7

View file

@ -1,7 +1,7 @@
# Template file for 'plasma-wayland-protocols'
pkgname=plasma-wayland-protocols
version=1.0
revision=1
revision=2
build_style=cmake
hostmakedepends="extra-cmake-modules"
short_desc="Plasma Specific Protocols for Wayland"
@ -10,3 +10,8 @@ license="GPL-3.0-or-later"
homepage="https://invent.kde.org/libraries/plasma-wayland-protocols"
distfiles="${KDE_SITE}/${pkgname}/${version}/${pkgname}-${version}.tar.xz"
checksum=69c0fac42ccecaa78388f54725de493cad7ac798d85802225013c3e1fb7ee62b
post_install() {
vsed -e '/NOT CMAKE_SIZEOF_VOID_P STREQUAL/,+5d' \
-i ${DESTDIR}/usr/lib/cmake/PlasmaWaylandProtocols/PlasmaWaylandProtocolsConfigVersion.cmake
}