mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2024-09-20 11:23:16 +00:00
community/qbittorrent: enable tests
This commit is contained in:
parent
727a1f6fea
commit
8333f4c498
1 changed files with 8 additions and 3 deletions
|
@ -7,7 +7,6 @@ pkgdesc="qBittorrent client"
|
|||
url="https://www.qbittorrent.org/"
|
||||
arch="all"
|
||||
license="GPL-2.0-or-later"
|
||||
options="!check" # qBittorrent has no tests
|
||||
makedepends="
|
||||
boost-dev
|
||||
cmake
|
||||
|
@ -44,7 +43,8 @@ build() {
|
|||
-DGUI=ON \
|
||||
-DWEBUI=OFF \
|
||||
-DSTACKTRACE=OFF \
|
||||
-DQT6=ON
|
||||
-DQT6=ON \
|
||||
-DTESTING=ON
|
||||
cmake --build build-gui
|
||||
|
||||
cmake -B build-nox -G Ninja \
|
||||
|
@ -53,10 +53,15 @@ build() {
|
|||
-DGUI=OFF \
|
||||
-DWEBUI=ON \
|
||||
-DSTACKTRACE=OFF \
|
||||
-DQT6=ON
|
||||
-DQT6=ON \
|
||||
-DTESTING=OFF
|
||||
cmake --build build-nox
|
||||
}
|
||||
|
||||
check() {
|
||||
cmake --build build-gui --target check
|
||||
}
|
||||
|
||||
package() {
|
||||
depends="qt6-qtsvg" # needed for ui icons
|
||||
DESTDIR="$pkgdir" cmake --install build-gui
|
||||
|
|
Loading…
Reference in a new issue