void-packages/srcpkgs/messagelib/template
2021-12-13 14:58:27 +01:00

34 lines
1.1 KiB
Bash

# Template file for 'messagelib'
pkgname=messagelib
version=21.12.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python3
gettext kcoreaddons kconfig"
makedepends="akonadi-contacts-devel gpgmeqt-devel
kidentitymanagement-devel kmailtransport-devel kmbox-devel libgravatar-devel
libkdepim-devel qt5-location-devel qt5-webchannel-devel qt5-webengine-devel
qca-qt5-devel pimcommon-devel knewstuff-devel"
short_desc="KDE PIM messaging library"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="${KDE_SITE}/release-service/${version}/src/messagelib-${version}.tar.xz"
checksum=6119e69d875f3f3092604265203f750c95a9f49db64f67a95c509bad6c2457e4
#TODO: fix build without qca-qt5
if [ "$CROSS_BUILD" ]; then
LDFLAGS=" -Wl,-rpath-link,../../bin"
fi
messagelib-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/qt5/mkspecs
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}