diff --git a/srcpkgs/plasma-framework/patches/GLESv2.patch b/srcpkgs/plasma-framework/patches/GLESv2.patch new file mode 100644 index 00000000000..6ab612e65a1 --- /dev/null +++ b/srcpkgs/plasma-framework/patches/GLESv2.patch @@ -0,0 +1,13 @@ +diff --git src/declarativeimports/core/CMakeLists.txt src/declarativeimports/core/CMakeLists.txt +index 1d97bb5..bdf3240 100644 +--- src/declarativeimports/core/CMakeLists.txt ++++ src/declarativeimports/core/CMakeLists.txt +@@ -60,7 +60,7 @@ if(HAVE_EGL) + endif() + + if (${Qt5Gui_OPENGL_IMPLEMENTATION} STREQUAL "GLESv2") +- target_link_libraries(corebindingsplugin Qt5::Gui_GLESv2) ++ target_link_libraries(corebindingsplugin GLESv2) + endif() + + install(TARGETS corebindingsplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/core) diff --git a/srcpkgs/plasma-framework/template b/srcpkgs/plasma-framework/template index 4ff4b95ef5e..6e4b4803d76 100644 --- a/srcpkgs/plasma-framework/template +++ b/srcpkgs/plasma-framework/template @@ -1,6 +1,6 @@ # Template file for 'plasma-framework' pkgname=plasma-framework -version=5.43.0 +version=5.47.0 revision=1 build_style=cmake configure_args="-DBUILD_TESTING=OFF" @@ -12,12 +12,12 @@ short_desc="Foundational libraries, components, and tools of the Plasma workspac maintainer="Denis Revin " license="LGPL-2" homepage="https://projects.kde.org/projects/frameworks/plasma-framework" -distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz" -checksum=c6108fd4d2cf516cbb97c77c2c58f136b670afc01a7f49face60812f4156eeec +distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz" +checksum=4a43bb699e2d6e004b0d218c98079eea329d3a2d3de82b33b7d298e4cb146eb4 if [ -n "$CROSS_BUILD" ]; then - hostmakedepends+=" qt5-host-tools qt5-qmake python" - broken="cmake fails on links to target Qt5::Gui_GLESv2" + configure_args=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson" + hostmakedepends+=" kconfig kcoreaddons kdoctools python qt5-host-tools qt5-qmake" fi plasma-framework-devel_package() {