blob: 68964c7c380f7eb025f7a961bd5da66f3a25a178 (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=akonadi-mime
pkgver=18.04.1
pkgrel=0
pkgdesc="Libraries to implement basic MIME message handling"
url="https://www.kde.org/"
arch="all"
options="!check" # regression?
license="LGPL-2.1"
depends=""
depends_dev="qt5-qtbase-dev kmime-dev kdbusaddons-dev kio-dev kitemmodels-dev
akonadi-dev kconfig-dev kxmlgui-dev"
makedepends="$depends_dev cmake extra-cmake-modules libxslt-dev
shared-mime-info"
install=""
subpackages="$pkgname-dev $pkgname-lang"
source="http://download.kde.org/stable/applications/$pkgver/src/akonadi-mime-$pkgver.tar.xz"
builddir="$srcdir/akonadi-mime-$pkgver"
build() {
cd "$builddir"
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
${CMAKE_CROSSOPTS}
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="b797a7a964f6277bc5d8e63b19511f1613ec61fe5d2fbb18668e96c291532e4a2e24eef110903fd26676f0269fbebc42d6ff9bee341a5384a90e5190a02cdb91 akonadi-mime-18.04.1.tar.xz"
|