texstudio: workaround linking issues when cross compiling
This commit is contained in:
parent
5016cc0771
commit
305060b9db
2 changed files with 12 additions and 1 deletions
12
srcpkgs/texstudio/patches/phonon-cross.patch
Normal file
12
srcpkgs/texstudio/patches/phonon-cross.patch
Normal file
|
@ -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
|
||||
}
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue