summaryrefslogtreecommitdiff
path: root/media-sound/murmur
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/murmur')
-rw-r--r--media-sound/murmur/files/force_tls12.patch13
-rw-r--r--media-sound/murmur/murmur-scm.ebuild5
2 files changed, 15 insertions, 3 deletions
diff --git a/media-sound/murmur/files/force_tls12.patch b/media-sound/murmur/files/force_tls12.patch
new file mode 100644
index 0000000..9180061
--- /dev/null
+++ b/media-sound/murmur/files/force_tls12.patch
@@ -0,0 +1,13 @@
+diff --git a/src/murmur/Server.cpp b/src/murmur/Server.cpp
+index 8a1856fb..17fa1ec9 100644
+--- a/src/murmur/Server.cpp
++++ b/src/murmur/Server.cpp
+@@ -1251,7 +1251,7 @@ void Server::newClient() {
+ u->setToS();
+
+ #if QT_VERSION >= 0x050500
+- sock->setProtocol(QSsl::TlsV1_0OrLater);
++ sock->setProtocol(QSsl::TlsV1_2OrLater);
+ #elif QT_VERSION >= 0x050400
+ // In Qt 5.4, QSsl::SecureProtocols is equivalent
+ // to "TLSv1.0 or later", which we require.
diff --git a/media-sound/murmur/murmur-scm.ebuild b/media-sound/murmur/murmur-scm.ebuild
index b1a2c2d..a5157b8 100644
--- a/media-sound/murmur/murmur-scm.ebuild
+++ b/media-sound/murmur/murmur-scm.ebuild
@@ -4,9 +4,8 @@
EAPI="5"
-QT_MINIMAL="4"
-inherit eutils qt4-r2 systemd user readme.gentoo git-r3
+inherit eutils systemd user readme.gentoo git-r3 qmake-utils
DESCRIPTION="Mumble is an open source, low-latency, high quality voice chat software"
@@ -57,7 +56,7 @@ pkg_setup() {
src_prepare() {
epatch "${FILESDIR}/acl_edit_log.patch"
- qt4-r2_src_prepare
+ epatch "${FILESDIR}/force_tls12.patch"
sed \
-e 's:mumble-server:murmur:g' \