texstudio: workaround linking issues when cross compiling
This commit is contained in:
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/"
|
homepage="https://texstudio.org/"
|
||||||
distfiles="https://github.com/texstudio-org/texstudio/archive/${version}.tar.gz"
|
distfiles="https://github.com/texstudio-org/texstudio/archive/${version}.tar.gz"
|
||||||
checksum=a14b8912bfd15d982cfbe5f00deed37ca85fb6e38d3aa0c2dac23b4ecaab0984
|
checksum=a14b8912bfd15d982cfbe5f00deed37ca85fb6e38d3aa0c2dac23b4ecaab0984
|
||||||
nocross="/usr/lib/libphonon4qt5.so: error adding symbols: file in wrong format"
|
|
||||||
|
|
||||||
build_options="phonon poppler"
|
build_options="phonon poppler"
|
||||||
desc_option_phonon="build with phonon support"
|
desc_option_phonon="build with phonon support"
|
||||||
|
|||||||
Reference in New Issue
Block a user