mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-08 18:04:43 +02:00
69 lines
1.8 KiB
Text
69 lines
1.8 KiB
Text
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
|
|
# The group tag is just to easily find this APKBUILD by some scripts for automation
|
|
# group=kde-applications
|
|
maintainer="team/kde <bribbers@disroot.org>"
|
|
pkgname=falkon
|
|
pkgver=25.04.0
|
|
pkgrel=0
|
|
pkgdesc="Cross-platform Qt Web Browser"
|
|
url="https://github.com/KDE/falkon"
|
|
# armhf, ppc64le, s390x and riscv64 blocked by qt6-qtwebengine
|
|
arch="all !armhf !ppc64le !s390x !riscv64"
|
|
license="GPL-3.0-or-later"
|
|
depends="qt6-qtbase-sqlite"
|
|
makedepends="
|
|
extra-cmake-modules
|
|
karchive-dev
|
|
kcoreaddons-dev
|
|
kcrash-dev
|
|
ki18n-dev
|
|
kio-dev
|
|
kwallet-dev
|
|
libxcb-dev
|
|
openssl-dev>3
|
|
purpose-dev
|
|
python3
|
|
qt6-qtbase-dev
|
|
qt6-qtdeclarative-dev
|
|
qt6-qttools-dev
|
|
qt6-qtwebengine-dev
|
|
samurai
|
|
xcb-util-dev
|
|
"
|
|
checkdepends="xvfb-run"
|
|
subpackages="$pkgname-lang $pkgname-bash-completion:bashcomp:noarch"
|
|
_repo_url="https://invent.kde.org/network/falkon.git"
|
|
source="https://download.kde.org/stable/release-service/$pkgver/src/falkon-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_SHARED_LIBS=True \
|
|
-DBUILD_TESTING=ON
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
# Requires working OpenGL
|
|
# qmlhistoryapitest, qmlcookiesapitest, qmltabsapitest and qmlwindowsapitest are SIGTRAP'ing
|
|
xvfb-run -a ctest --test-dir build -E "falkon-(locationbar|webtab|qml-qml(tabsapi|topsitesapi)|sitesettings)test" -j1
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
bashcomp() {
|
|
depends=""
|
|
pkgdesc="Bash completions for $pkgname"
|
|
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
|
|
|
|
amove usr/share/bash-completion/completions
|
|
}
|
|
|
|
sha512sums="
|
|
4f1b0eb491398386a0d2028f65e743a99d86caeba7ae1f8be140fc77314775a3ef70032a4b0863763d249431e294956fddeb7a0e97d606b920e31fed9e068043 falkon-25.04.0.tar.xz
|
|
"
|