media-tv/mythtv: Fixed detection of >=qt-5.10

Package-Manager: Portage-2.3.45, Repoman-2.3.10
This commit is contained in:
Lars Wendler
2018-08-09 15:45:04 +02:00
parent 59ee8aed16
commit 797e35a438
2 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
--- a/configure
+++ b/configure
@@ -5907,7 +5907,7 @@
enabled pic && enable_weak_pic
is_qmake5(){
- $1 --version 2>&1 | egrep -q -e "Qt version 5\.[2-9]\.[0-9]"
+ $1 --version 2>&1 | egrep -q -e 'Qt version 5\.(([1-9][0-9]+)|[2-9])\.[0-9]'
}
# qmake-qt5 /usr/lib64/qt5/bin/qmake /usr/lib/x86_64-linux-gnu/qt5/bin/qmake

View File

@@ -177,6 +177,7 @@ src_prepare() {
eapply "${FILESDIR}/${P}-glibc225.patch"
eapply -p2 "${FILESDIR}/${PN}-29.2-freetype_pkgconfig.patch" #658534
eapply "${FILESDIR}/${P}-qt511.patch"
}
src_configure() {