# Maintainer: Neptune # Contributor: Bjoern Franke schafweide.org> # Contributor: Ivan Semkin (ivan at semkin dot ru) # Contributor: kikadf pkgname=mir pkgver=2.16.3 pkgrel=1 pkgdesc="Canonical's display server" url='https://mir-server.io' arch=(x86_64 i686) license=(GPL LGPL) depends=(gtest boost-libs capnproto google-glog gflags libglvnd liburcu lttng-ust libepoxy libxml++2.6 nettle libinput libxkbcommon python-pillow freetype2 libevdev protobuf python-dbus python-gobject hicolor-icon-theme libxcursor yaml-cpp) makedepends=(git glm doxygen cmake boost gcovr gmock lcov valgrind python-dbusmock umockdev wlcs libxkbcommon-x11) optdepends=('qterminal: required for miral demos' 'ttf-ubuntu-font-family: required for miral demos' 'qt5-wayland: required for miral demos' 'xcursor-dmz: opt requirement for miral demos') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/MirServer/mir/archive/v${pkgver}.tar.gz") sha256sums=('d0128d3061e72fc4cba811267e6ad988563f1a24487d8752d643abdcaa75272d') BUILD_DIR=build build() { cd ${pkgname}-${pkgver} mkdir -p ${BUILD_DIR} cd ${BUILD_DIR} cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR="lib/" -DMIR_USE_PRECOMPILED_HEADERS=OFF .. cmake --build ./ } package() { cd ${pkgname}-${pkgver}/${BUILD_DIR} make DESTDIR="${pkgdir}/" install } # vim:set ts=2 sw=2 et: