move to cmake

This commit is contained in:
Gaute Hope 2017-11-15 13:43:17 +01:00
parent 46d818ae59
commit ae96639603
2 changed files with 9 additions and 7 deletions

View File

@ -1,8 +1,8 @@
# Generated by mksrcinfo v8 # Generated by mksrcinfo v8
# Tue Oct 17 13:59:08 UTC 2017 # Wed Nov 15 12:43:08 UTC 2017
pkgbase = astroid-git pkgbase = astroid-git
pkgdesc = a graphical threads-with-tags style, lightweight and fast, email client for notmuch, inspired by sup and others pkgdesc = a graphical threads-with-tags style, lightweight and fast, email client for notmuch, inspired by sup and others
pkgver = v0.10.2.r0.gaa8789f pkgver = v0.10.2.r48.gfaf2776
pkgrel = 1 pkgrel = 1
url = https://github.com/astroidmail/astroid url = https://github.com/astroidmail/astroid
install = astroid.install install = astroid.install
@ -10,7 +10,8 @@ pkgbase = astroid-git
arch = i686 arch = i686
license = GPL license = GPL
checkdepends = notmuch-runtime checkdepends = notmuch-runtime
makedepends = meson makedepends = cmake
makedepends = ninja
makedepends = git makedepends = git
makedepends = pkg-config makedepends = pkg-config
makedepends = python-gobject makedepends = python-gobject

View File

@ -1,7 +1,7 @@
# Maintainer: Gaute Hope <eg@gaute.vetsj.com> # Maintainer: Gaute Hope <eg@gaute.vetsj.com>
_pkgname=astroid _pkgname=astroid
pkgname=$_pkgname-git pkgname=$_pkgname-git
pkgver=v0.10.2.r0.gaa8789f pkgver=v0.10.2.r48.gfaf2776
pkgrel=1 pkgrel=1
epoch= epoch=
pkgdesc="a graphical threads-with-tags style, lightweight and fast, email client for notmuch, inspired by sup and others" pkgdesc="a graphical threads-with-tags style, lightweight and fast, email client for notmuch, inspired by sup and others"
@ -10,7 +10,7 @@ url="https://github.com/astroidmail/astroid"
license=('GPL') license=('GPL')
groups=() groups=()
depends=('notmuch' 'boost' 'boost-libs' 'gmime' 'gtkmm3' 'webkitgtk' 'libsass' 'libpeas' 'gobject-introspection') depends=('notmuch' 'boost' 'boost-libs' 'gmime' 'gtkmm3' 'webkitgtk' 'libsass' 'libpeas' 'gobject-introspection')
makedepends=('meson' 'git' 'pkg-config' 'python-gobject') makedepends=('cmake' 'ninja' 'git' 'pkg-config' 'python-gobject')
checkdepends=('notmuch-runtime') checkdepends=('notmuch-runtime')
optdepends=('gvim: default editor' optdepends=('gvim: default editor'
'emacs: can be used as editor' 'emacs: can be used as editor'
@ -28,15 +28,16 @@ md5sums=('SKIP')
build() { build() {
cd "$srcdir/astroid" cd "$srcdir/astroid"
LC_ALL=C meson build --prefix=/usr --buildtype release mkdir -p build
cd build cd build
cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release
ninja ninja
} }
check() { check() {
cd "$srcdir/astroid" cd "$srcdir/astroid"
cd build cd build
meson test ninja test
} }
package() { package() {