Skip to content
Snippets Groups Projects

testing/libvmime: modernize

Merged J0WI requested to merge J0WI/aports:libvmime into master
All threads resolved!
1 file
+ 7
7
Compare changes
  • Side-by-side
  • Inline
+ 7
7
# Maintainer: Noel Kuntze <noel.kuntze@thermi.consulting>
pkgname=libvmime
pkgver=0.9.2k4
pkgrel=3
pkgrel=4
pkgdesc="Library for working with RFC 5322, MIME messages and IMAP/POP/SMTP"
arch="all"
url="http://www.vmime.org"
url="https://www.vmime.org/"
license="GPL-3.0-only"
# cmake config file isn't suitable for explicitely setting the TLS lib when it finds gnutls
makedepends="libgsasl-dev openssl-dev cmake gtk+3.0-dev doxygen
cppunit-dev graphviz !gnutls-dev"
cppunit-dev graphviz !gnutls-dev samurai"
subpackages="$pkgname-dbg $pkgname-dev"
source="libvmime-$pkgver.tar.gz::https://github.com/Kopano-dev/vmime/archive/v$pkgver.tar.gz
fix-icu-70-1.patch
@@ -19,10 +19,11 @@ builddir="$srcdir/vmime-$pkgver"
# can't build in other directory because cmake config is broken here.
# library will not exist at package time.
build() {
cmake -DCMAKE_BUILD_TYPE=None \
cmake -B . -G Ninja \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DCMAKE_INSTALL_PREFIX=/usr/ \
-DVMIME_BUILD_TESTS=ON \
-DVMIME_TLS_SUPPORT_LIB=openssl -B .
-DVMIME_TLS_SUPPORT_LIB=openssl
cmake --build .
}
@@ -31,8 +32,7 @@ check() {
}
package() {
#cmake --install . ="$pkgdir"
make DESTDIR="$pkgdir" install
DESTDIR="$pkgdir" cmake --install .
mv "$pkgdir/usr/cmake" "$pkgdir/usr/lib/cmake"
}
Loading