srcpkgs: remove QT_QPA_PLATFORM trom templates
it is global now
This commit is contained in:
parent
7ffd292bc5
commit
0d2522f5d5
|
@ -37,7 +37,7 @@ pre_configure() {
|
|||
do_check() {
|
||||
# failing tests are disabled - sqlite tests hang on futex
|
||||
cd build
|
||||
QT_QPA_PLATFORM=offscreen CTEST_OUTPUT_ON_FAILURE=TRUE \
|
||||
CTEST_OUTPUT_ON_FAILURE=TRUE \
|
||||
dbus-run-session ctest -E \
|
||||
"(akonadixml-xmldocument|mimetypechecker|AkonadiControl-agenttype|.*sqlite.*)test"
|
||||
}
|
||||
|
|
|
@ -28,7 +28,6 @@ pre_build() {
|
|||
}
|
||||
|
||||
pre_check() {
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
mkdir -p "share/bibletime"
|
||||
cd "share/bibletime"
|
||||
mkdir -p icons javascript license pics locale docs/handbook/en docs/howto/en display-templates
|
||||
|
|
|
@ -13,7 +13,7 @@ distfiles="https://github.com/filcuc/dotherside/archive/v${version}.tar.gz"
|
|||
checksum=de318ef55762d4db4ae7aa272d4bb1dbd4864efd53b87b45abad149b4d13b1e7
|
||||
|
||||
do_check() {
|
||||
QT_QPA_PLATFORM=offscreen ./build/test/TestDynamicQObject
|
||||
./build/test/TestDynamicQObject
|
||||
}
|
||||
|
||||
dotherside-devel_package() {
|
||||
|
|
|
@ -13,10 +13,6 @@ homepage="https://github.com/DamirPorobic/kColorPicker"
|
|||
distfiles="https://github.com/DamirPorobic/kColorPicker/archive/v${version}.tar.gz"
|
||||
checksum=fe6f6c540f3921cc7097f1e5cf001883f814a9c2678c85b7f78fb7a2ba2a8c34
|
||||
|
||||
pre_check() {
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
}
|
||||
|
||||
kColorPicker-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
|
|
|
@ -14,10 +14,6 @@ homepage="https://github.com/DamirPorobic/kImageAnnotator"
|
|||
distfiles="https://github.com/DamirPorobic/kImageAnnotator/archive/v${version}.tar.gz"
|
||||
checksum=9e8945d8b5871a1020be643088d15cd76496ad707a1f464af8dd91958b430856
|
||||
|
||||
pre_check() {
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
}
|
||||
|
||||
kImageAnnotator-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
|
|
|
@ -14,7 +14,3 @@ license="GPL-2.0-or-later"
|
|||
homepage="https://kde.org/applications/games/org.kde.kblocks"
|
||||
distfiles="${KDE_SITE}/release-service/${version}/src/kblocks-${version}.tar.xz"
|
||||
checksum=f678d652875cdad8612fc572ad86970a716e7701c9d246fdf6a621fda3232206
|
||||
|
||||
pre_check() {
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
}
|
||||
|
|
|
@ -16,10 +16,6 @@ if [ "CROSS_BUILD" ]; then
|
|||
hostmakedepends+=" qt5-host-tools qt5-qmake qt5-tools-devel"
|
||||
fi
|
||||
|
||||
pre_check() {
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
}
|
||||
|
||||
kcompletion-devel_package() {
|
||||
short_desc+=" - development"
|
||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||
|
|
|
@ -14,10 +14,6 @@ homepage="https://invent.kde.org/frameworks/kcontacts"
|
|||
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||
checksum=e5de6baadb572db7fd5f7e5a5e7faf3ce382da035a7731bd20d6828200e98c9a
|
||||
|
||||
pre_check() {
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
}
|
||||
|
||||
kcontacts-devel_package() {
|
||||
short_desc+=" - development"
|
||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||
|
|
|
@ -14,10 +14,6 @@ homepage="https://invent.kde.org/frameworks/kdav"
|
|||
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||
checksum=083519f32ebe1a2120da905c12492568a80dfbfedccecbd6c523c52b4c19adcc
|
||||
|
||||
pre_check() {
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
}
|
||||
|
||||
kdav-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
|
||||
short_desc+=" - development files"
|
||||
|
|
|
@ -24,7 +24,3 @@ make_check=extended
|
|||
|
||||
# needed for mlt to work on musl
|
||||
CXXFLAGS="-DHAVE_LOCALE_H=1"
|
||||
|
||||
pre_check() {
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
}
|
||||
|
|
|
@ -12,7 +12,3 @@ license="GPL-2.0-or-later, GFDL-1.2-only"
|
|||
homepage="https://www.kde.org/"
|
||||
distfiles="${KDE_SITE}/release-service/${version}/src/keditbookmarks-${version}.tar.xz"
|
||||
checksum=b979d798f13b08b1bd022334f84f0abb374a477c601466f19b400afa0c4bb0e1
|
||||
|
||||
pre_check() {
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
}
|
||||
|
|
|
@ -15,10 +15,6 @@ homepage="https://invent.kde.org/frameworks/kguiaddons"
|
|||
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||
checksum=9bb7611bf10250de952e59f2ef682eec28695c7782a7b81970003f3982d5e339
|
||||
|
||||
pre_check() {
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
}
|
||||
|
||||
kguiaddons-devel_package() {
|
||||
short_desc+=" - development"
|
||||
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
||||
|
|
|
@ -14,10 +14,6 @@ homepage="https://invent.kde.org/frameworks/khtml"
|
|||
distfiles="${KDE_SITE}/frameworks/${version%.*}/portingAids/${pkgname}-${version}.tar.xz"
|
||||
checksum=0d731761778a9908883353e3b9d9d89dda573c3aca4a9ad447277a280215af2d
|
||||
|
||||
pre_check() {
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
}
|
||||
|
||||
khtml-devel_package() {
|
||||
short_desc+=" - development"
|
||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||
|
|
|
@ -15,7 +15,7 @@ distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.
|
|||
checksum=c03bc7147e35d2994a0a7d323108d6b34e2e2c70768a5481bec3b04da7b6a870
|
||||
|
||||
do_check() {
|
||||
QT_QPA_PLATFORM=offscreen CTEST_OUTPUT_ON_FAILURE=TRUE \
|
||||
CTEST_OUTPUT_ON_FAILURE=TRUE \
|
||||
dbus-run-session ninja -C build test
|
||||
}
|
||||
|
||||
|
|
|
@ -16,10 +16,6 @@ homepage="https://kde.org/applications/internet/org.kde.konqueror"
|
|||
distfiles="${KDE_SITE}/release-service/${version}/src/konqueror-${version}.tar.xz"
|
||||
checksum=cf1987573b4efd8510525cc88d36eab33e76e95e0c3166e11c29ad3d00dab726
|
||||
|
||||
pre_check() {
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
}
|
||||
|
||||
do_check() {
|
||||
:
|
||||
}
|
||||
|
|
|
@ -13,10 +13,6 @@ homepage="https://invent.kde.org/frameworks/kparts"
|
|||
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||
checksum=00ae5edf41eac55d69d5de408d755671866eeaeb1a67d9ff0b4d5bbfa28d1251
|
||||
|
||||
pre_check() {
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
}
|
||||
|
||||
do_check() {
|
||||
: # test can not find packages assets?!
|
||||
}
|
||||
|
|
|
@ -14,7 +14,3 @@ license="GPL-2.0-only"
|
|||
homepage="https://kde.org/applications/games/kpat"
|
||||
distfiles="${KDE_SITE}/release-service/${version}/src/kpat-${version}.tar.xz"
|
||||
checksum=c00fed775072e33cff67ed996f66165b6f8aacc62ab82890f2e7b4a52366d282
|
||||
|
||||
pre_check() {
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
}
|
||||
|
|
|
@ -14,7 +14,6 @@ distfiles="${KDE_SITE}/frameworks/${version%.*}/kquickcharts-${version}.tar.xz"
|
|||
checksum=86c6cde106c786fe3908e67847f2cbbb0324b96f5589c1a10ed67654660ec7fb
|
||||
|
||||
do_check() {
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
cd build
|
||||
# QML tests require OpenGL
|
||||
CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E ".*\.qml"
|
||||
|
|
|
@ -12,7 +12,3 @@ license="GPL-2.0-or-later"
|
|||
homepage="https://kde.org/applications/system/ksystemlog/"
|
||||
distfiles="${KDE_SITE}/release-service/${version}/src/ksystemlog-${version}.tar.xz"
|
||||
checksum=8aeeeccc8d35361db170ecbcd64535e96e3a2fb4daacb276db2e14bb389458ef
|
||||
|
||||
pre_check() {
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
}
|
||||
|
|
|
@ -27,10 +27,6 @@ pre_configure() {
|
|||
grep -rl TAGLIB_ | xargs -n1 sed -i -e "s;TAGLIB_;Taglib_;g"
|
||||
}
|
||||
|
||||
pre_check() {
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vdoc "${FILESDIR}/README.voidlinux"
|
||||
}
|
||||
|
|
|
@ -13,10 +13,6 @@ homepage="https://projects.kde.org/projects/kde/kdemultimedia/libkcddb"
|
|||
distfiles="${KDE_SITE}/release-service/${version}/src/libkcddb-${version}.tar.xz"
|
||||
checksum=ff7dab7b1d687755d186c706788ecb6f3a35db4dd6e4696a2074f80a22ae4061
|
||||
|
||||
pre_check() {
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
}
|
||||
|
||||
libkcddb-devel_package() {
|
||||
depends="libkcddb>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
|
|
|
@ -13,10 +13,6 @@ homepage="https://kde.org/applications/games"
|
|||
distfiles="${KDE_SITE}/release-service/${version}/src/libkdegames-${version}.tar.xz"
|
||||
checksum=a4efc0caf9ad877b3c01c83c69e9b3240aeda6ab14332db06e2da9f6660b4c93
|
||||
|
||||
pre_check() {
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
}
|
||||
|
||||
libkdegames-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
|
||||
short_desc+=" - development files"
|
||||
|
|
|
@ -24,10 +24,6 @@ if [ "$XBPS_TARGET_ENDIAN" = "le" ] && [ "$XBPS_TARGET_WORDSIZE" = "$XBPS_WORDSI
|
|||
esac
|
||||
fi
|
||||
|
||||
pre_check() {
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
}
|
||||
|
||||
libksysguard-devel_package() {
|
||||
short_desc+=" - development"
|
||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||
|
|
|
@ -17,10 +17,6 @@ if [ "$CROSS_BUILD" ]; then
|
|||
hostmakedepends+=" kcoreaddons"
|
||||
fi
|
||||
|
||||
pre_check() {
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
}
|
||||
|
||||
libktorrent-devel_package() {
|
||||
depends="${sourcepkg}-${version}_${revision} gmp-devel"
|
||||
pkg_install() {
|
||||
|
|
|
@ -17,10 +17,6 @@ homepage="https://apps.kde.org/okteta/"
|
|||
distfiles="${KDE_SITE}/okteta/${version}/src/okteta-${version}.tar.xz"
|
||||
checksum=c569cd5b55503e46df1a5b5c9162b08888c426aa52c6f3f2f926c658bee0144c
|
||||
|
||||
pre_check() {
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
}
|
||||
|
||||
okteta-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
|
|
|
@ -20,7 +20,7 @@ checksum=95804e90130a4d5fdeb5f88bb3bfc29b4dbe1592c5a343786779ce9b4fa11e3d
|
|||
|
||||
do_check() {
|
||||
cd build
|
||||
CTEST_OUTPUT_ON_FAILURE=TRUE QT_QPA_PLATFORM=offscreen dbus-run-session ctest
|
||||
CTEST_OUTPUT_ON_FAILURE=TRUE dbus-run-session ctest
|
||||
}
|
||||
|
||||
libokular_package() {
|
||||
|
|
|
@ -15,7 +15,6 @@ distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|||
checksum=a73649bae4cf36496aee27bb6391a855f6d80e23a90603f2c3700750a6e40f03
|
||||
|
||||
do_check() {
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
cd build
|
||||
# QML test that requires OpenGL
|
||||
CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E 'menutest'
|
||||
|
|
|
@ -21,7 +21,3 @@ python_version=3
|
|||
if [ ${CROSS_BUILD} ]; then
|
||||
hostmakedepends+=" qt5-qmake qt5-host-tools"
|
||||
fi
|
||||
|
||||
pre_check() {
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ conflicts="python-jupyter_qtconsole<=4.4.3_2"
|
|||
|
||||
do_check() {
|
||||
# flaky test
|
||||
QT_QPA_PLATFORM=offscreen pytest -k 'not test_frontend_to_kernel'
|
||||
pytest -k 'not test_frontend_to_kernel'
|
||||
}
|
||||
|
||||
post_install() {
|
||||
|
|
|
@ -20,9 +20,9 @@ do_check() {
|
|||
# isn't those 2 below tests are the real test for envvar
|
||||
# Why does it run just fine?
|
||||
local _skip='test_qapp_args or test_qt_api_ini_config or test_invalid_qt_api_envvar'
|
||||
PYTHONPATH=$(pwd)/build/lib QT_QPA_PLATFORM=offscreen \
|
||||
PYTHONPATH=$(pwd)/build/lib \
|
||||
PYTEST_QT_API=pyside2 python3 -m pytest -k "not ($_skip)"
|
||||
PYTHONPATH=$(pwd)/build/lib QT_QPA_PLATFORM=offscreen \
|
||||
PYTHONPATH=$(pwd)/build/lib \
|
||||
PYTEST_QT_API=pyqt5 python3 -m pytest -k "not ($_skip)"
|
||||
}
|
||||
|
||||
|
|
|
@ -26,5 +26,4 @@ pre_check() {
|
|||
mkdir -p ${wrksrc}/check_xdg_runtime_dir
|
||||
chmod 700 ${wrksrc}/check_xdg_runtime_dir
|
||||
export XDG_RUNTIME_DIR=${wrksrc}/check_xdg_runtime_dir
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
}
|
||||
|
|
|
@ -18,10 +18,6 @@ if [ "$CROSS_BUILD" ]; then
|
|||
configure_args+=" -DPARSETRIGRAMS_EXECUTABLE=/usr/bin/parsetrigrams"
|
||||
fi
|
||||
|
||||
pre_check() {
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
}
|
||||
|
||||
sonnet-devel_package() {
|
||||
short_desc+=" - development"
|
||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||
|
|
|
@ -90,10 +90,6 @@ pre_configure() {
|
|||
|
||||
}
|
||||
|
||||
pre_check() {
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
}
|
||||
|
||||
pre_install() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
# install .lua files instead of precompiled .luac ones
|
||||
|
|
Loading…
Reference in New Issue