summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorM0Rf302019-10-15 20:02:13 +0200
committerM0Rf302019-10-15 20:02:13 +0200
commite88eb0f8ba344a36e9cbe5229747d8ea18b88e52 (patch)
tree4d83058acb1bd186a360b86f73c7e4f2255ae509
parent247154f036152db0be3a7e8869e8dafc233ca75c (diff)
downloadaur-e88eb0f8ba344a36e9cbe5229747d8ea18b88e52.tar.gz
mycroft-core: many pulseaudio fixes
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
-rw-r--r--mycroft-core.install5
-rw-r--r--mycroft.tmpfiles1
4 files changed, 7 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 531ae212acb8..c925b0cf4b42 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = mycroft-core
pkgdesc = The Mycroft Artificial Intelligence platform.
pkgver = 19.8.1
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/MycroftAI/mycroft-core
install = mycroft-core.install
arch = i686
@@ -35,7 +35,7 @@ pkgbase = mycroft-core
source = mycroft.service
source = mycroft.pulseaudio
md5sums = 04ec4428ad8ee3787e798bcd5a7ed23a
- md5sums = b09b8ac1a4c1fbb17c79bde8d6520ea1
+ md5sums = 5e3d6efeb812c6020d3d7f532ca6541c
md5sums = f4b41cc9e1a7308c8833f0f7804d8c02
md5sums = a587888fcaf792ab9ceb6c698bb03ac3
md5sums = ffd5e294798abaa35bb79f2b1afd40e1
diff --git a/PKGBUILD b/PKGBUILD
index 1fd3e339990b..595edae2f8b0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=mycroft-core
pkgver=19.8.1
-pkgrel=2
+pkgrel=3
pkgdesc="The Mycroft Artificial Intelligence platform."
arch=('i686' 'x86_64')
url='https://github.com/MycroftAI/mycroft-core'
@@ -65,13 +65,14 @@ package() {
# Cleanup
find . -name "*.py[co]" -o -name __pycache__ -exec rm -rf {} +
+ rm -rf "$pkgdir/usr/share/mycroft-core/test"
# Pulseaudio Workaround (any suggestion is well accepted)
install -D -m644 "${srcdir}/mycroft.pulseaudio" "${pkgdir}/usr/share/mycroft-core/pulse-client.conf"
}
md5sums=('04ec4428ad8ee3787e798bcd5a7ed23a'
- 'b09b8ac1a4c1fbb17c79bde8d6520ea1'
+ '5e3d6efeb812c6020d3d7f532ca6541c'
'f4b41cc9e1a7308c8833f0f7804d8c02'
'a587888fcaf792ab9ceb6c698bb03ac3'
'ffd5e294798abaa35bb79f2b1afd40e1')
diff --git a/mycroft-core.install b/mycroft-core.install
index 94843fcb56c6..cbf6fedb90ad 100644
--- a/mycroft-core.install
+++ b/mycroft-core.install
@@ -3,11 +3,8 @@ post_install() {
echo "==== sudo gpasswd -a mycroft audio"
echo "==== sudo gpasswd -a mycroft dbus"
echo "==== sudo gpasswd -a mycroft network"
- echo "====> Add this line to your default.pa PulseAudio file configuration"
+ echo "====> Add this line to /etc/default.pa PulseAudio file configuration and restart PulseAudio"
echo "==== load-module module-native-protocol-unix auth-anonymous=1 socket=/tmp/pulse-socket"
- echo "====> Read instructions under /usr/share/mycroft-core/pulseaudio-client.conf"
- echo "====> Add this line into /etc/pulse/client.conf"
- echo "==== autospawn=1"
echo "====> Finally run:"
echo "==== systemctl start mycroft.service"
}
diff --git a/mycroft.tmpfiles b/mycroft.tmpfiles
index e1d5f2d75812..2db9d656371c 100644
--- a/mycroft.tmpfiles
+++ b/mycroft.tmpfiles
@@ -1,5 +1,6 @@
Z /usr/share/mycroft-core 0755 mycroft mycroft
d /var/lib/mycroft 0755 mycroft mycroft
+L /var/lib/mycroft/.config/pulse/client.conf 0644 mycroft mycroft - /usr/share/mycroft-core/pulse-client.conf
d /var/log/mycroft 0755 mycroft mycroft
d /opt/mycroft/ 0755 mycroft mycroft
d /tmp/mycroft/ 0755 mycroft mycroft