From 70998e6a9ad63e537f7238f3bf09690843bc9d9a Mon Sep 17 00:00:00 2001 From: John Date: Sun, 11 Mar 2018 17:29:17 +0100 Subject: [PATCH] New package: kmime-17.12.1 --- common/shlibs | 1 + srcpkgs/kmime-devel | 1 + srcpkgs/kmime/template | 28 ++++++++++++++++++++++++++++ 3 files changed, 30 insertions(+) create mode 120000 srcpkgs/kmime-devel create mode 100644 srcpkgs/kmime/template diff --git a/common/shlibs b/common/shlibs index 8bfa70ee16e..835024fda0f 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1516,6 +1516,7 @@ libwscodecs.so.1 libwireshark-2.4.1_1 libwiretap.so.7 libwireshark-2.4.1_1 libwireshark.so.9 libwireshark-2.4.5_1 libwsutil.so.8 libwireshark-2.4.1_1 +libKF5Mime.so.5 kmime-17.12.1_1 libtaskmanager.so.6 plasma-workspace-5.8.4_1 libfreerdp-client2.so.2 libfreerdp-2.0.0rc1_1 libfreerdp2.so.2 libfreerdp-2.0.0rc1_1 diff --git a/srcpkgs/kmime-devel b/srcpkgs/kmime-devel new file mode 120000 index 00000000000..34d484f4371 --- /dev/null +++ b/srcpkgs/kmime-devel @@ -0,0 +1 @@ +kmime \ No newline at end of file diff --git a/srcpkgs/kmime/template b/srcpkgs/kmime/template new file mode 100644 index 00000000000..fcd149e4cbb --- /dev/null +++ b/srcpkgs/kmime/template @@ -0,0 +1,28 @@ +# Template file for 'kmime' +pkgname=kmime +version=17.12.1 +revision=1 +build_style=cmake +hostmakedepends="extra-cmake-modules python3" +makedepends="kcodecs-devel ki18n-devel" +short_desc="Library for handling mail messages and newsgroup articles" +maintainer="John " +license="LGPL-2.1-or-later" +homepage="https://community.kde.org/KDE_PIM" +distfiles="https://download.kde.org/stable/applications/${version}/src/kmime-${version}.tar.xz" +checksum=1d2031eb0feed93bc8e590144119b43e9121ef9e70616b949bd6d5ee48cca998 + +if [ "CROSS_BUILD" ];then + hostmakedepends+=" qt5-qmake qt5-host-tools" +fi + +kmime-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/cmake + vmove usr/lib/qt5/mkspecs + vmove "usr/lib/*.so" + } +}