69bc845164
missing depend(s): so:libboost_filesystem.so.1.69.0, so:libboost_iostreams.so.1.69.0, so:libboost_program_options.so.1.69.0, so:libprotobuf-lite.so.19
46 lines
1.7 KiB
Text
46 lines
1.7 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
|
|
pkgname=mir
|
|
pkgver=1.1.2
|
|
pkgrel=4
|
|
pkgdesc="Canonical's display server"
|
|
url="https://mir-server.io"
|
|
arch="x86_64"
|
|
license="GPL-2.0 GPL-3.0 LGPL-2.1 LGPL-3.0"
|
|
depends="xkeyboard-config dmz-cursor-theme ttf-freefont"
|
|
depends_dev="boost-dev mesa-dev glm-dev protobuf-dev glog-dev gflags-dev eudev-dev glib-dev wayland-dev libepoxy-dev nettle-dev libinput-dev
|
|
capnproto-dev libxml++-2.6-dev py3-pillow freetype-dev libevdev-dev umockdev-dev lttng-ust-dev yaml-cpp-dev libxcursor-dev"
|
|
makedepends="$depends_dev cmake libxkbcommon-dev gtest-dev gmock clang-dev"
|
|
source="
|
|
https://github.com/MirServer/mir/releases/download/v$pkgver/mir-$pkgver.tar.xz
|
|
0001-Fix-google-protobuf-closure-related-errors.patch
|
|
0002-Remove-drmIsMaster-to-use-libdrm-version.patch
|
|
"
|
|
subpackages="$pkgname-dev"
|
|
options="!check" # Some tests fail
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
export CC=clang
|
|
export CXX=clang++
|
|
cmake \
|
|
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DMIR_USE_LD=ld
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
bin/mir_acceptance_tests
|
|
bin/mir_integration_tests
|
|
bin/mir_unit_tests
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir/" install
|
|
}
|
|
sha512sums="4431615d795b93239a83a197d61a5900f094a2108933be4e4da09220bd20e2b031e5232174805216a964279fcf8786672d5c40c3be83856d1903f128b7b814b7 mir-1.1.2.tar.xz
|
|
6f0d22d2d0ec85793b5067f2dcb95ac57ef5118096028098f096b32781f49acfe28ab52523ac34f72035ec7518056c392a9fc46ea5c41332538fe7a0d0db303a 0001-Fix-google-protobuf-closure-related-errors.patch
|
|
279c009d8d54823bcfdfd564543ffa4cb1ad99cef211f82d5eefe3cc33fda80d5455dfaf8ba732f6cd1067bb442d732b364fdeee07018006def13b55887c6da8 0002-Remove-drmIsMaster-to-use-libdrm-version.patch"
|