From 0b232363295a0f49b8a9f65ea82726b91e649b6f Mon Sep 17 00:00:00 2001 From: John Date: Mon, 6 Apr 2020 22:40:16 +0200 Subject: [PATCH] texstudio: workaround linking issues when cross compiling --- srcpkgs/texstudio/patches/phonon-cross.patch | 12 ++++++++++++ srcpkgs/texstudio/template | 1 - 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/texstudio/patches/phonon-cross.patch diff --git a/srcpkgs/texstudio/patches/phonon-cross.patch b/srcpkgs/texstudio/patches/phonon-cross.patch new file mode 100644 index 00000000000..8b151ee8dfa --- /dev/null +++ b/srcpkgs/texstudio/patches/phonon-cross.patch @@ -0,0 +1,12 @@ +--- texstudio.pro 2019-05-18 18:23:33.000000000 +0200 ++++ - 2020-04-06 22:35:28.379953691 +0200 +@@ -28,7 +28,8 @@ + } + !isEmpty(PHONON){ + greaterThan(QT_MAJOR_VERSION, 4) { #Qt5 +- QT += phonon4qt5 ++ CONFIG += link_pkgconfig ++ PKGCONFIG += phonon4qt5 + } else { #Qt4 + QT += phonon + } diff --git a/srcpkgs/texstudio/template b/srcpkgs/texstudio/template index 7560a768558..88df5425e15 100644 --- a/srcpkgs/texstudio/template +++ b/srcpkgs/texstudio/template @@ -16,7 +16,6 @@ license="GPL-2.0-or-later" homepage="https://texstudio.org/" distfiles="https://github.com/texstudio-org/texstudio/archive/${version}.tar.gz" checksum=a14b8912bfd15d982cfbe5f00deed37ca85fb6e38d3aa0c2dac23b4ecaab0984 -nocross="/usr/lib/libphonon4qt5.so: error adding symbols: file in wrong format" build_options="phonon poppler" desc_option_phonon="build with phonon support"