Skip to content

Commit

Permalink
media-tv/mythtv: Fixed detection of >=qt-5.10
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.45, Repoman-2.3.10
  • Loading branch information
Lars Wendler committed Aug 9, 2018
1 parent 59ee8ae commit 797e35a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions media-tv/mythtv/files/mythtv-0.28.1-qt511.patch
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions media-tv/mythtv/mythtv-0.28.1-r4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 797e35a

Please sign in to comment.