summaryrefslogtreecommitdiff
path: root/media-sound/murmur
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/murmur')
-rw-r--r--media-sound/murmur/Manifest16
-rw-r--r--media-sound/murmur/files/murmur-1.2.17-ice-3.6.3-compat.patch11
-rw-r--r--media-sound/murmur/files/murmur.confd9
-rw-r--r--media-sound/murmur/files/murmur.initd-r125
-rw-r--r--media-sound/murmur/files/murmur.logrotate8
-rw-r--r--media-sound/murmur/files/murmurd-dbus.service14
-rw-r--r--media-sound/murmur/files/murmurd-dbus.tmpfiles1
-rw-r--r--media-sound/murmur/files/murmurd-no-dbus.service11
-rw-r--r--media-sound/murmur/metadata.xml17
-rw-r--r--media-sound/murmur/murmur-1.2.17.ebuild130
-rw-r--r--media-sound/murmur/murmur-1.2.18.ebuild130
-rw-r--r--media-sound/murmur/murmur-1.2.19.ebuild130
12 files changed, 502 insertions, 0 deletions
diff --git a/media-sound/murmur/Manifest b/media-sound/murmur/Manifest
new file mode 100644
index 000000000000..faf0e6cb6a30
--- /dev/null
+++ b/media-sound/murmur/Manifest
@@ -0,0 +1,16 @@
+AUX murmur-1.2.17-ice-3.6.3-compat.patch 847 SHA256 4309bfe25131520a210fa3c6e27593e622a761a75cce8d94395987bf37955c92 SHA512 26e6c03ae9b34f7533239f5ebc99c2f99611538e7bbbe1126b955ea033c97f1c936704b8d323f0ea57489183f416d5d956f65e30e9260eae9d68acb610e9b234 WHIRLPOOL 293e314968edecba83b5554d1d8bedf11d36e34d31fd36ad0e920f07565ba766bf449c1dd51c4b3c3a84a8e0d093c53083091e17fa01afe31bde9f97cd8d0ec1
+AUX murmur.confd 172 SHA256 977f20ce3ac9e15643bc6cff0eafd1281e9ca082a5fb715e60c38b4d4b51c2ef SHA512 4a05e2a640abf3f7a74c63b47ab87774718ad4e86f985c5308a2ba3167d816abedd9c35b07b8572f7789309ba91fa37bc0c1938493cc8d78844ecdeed7bd4171 WHIRLPOOL 98afc6713870f1a3ac872b0ee0b58a2d1e13103d9928d08f5fe7a873c5bcf6624f733e8bbee8c72537b9838a398a1bd091771f230d6b8daf58ae93edb4a0704b
+AUX murmur.initd-r1 503 SHA256 666024589dd070aae4c61191bcdd979edc400d3912f0d58e7aa2e6a3368da16f SHA512 e841a8bc275cea5fe7306566977a15388dfea1fc70ca681c9f222f762aa5a08e42c40240c34eeaff8af2ca427a2acb2a37cd553752eed5ac842ab1c80a74e66c WHIRLPOOL 7956998ceb95f7341374cda76248cc0bba34ee6115e6c824eb8f5841da4a76fdb3896254f3f9e035b379cf73451c2a3744b40c407c7e340f8e9f25ef9737970e
+AUX murmur.logrotate 127 SHA256 203d1f0c159d1c8ed06aac13c7a2cf20d67f36cb4ad043f54d90bef3b9de62c6 SHA512 89f105c11da6da67d5e84faac2124840e0c447df492a80b71c277a2e3c9197d747bc31de0a26c80b79384838f1e0a20811fe1ffa66c74f3192eec1164f3f1911 WHIRLPOOL d2ffc6cbfe1c89a48cf71f70fd7de0f838e952fda0700c556101035d9a58e6e3a12eb22caf66d61134570d8cd46cdd73fb7e910c655325ba2062bec6fc4537c0
+AUX murmurd-dbus.service 297 SHA256 61bc276f72ee63820b8d6d382b83880e77c9acb84f7fc01e96c032b5eb32f24e SHA512 e81031efa7cc2736748d5a5fdd001e28cf81430cf25f9f83b9aa8b94714dc787842e76c17c00e3b7a26192d8b4932f1e14bfdde207ee89680f2a696d4f9990a6 WHIRLPOOL 0a7e14cedd24ad43d28f31864777bef7a138d4510e9424efefd5790569700eda834922871049c34671854ecf4d8792e109f7f4c2bac562becdf77ec554adf5ca
+AUX murmurd-dbus.tmpfiles 33 SHA256 8565abe407f4e05a28b985a0288c0c4a5bee2654b543f6eeb31564fccaca60c0 SHA512 9bc78c99dd5d830e6ea0fff82e1fdc3c323b7952e54f139754d8d0dd5e5e75c3374e26ea5a404029c96766cbf3a08afdffd53b99fdca5cd9c97dd8a28b8fc410 WHIRLPOOL 418aa9fdac86627883b3c05f53b4043e14901a1457a20fe5f67037b283814f6264d9e8bd6d5ff0db9a6a761708d321af13f554e8382612d823944c3d125786f0
+AUX murmurd-no-dbus.service 222 SHA256 6be9e5648ce854ec78ed016ef8a4d49ae36eca9907585eee1034e0c8072d8e32 SHA512 d58c04dde0286b07a494c99fff8b94cdf1c47f6fcacbb5552445b7e19421f2a9862186e7309886590bc33ae3c64c0c840a9a93c55b35ca600b7a8f9ec53dbab2 WHIRLPOOL 306f5e7afaac5cb5a3f8053ffa7d01b7ef3905ef078e602048f709a0892541654ea3232ed844d2c255e661fc4c4e3864690455ee0d04b53dc1657b9f07c14860
+DIST mumble-1.2.17.tar.gz 3207840 SHA256 1c3601efdac611c8833d508054698ee9d8917b4e5fffb7fff8baec0bd6c8cb9c SHA512 03cb0a2048d42bd480741e0580cb4bf6961d607d6cf9b620434aea87ac0cd7cdbfae33863b71821ac8b931300df490ae5436f3c8098d6a5f37dd1eab0fb34dbe WHIRLPOOL 1c2b2eccad4abf825393aebecc691e535254cd8df16f9ebfc1fe282bf15d36af83f4cca559eba6a38c27ba58045cb09ca309e7be300e5ccd9f46cf0be47dd82c
+DIST mumble-1.2.18.tar.gz 3210749 SHA256 e0f7acc82691b9090e5d10a23ff4a7ceb9affe429b8f5221a9766129dc6f55aa SHA512 bd8b10cb34733d566fd6aae2410e8fe5f098efe5c5b106f569112d4e5205d8a045d43a0adc02a7a9d3e16b15e3515d908784596f293a7e2972fba20830161074 WHIRLPOOL f3d254db7557f5cb3d90f6f9da98f6e820a82dff072aab18e44ac19092653f36e245f746b02e0d9ee9eff0652a5c6a63919ca3ffba7e0b512204d5c7da0116d8
+DIST mumble-1.2.19.tar.gz 3210865 SHA256 f047fb707ad93948b0bc913ec0a89cd5480d87e840c4ff2519608fc8a2dac0e8 SHA512 f91111194a899149b500a94afcf7cc5b9691c7ce8669f07fca2c66adbb3916ddb863bf703d04fb8387133fb75f3c8edb52974d1acf3febfafa1f73da19946de4 WHIRLPOOL 6cf6ab5768946dea78d96dbc7bab0875ecfdee5fb7282f3752a8573f95fabc50c0c38712f79920883b3593ec0be62895c62045ee45b44cb4327a719a98a15990
+EBUILD murmur-1.2.17.ebuild 3049 SHA256 216c27afcff18003663f6df519397b9a1d123bc59b11e563fc8a926bed2f33df SHA512 6db076184403d984ca57148666ef927db41ffe1c288755095c90ddd52bc3293e9cb81e764992634733d0a1e1cb9d730357f4e26bd5aa115003c71efb3ea60483 WHIRLPOOL 7a6a2934452b696d15bbd729b226e35f5e6417810a2f79be8355312b9f3cefc9979e0e0e895806171637ee323e1a104e423b0511345f3ea7271130d1adfde035
+EBUILD murmur-1.2.18.ebuild 3059 SHA256 7de76abd05d708a6b1d83f948019df97fd87287dbddda963de916c4c3c45ae0b SHA512 8ca29caa896b059994bbc576a52dcb568467e9f4d6d81d07ce1160f31ce566ff11beb00fcf7614669456443bc841a1b14aa31182b2032445c8944c4384bf82a1 WHIRLPOOL 87501522a9953284717785688990f4f137a4439af395268870f383bd0d79cdcac34f09536f82f05b517982d3b862375cbe11c0af81a1b48750e7006253816f6f
+EBUILD murmur-1.2.19.ebuild 3064 SHA256 868884a8fec13ffa13fa124375c467078dca8a7ef4aab0917821f9389a8321ef SHA512 21fb60bdaed26ddac67429dde614abf8f8b2cda5e6974c3165fef6d472cb05f539f4ebf4de7c159823fd03ae2336f1d7caf379b71547107dad6c7a782eb9c4ac WHIRLPOOL 7021b315f95dade42a199ba5e5781978b70927e04e6e99b94f798c10ddee72fad95a8e22ea3e1568c6698b31aca78114f359a64e45c7f346172f2bdbe70e9a52
+MISC ChangeLog 8029 SHA256 5e7045d8f443fc3e16ddd00c1f501652a551e3dc678b9e6acf54e8897d737c64 SHA512 83fcd6c29256b74598c4290c9e2d8bdc38de73816ad25726a1fd9abb792ac59c56e8f29a430b67f837e032a3f4c90a46a7a30a811d8d9413488d3a6ca0bce439 WHIRLPOOL a7cedca8af1375072edaba191df8bc706e707b02b271425f161d3b8c2ae3e0b40b7223fb9c78450c404d1dd1ca97ec76ce4bc2c0fbada97bc4d33116f6209844
+MISC ChangeLog-2015 10026 SHA256 ac7aab098c13867ac2c4c78b0697631a99030819efb5920ff8d326f1eea6efa1 SHA512 b1ac824f96142509949f7b1862c9bfa886d7442c2be705afd007a7638952f5b109b73dddf11e5eff41c3d6fd60628285d98448cc0f2c5664000a01f39e2692d6 WHIRLPOOL 60daa358e1c41c0cd537dd6ea2ff3c7319b98c0a1e09b74fee428aef8d1b87183157459b0675c65f30c7e1b873dd92f4d28604f2d46679efff26b80bed9369e5
+MISC metadata.xml 597 SHA256 79e1af1a6b4c28dc64ebb7bf843697c432e49fbdea91bf8d5138ec6eabd4010d SHA512 d7ffb25e7b3919cb27417debe5b2f84f2f2c330e1a238583f154bb44b697a3b3c3749794baf896807874633b0659076e93c2845a56e49acb24047958d29d2beb WHIRLPOOL b9df24c75e5975ab9ea85e0eed7aee08977980e201b4aef589e55270fe9ee89bf2d5c2e1dac1d48036866de117d31da7b01f40ebf67ba53814108474350f039e
diff --git a/media-sound/murmur/files/murmur-1.2.17-ice-3.6.3-compat.patch b/media-sound/murmur/files/murmur-1.2.17-ice-3.6.3-compat.patch
new file mode 100644
index 000000000000..a8ad91e44939
--- /dev/null
+++ b/media-sound/murmur/files/murmur-1.2.17-ice-3.6.3-compat.patch
@@ -0,0 +1,11 @@
+--- mumble-1.2.17/src/murmur/murmur.pro 2016-09-24 14:37:47.000000000 +0200
++++ mumble-1.2.17.new/src/murmur/murmur.pro 2016-10-21 13:52:31.470049513 +0200
+@@ -74,7 +74,7 @@
+ win32 {
+ slice.commands = slice2cpp --checksum -I\"$$ICE_PATH/slice\" ${QMAKE_FILE_NAME}
+ } else {
+- slice.commands = slice2cpp --checksum -I/usr/local/share/Ice -I/usr/share/Ice/slice -I/usr/share/slice -I/usr/share/Ice-3.4.1/slice/ -I/usr/share/Ice-3.3.1/slice/ -I/usr/share/Ice-3.4.2/slice/ ${QMAKE_FILE_NAME}
++ slice.commands = slice2cpp --checksum -I/usr/local/share/Ice -I/usr/share/Ice/slice -I/usr/share/slice -I/usr/share/Ice-3.4.1/slice/ -I/usr/share/Ice-3.3.1/slice/ -I/usr/share/Ice-3.4.2/slice/ -I/usr/share/Ice-3.5.1/slice/ -I/usr/share/Ice-3.6.3/slice/ ${QMAKE_FILE_NAME}
+ }
+ slice.input = SLICEFILES
+ slice.CONFIG *= no_link explicit_dependencies
diff --git a/media-sound/murmur/files/murmur.confd b/media-sound/murmur/files/murmur.confd
new file mode 100644
index 000000000000..36367c51136b
--- /dev/null
+++ b/media-sound/murmur/files/murmur.confd
@@ -0,0 +1,9 @@
+# where to look for the config file
+MURMUR_CONF=/etc/murmur/murmur.ini
+
+# run as this user
+MURMUR_USER=murmur
+
+# HOME directory of MURMUR_USER
+MURMUR_HOME=/var/lib/murmur
+
diff --git a/media-sound/murmur/files/murmur.initd-r1 b/media-sound/murmur/files/murmur.initd-r1
new file mode 100644
index 000000000000..43ffb3a0a648
--- /dev/null
+++ b/media-sound/murmur/files/murmur.initd-r1
@@ -0,0 +1,25 @@
+#!/sbin/openrc-run
+
+pidfile="/run/murmur/murmur.pid"
+command="/usr/bin/murmurd"
+command_args="-ini \"${MURMUR_CONF}\""
+start_stop_daemon_args="-u \"${MURMUR_USER}\" --env HOME=\"${MURMUR_HOME}\" --wait 20"
+extra_started_commands="reload"
+
+depend() {
+ need localmount net
+ use dbus logger
+ after bootmisc mysql
+}
+
+start_pre() {
+ checkpath -d -o ${MURMUR_USER} ${pidfile%/*}
+}
+
+reload() {
+ ebegin "Reloading Murmur"
+ start-stop-daemon --signal HUP --pidfile "${pidfile}" \
+ --exec ${command}
+ eend $?
+}
+
diff --git a/media-sound/murmur/files/murmur.logrotate b/media-sound/murmur/files/murmur.logrotate
new file mode 100644
index 000000000000..c6ca48bbfb57
--- /dev/null
+++ b/media-sound/murmur/files/murmur.logrotate
@@ -0,0 +1,8 @@
+/var/log/murmur/*.log {
+ missingok
+ notifempty
+ sharedscripts
+ postrotate
+ /etc/init.d/murmur reload > /dev/null
+ endscript
+}
diff --git a/media-sound/murmur/files/murmurd-dbus.service b/media-sound/murmur/files/murmurd-dbus.service
new file mode 100644
index 000000000000..46fe5327d4ac
--- /dev/null
+++ b/media-sound/murmur/files/murmurd-dbus.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Murmurd - VoIP Server (for Mumble)
+After=network.target mysql.service
+
+[Service]
+User=murmur
+Group=murmur
+Type=dbus
+BusName=net.sourceforge.mumble.murmur
+PIDFile=/run/murmur/murmur.pid
+ExecStart=/usr/bin/murmurd -ini /etc/murmur/murmur.ini
+
+[Install]
+WantedBy=multi-user.target
diff --git a/media-sound/murmur/files/murmurd-dbus.tmpfiles b/media-sound/murmur/files/murmurd-dbus.tmpfiles
new file mode 100644
index 000000000000..70963d0a575b
--- /dev/null
+++ b/media-sound/murmur/files/murmurd-dbus.tmpfiles
@@ -0,0 +1 @@
+d /run/murmur 0755 murmur murmur
diff --git a/media-sound/murmur/files/murmurd-no-dbus.service b/media-sound/murmur/files/murmurd-no-dbus.service
new file mode 100644
index 000000000000..8631de20aaa4
--- /dev/null
+++ b/media-sound/murmur/files/murmurd-no-dbus.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Murmurd - VoIP Server (for Mumble)
+After=network.target mysql.service
+
+[Service]
+User=murmur
+Group=murmur
+ExecStart=/usr/bin/murmurd -fg -ini /etc/murmur/murmur.ini
+
+[Install]
+WantedBy=multi-user.target
diff --git a/media-sound/murmur/metadata.xml b/media-sound/murmur/metadata.xml
new file mode 100644
index 000000000000..c0b4be832f31
--- /dev/null
+++ b/media-sound/murmur/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>polynomial-c@gentoo.org</email>
+ <name>Lars Wendler</name>
+ </maintainer>
+ <longdescription lang="en">
+Mumble is an open source, low-latency, high quality voice chat software primarily intended for use while gaming.
+ </longdescription>
+ <use>
+ <flag name="ice">Use <pkg>dev-libs/Ice</pkg> to enable remote control capabilities.</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">mumble</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-sound/murmur/murmur-1.2.17.ebuild b/media-sound/murmur/murmur-1.2.17.ebuild
new file mode 100644
index 000000000000..caddfe2abb1a
--- /dev/null
+++ b/media-sound/murmur/murmur-1.2.17.ebuild
@@ -0,0 +1,130 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils qmake-utils systemd user readme.gentoo-r1
+
+MY_P="mumble-${PV/_/~}"
+
+DESCRIPTION="Mumble is an open source, low-latency, high quality voice chat software"
+HOMEPAGE="https://wiki.mumble.info"
+SRC_URI="https://mumble.info/snapshot/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ~ia64 x86"
+IUSE="+dbus debug +ice pch zeroconf"
+
+RDEPEND=">=dev-libs/openssl-1.0.0b:0=
+ >=dev-libs/protobuf-2.2.0:=
+ sys-apps/lsb-release
+ >=sys-libs/libcap-2.15
+ dev-qt/qtcore:4[ssl]
+ || ( dev-qt/qtsql:4[sqlite] dev-qt/qtsql:4[mysql] )
+ dev-qt/qtxmlpatterns:4
+ dbus? ( dev-qt/qtdbus:4 )
+ ice? ( dev-libs/Ice:= )
+ zeroconf? ( net-dns/avahi[mdnsresponder-compat] )"
+
+DEPEND="${RDEPEND}
+ >=dev-libs/boost-1.41.0
+ virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-ice-3.6.3-compat.patch
+)
+
+DOC_CONTENTS="
+ Useful scripts are located in /usr/share/doc/${PF}/scripts.\n
+ Please execute:\n
+ murmurd -ini /etc/murmur/murmur.ini -supw <pw>\n
+ chown murmur:murmur /var/lib/murmur/murmur.sqlite\n
+ to set the build-in 'SuperUser' password before starting murmur.
+ Please restart dbus before starting murmur, or else dbus
+ registration will fail.
+"
+
+pkg_setup() {
+ enewgroup murmur
+ enewuser murmur -1 -1 /var/lib/murmur murmur
+}
+
+src_prepare() {
+ default
+
+ sed \
+ -e 's:mumble-server:murmur:g' \
+ -e 's:/var/run:/run:g' \
+ -i "${S}"/scripts/murmur.{conf,ini.system} || die
+}
+
+src_configure() {
+ local conf_add
+
+ use dbus || conf_add="${conf_add} no-dbus"
+ use debug && conf_add="${conf_add} symbols debug" || conf_add="${conf_add} release"
+ use ice || conf_add="${conf_add} no-ice"
+ use pch || conf_add="${conf_add} no-pch"
+ use zeroconf || conf_add="${conf_add} no-bonjour"
+
+ eqmake4 main.pro -recursive \
+ CONFIG+="${conf_add} no-client"
+}
+
+src_install() {
+ dodoc README CHANGES
+
+ docinto scripts
+ dodoc scripts/*.php scripts/*.pl
+
+ local dir
+ if use debug; then
+ dir=debug
+ else
+ dir=release
+ fi
+
+ dobin "${dir}"/murmurd
+
+ insinto /etc/murmur/
+ newins scripts/murmur.ini.system murmur.ini
+
+ insinto /etc/logrotate.d/
+ newins "${FILESDIR}"/murmur.logrotate murmur
+
+ insinto /etc/dbus-1/system.d/
+ doins scripts/murmur.conf
+
+ insinto /usr/share/murmur/
+ doins src/murmur/Murmur.ice
+
+ newinitd "${FILESDIR}"/murmur.initd-r1 murmur
+ newconfd "${FILESDIR}"/murmur.confd murmur
+
+ if use dbus; then
+ systemd_newunit "${FILESDIR}"/murmurd-dbus.service "${PN}".service
+ systemd_newtmpfilesd "${FILESDIR}"/murmurd-dbus.tmpfiles "${PN}".conf
+ else
+ systemd_newunit "${FILESDIR}"/murmurd-no-dbus.service "${PN}".service
+ fi
+
+ keepdir /var/lib/murmur /var/log/murmur
+ fowners -R murmur /var/lib/murmur /var/log/murmur
+ fperms 750 /var/lib/murmur /var/log/murmur
+
+ # Fix permissions on config file as it might contain passwords.
+ # (bug #559362)
+ fowners root:murmur /etc/murmur/murmur.ini
+ fperms 640 /etc/murmur/murmur.ini
+
+ doman man/murmurd.1
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+}
diff --git a/media-sound/murmur/murmur-1.2.18.ebuild b/media-sound/murmur/murmur-1.2.18.ebuild
new file mode 100644
index 000000000000..63197d8730ce
--- /dev/null
+++ b/media-sound/murmur/murmur-1.2.18.ebuild
@@ -0,0 +1,130 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils qmake-utils systemd user readme.gentoo-r1
+
+MY_P="mumble-${PV/_/~}"
+
+DESCRIPTION="Mumble is an open source, low-latency, high quality voice chat software"
+HOMEPAGE="https://wiki.mumble.info"
+SRC_URI="https://mumble.info/snapshot/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~x86"
+IUSE="+dbus debug +ice pch zeroconf"
+
+RDEPEND=">=dev-libs/openssl-1.0.0b:0=
+ >=dev-libs/protobuf-2.2.0:=
+ sys-apps/lsb-release
+ >=sys-libs/libcap-2.15
+ dev-qt/qtcore:4[ssl]
+ || ( dev-qt/qtsql:4[sqlite] dev-qt/qtsql:4[mysql] )
+ dev-qt/qtxmlpatterns:4
+ dbus? ( dev-qt/qtdbus:4 )
+ ice? ( dev-libs/Ice:= )
+ zeroconf? ( net-dns/avahi[mdnsresponder-compat] )"
+
+DEPEND="${RDEPEND}
+ >=dev-libs/boost-1.41.0
+ virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.2.17-ice-3.6.3-compat.patch
+)
+
+DOC_CONTENTS="
+ Useful scripts are located in /usr/share/doc/${PF}/scripts.\n
+ Please execute:\n
+ murmurd -ini /etc/murmur/murmur.ini -supw <pw>\n
+ chown murmur:murmur /var/lib/murmur/murmur.sqlite\n
+ to set the build-in 'SuperUser' password before starting murmur.
+ Please restart dbus before starting murmur, or else dbus
+ registration will fail.
+"
+
+pkg_setup() {
+ enewgroup murmur
+ enewuser murmur -1 -1 /var/lib/murmur murmur
+}
+
+src_prepare() {
+ default
+
+ sed \
+ -e 's:mumble-server:murmur:g' \
+ -e 's:/var/run:/run:g' \
+ -i "${S}"/scripts/murmur.{conf,ini.system} || die
+}
+
+src_configure() {
+ local conf_add
+
+ use dbus || conf_add="${conf_add} no-dbus"
+ use debug && conf_add="${conf_add} symbols debug" || conf_add="${conf_add} release"
+ use ice || conf_add="${conf_add} no-ice"
+ use pch || conf_add="${conf_add} no-pch"
+ use zeroconf || conf_add="${conf_add} no-bonjour"
+
+ eqmake4 main.pro -recursive \
+ CONFIG+="${conf_add} no-client"
+}
+
+src_install() {
+ dodoc README CHANGES
+
+ docinto scripts
+ dodoc scripts/*.php scripts/*.pl
+
+ local dir
+ if use debug; then
+ dir=debug
+ else
+ dir=release
+ fi
+
+ dobin "${dir}"/murmurd
+
+ insinto /etc/murmur/
+ newins scripts/murmur.ini.system murmur.ini
+
+ insinto /etc/logrotate.d/
+ newins "${FILESDIR}"/murmur.logrotate murmur
+
+ insinto /etc/dbus-1/system.d/
+ doins scripts/murmur.conf
+
+ insinto /usr/share/murmur/
+ doins src/murmur/Murmur.ice
+
+ newinitd "${FILESDIR}"/murmur.initd-r1 murmur
+ newconfd "${FILESDIR}"/murmur.confd murmur
+
+ if use dbus; then
+ systemd_newunit "${FILESDIR}"/murmurd-dbus.service "${PN}".service
+ systemd_newtmpfilesd "${FILESDIR}"/murmurd-dbus.tmpfiles "${PN}".conf
+ else
+ systemd_newunit "${FILESDIR}"/murmurd-no-dbus.service "${PN}".service
+ fi
+
+ keepdir /var/lib/murmur /var/log/murmur
+ fowners -R murmur /var/lib/murmur /var/log/murmur
+ fperms 750 /var/lib/murmur /var/log/murmur
+
+ # Fix permissions on config file as it might contain passwords.
+ # (bug #559362)
+ fowners root:murmur /etc/murmur/murmur.ini
+ fperms 640 /etc/murmur/murmur.ini
+
+ doman man/murmurd.1
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+}
diff --git a/media-sound/murmur/murmur-1.2.19.ebuild b/media-sound/murmur/murmur-1.2.19.ebuild
new file mode 100644
index 000000000000..3ee8728d366d
--- /dev/null
+++ b/media-sound/murmur/murmur-1.2.19.ebuild
@@ -0,0 +1,130 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils qmake-utils systemd user readme.gentoo-r1
+
+MY_P="mumble-${PV/_/~}"
+
+DESCRIPTION="Mumble is an open source, low-latency, high quality voice chat software"
+HOMEPAGE="https://wiki.mumble.info"
+SRC_URI="https://mumble.info/snapshot/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ia64 ~x86"
+IUSE="+dbus debug +ice pch zeroconf"
+
+RDEPEND=">=dev-libs/openssl-1.0.0b:0=
+ >=dev-libs/protobuf-2.2.0:=
+ sys-apps/lsb-release
+ >=sys-libs/libcap-2.15
+ dev-qt/qtcore:4[ssl]
+ || ( dev-qt/qtsql:4[sqlite] dev-qt/qtsql:4[mysql] )
+ dev-qt/qtxmlpatterns:4
+ dbus? ( dev-qt/qtdbus:4 )
+ ice? ( dev-libs/Ice:= )
+ zeroconf? ( net-dns/avahi[mdnsresponder-compat] )"
+
+DEPEND="${RDEPEND}
+ >=dev-libs/boost-1.41.0
+ virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.2.17-ice-3.6.3-compat.patch
+)
+
+DOC_CONTENTS="
+ Useful scripts are located in /usr/share/doc/${PF}/scripts.\n
+ Please execute:\n
+ murmurd -ini /etc/murmur/murmur.ini -supw <pw>\n
+ chown murmur:murmur /var/lib/murmur/murmur.sqlite\n
+ to set the build-in 'SuperUser' password before starting murmur.
+ Please restart dbus before starting murmur, or else dbus
+ registration will fail.
+"
+
+pkg_setup() {
+ enewgroup murmur
+ enewuser murmur -1 -1 /var/lib/murmur murmur
+}
+
+src_prepare() {
+ default
+
+ sed \
+ -e 's:mumble-server:murmur:g' \
+ -e 's:/var/run:/run:g' \
+ -i "${S}"/scripts/murmur.{conf,ini.system} || die
+}
+
+src_configure() {
+ local conf_add
+
+ use dbus || conf_add="${conf_add} no-dbus"
+ use debug && conf_add="${conf_add} symbols debug" || conf_add="${conf_add} release"
+ use ice || conf_add="${conf_add} no-ice"
+ use pch || conf_add="${conf_add} no-pch"
+ use zeroconf || conf_add="${conf_add} no-bonjour"
+
+ eqmake4 main.pro -recursive \
+ CONFIG+="${conf_add} no-client"
+}
+
+src_install() {
+ dodoc README CHANGES
+
+ docinto scripts
+ dodoc scripts/*.php scripts/*.pl
+
+ local dir
+ if use debug; then
+ dir=debug
+ else
+ dir=release
+ fi
+
+ dobin "${dir}"/murmurd
+
+ insinto /etc/murmur/
+ newins scripts/murmur.ini.system murmur.ini
+
+ insinto /etc/logrotate.d/
+ newins "${FILESDIR}"/murmur.logrotate murmur
+
+ insinto /etc/dbus-1/system.d/
+ doins scripts/murmur.conf
+
+ insinto /usr/share/murmur/
+ doins src/murmur/Murmur.ice
+
+ newinitd "${FILESDIR}"/murmur.initd-r1 murmur
+ newconfd "${FILESDIR}"/murmur.confd murmur
+
+ if use dbus; then
+ systemd_newunit "${FILESDIR}"/murmurd-dbus.service "${PN}".service
+ systemd_newtmpfilesd "${FILESDIR}"/murmurd-dbus.tmpfiles "${PN}".conf
+ else
+ systemd_newunit "${FILESDIR}"/murmurd-no-dbus.service "${PN}".service
+ fi
+
+ keepdir /var/lib/murmur /var/log/murmur
+ fowners -R murmur /var/lib/murmur /var/log/murmur
+ fperms 750 /var/lib/murmur /var/log/murmur
+
+ # Fix permissions on config file as it might contain passwords.
+ # (bug #559362)
+ fowners root:murmur /etc/murmur/murmur.ini
+ fperms 640 /etc/murmur/murmur.ini
+
+ doman man/murmurd.1
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+}