# Maintainer: Luca Weiss # Contributor: Brandon Boese pkgname=morph-browser pkgver=1.1.0 pkgrel=1 pkgdesc="Lightweight web browser tailored for Ubuntu Touch" url="https://gitlab.com/ubports/development/core/morph-browser" # armhf: blocked by lomiri-ui-toolkit # ppc64le/riscv64/s390x/loongarch64: blocked by qt5-qtwebengine arch="all !armhf !ppc64le !riscv64 !s390x !loongarch64" license="GPL-3.0-only" depends=" font-liberation lomiri-action-api lomiri-content-hub lomiri-ui-extras lomiri-ui-toolkit qt5-qtbase-sqlite qt5-qtquickcontrols2 " makedepends=" click-dev cmake cmake-extras gnome-desktop-dev libapparmor-dev lomiri-trust-store-dev qt5-qtdeclarative-dev qt5-qtwebengine-dev samurai xvfb-run " checkdepends=" py3-dbusmock py3-xdg " subpackages="$pkgname-lang" source="https://gitlab.com/ubports/development/core/morph-browser/-/archive/$pkgver/morph-browser-$pkgver.tar.gz" options="!check" # 4 tests fail and test 27 hangs build() { cmake -B build -G Ninja \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_SHARED_LIBS=ON \ -DCMAKE_BUILD_TYPE=None \ -DCLICK_MODE=off cmake --build build } check() { ctest --test-dir build --output-on-failure } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 646182b0b408e40e96e506180059c388e0b1fe6e8a249618997f7e5064ae8ad603f7d66438b0116063cfce4e2e3372e847663e9bbaf1e1eea0bbee0dbf5c16ce morph-browser-1.1.0.tar.gz "