From 04f56afd82a6534d15f980edc394b27daa2069e2 Mon Sep 17 00:00:00 2001 From: Sebastian Gumprich Date: Sun, 11 Nov 2018 15:39:38 +0100 Subject: [PATCH] use meson instead of cmake in build process --- .SRCINFO | 5 +++-- PKGBUILD | 9 ++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 4129a5e..0857754 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,12 +1,13 @@ pkgbase = indicator-kdeconnect-git pkgdesc = Integrate KDEConnect on desktop environments that use AppIndicators (e.g. Unity) - pkgver = r365.f9dcb09 + pkgver = r596.138ccfc pkgrel = 1 url = https://github.com/bajoja/indicator-kdeconnect arch = any license = GPL makedepends = git - makedepends = cmake + makedepends = meson + makedepends = ninja depends = libappindicator-gtk3 depends = kdeconnect depends = vala diff --git a/PKGBUILD b/PKGBUILD index a944c30..cea9202 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ # Contributor: shimi # Contributor: Gustavo Castro pkgname=indicator-kdeconnect-git -pkgver=r365.f9dcb09 +pkgver=r596.138ccfc pkgrel=1 _gitname=indicator-kdeconnect pkgdesc="Integrate KDEConnect on desktop environments that use AppIndicators (e.g. Unity)" @@ -12,7 +12,7 @@ license=('GPL') conflicts=('indicator-kdeconnect') provides=('indicator-kdeconnect') depends=('libappindicator-gtk3' 'kdeconnect' 'vala' 'python-requests-oauthlib' 'python-gobject') -makedepends=('git' 'cmake') +makedepends=('git' 'meson' 'ninja') source=('git://github.com/bajoja/indicator-kdeconnect.git') md5sums=('SKIP') @@ -25,7 +25,6 @@ package() { cd indicator-kdeconnect mkdir build cd build - cmake .. -DCMAKE_INSTALL_PREFIX=/usr - make - make DESTDIR="${pkgdir}" install + meson .. --prefix=/usr/ --libdir=/usr/lib/ + ninja }