summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-08-09 15:45:04 +0200
committerLars Wendler <polynomial-c@gentoo.org>2018-08-09 15:45:24 +0200
commit797e35a438359be9ee9ae405fb2f41ebf270db71 (patch)
treef4bfa7d1079e7f27abad0e00f2a25f5a7238c4c1 /media-tv
parentapp-i18n/xsunpinyin: new upstream release (diff)
downloadgentoo-797e35a438359be9ee9ae405fb2f41ebf270db71.tar.gz
gentoo-797e35a438359be9ee9ae405fb2f41ebf270db71.tar.bz2
gentoo-797e35a438359be9ee9ae405fb2f41ebf270db71.zip
media-tv/mythtv: Fixed detection of >=qt-5.10
Package-Manager: Portage-2.3.45, Repoman-2.3.10
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/mythtv/files/mythtv-0.28.1-qt511.patch11
-rw-r--r--media-tv/mythtv/mythtv-0.28.1-r4.ebuild1
2 files changed, 12 insertions, 0 deletions
diff --git a/media-tv/mythtv/files/mythtv-0.28.1-qt511.patch b/media-tv/mythtv/files/mythtv-0.28.1-qt511.patch
new file mode 100644
index 000000000000..3fab1e6b5480
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-0.28.1-qt511.patch
@@ -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
diff --git a/media-tv/mythtv/mythtv-0.28.1-r4.ebuild b/media-tv/mythtv/mythtv-0.28.1-r4.ebuild
index b5d2925cc375..24a3c0c7042c 100644
--- a/media-tv/mythtv/mythtv-0.28.1-r4.ebuild
+++ b/media-tv/mythtv/mythtv-0.28.1-r4.ebuild
@@ -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() {