PKGBUILD: switch to meson

This commit is contained in:
Daniel Eklöf 2019-05-03 22:47:21 +02:00
parent 5ae658c8ed
commit 04f18f98c6
2 changed files with 6 additions and 6 deletions

View file

@ -1,11 +1,11 @@
pkgname=f00bar
pkgver=0.9.0.r162.g879d5ce
pkgver=0.9.0.r200.gaaa5239
pkgrel=1
pkgdesc="Simplistic and highly configurable status panel for X and Wayland"
arch=('x86_64')
url=https://gitlab.com/dnkl/f00bar
license=(mit)
makedepends=('scdoc')
makedepends=('meson' 'ninja' 'scdoc' 'gzip')
depends=(
'libxcb' 'xcb-util' 'xcb-util-cursor' 'xcb-util-wm'
'wayland' 'wlroots'
@ -23,7 +23,7 @@ pkgver() {
}
build() {
cmake -G Ninja -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_INSTALL_PREFIX=/usr ../
meson --buildtype=minsize --prefix=/usr -Dbackend-x11=enabled -Dbackend-wayland=enabled ../
ninja
}

View file

@ -1,5 +1,5 @@
pkgname=f00bar-wayland
pkgver=0.9.0.r186.g5ace4d7
pkgver=0.9.0.r200.gaaa5239
pkgrel=1
pkgdesc="Simplistic and highly configurable status panel for Wayland"
arch=('x86_64')
@ -7,7 +7,7 @@ url=https://gitlab.com/dnkl/f00bar
license=(mit)
conflicts=('f00bar')
provides=('f00bar')
makedepends=('scdoc')
makedepends=('meson' 'ninja' 'scdoc' 'gzip')
depends=(
'wayland' 'wlroots'
'freetype2' 'fontconfig' 'cairo'
@ -23,7 +23,7 @@ pkgver() {
}
build() {
cmake -G Ninja -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_X11=0 -DENABLE_WAYLAND=1 ../
meson --buildtype=minsize --prefix=/usr -Dbackend-x11=disabled -Dbackend-wayland=enabled ../
ninja
}