summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorM0Rf302019-10-23 02:14:46 +0200
committerM0Rf302019-10-23 02:14:46 +0200
commitfde50fc16a5a0c69d0b28587609c420f7a1ce228 (patch)
treebcfd60e6a18a6c78d148d358adb03c0e10228c1a
parentc0a9dc7baa74c65dd5d27437764078fbea921ea2 (diff)
downloadaur-fde50fc16a5a0c69d0b28587609c420f7a1ce228.tar.gz
mycroft-core: 19.8.2
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD20
-rw-r--r--client.conf1
-rw-r--r--mycroft-core.install4
-rw-r--r--mycroft.tmpfiles4
5 files changed, 28 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ad8c51c23d05..0076a1dc304e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = mycroft-core
pkgdesc = The Mycroft Artificial Intelligence platform.
- pkgver = 19.8.1
- pkgrel = 4
+ pkgver = 19.8.2
+ pkgrel = 1
url = https://github.com/MycroftAI/mycroft-core
install = mycroft-core.install
arch = i686
@@ -29,14 +29,16 @@ pkgbase = mycroft-core
depends = pulseaudio
depends = pulseaudio-alsa
depends = fann
- source = https://github.com/MycroftAI/mycroft-core/archive/release/v19.8.1.tar.gz
+ source = https://github.com/MycroftAI/mycroft-core/archive/release/v19.8.2.tar.gz
source = mycroft.tmpfiles
source = mycroft.sysusers
source = mycroft.service
- md5sums = 04ec4428ad8ee3787e798bcd5a7ed23a
- md5sums = b09b8ac1a4c1fbb17c79bde8d6520ea1
+ source = client.conf
+ md5sums = 8cc14a0c6b74d35dd7e4a4d749695b42
+ md5sums = 74702c5b02efba7729fe18353418d567
md5sums = 578b9531acff7b5bf96d776bbd327d15
md5sums = fc7662b4e3b499cbb0b4f8df12b0ce80
+ md5sums = 46775f06fd9d6c4ad5ff3a221d4912ff
pkgname = mycroft-core
diff --git a/PKGBUILD b/PKGBUILD
index 615a36d0eca2..49eaecfcea8d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
# Contributor: Thorben Guenther <echo YWRtaW5AeGVucm94Lm5ldAo= | base64 -d>
pkgname=mycroft-core
-pkgver=19.8.1
-pkgrel=4
+pkgver=19.8.2
+pkgrel=1
pkgdesc="The Mycroft Artificial Intelligence platform."
arch=('i686' 'x86_64')
url='https://github.com/MycroftAI/mycroft-core'
@@ -30,6 +30,7 @@ source=("https://github.com/MycroftAI/mycroft-core/archive/release/v${pkgver}.ta
"mycroft.tmpfiles"
"mycroft.sysusers"
"mycroft.service"
+ "client.conf"
)
prepare() {
@@ -66,9 +67,18 @@ package() {
# Cleanup
find . -name "*.py[co]" -o -name __pycache__ -exec rm -rf {} +
rm -rf "$pkgdir/usr/share/mycroft-core/test"
+
+ # Pulseaudio Client configuration
+ install -D -m644 "${srcdir}/client.conf" "${pkgdir}/usr/share/mycroft-core/pulseaudio.client.conf"
}
-md5sums=('04ec4428ad8ee3787e798bcd5a7ed23a'
- 'b09b8ac1a4c1fbb17c79bde8d6520ea1'
+md5sums=('8cc14a0c6b74d35dd7e4a4d749695b42'
+ '9f40c594e9f55ff63bc40108a694ed09'
+ '578b9531acff7b5bf96d776bbd327d15'
+ 'fc7662b4e3b499cbb0b4f8df12b0ce80'
+'46775f06fd9d6c4ad5ff3a221d4912ff')
+md5sums=('8cc14a0c6b74d35dd7e4a4d749695b42'
+ '74702c5b02efba7729fe18353418d567'
'578b9531acff7b5bf96d776bbd327d15'
-'fc7662b4e3b499cbb0b4f8df12b0ce80')
+ 'fc7662b4e3b499cbb0b4f8df12b0ce80'
+'46775f06fd9d6c4ad5ff3a221d4912ff')
diff --git a/client.conf b/client.conf
new file mode 100644
index 000000000000..a14b103865b9
--- /dev/null
+++ b/client.conf
@@ -0,0 +1 @@
+default-server = 127.0.0.1
diff --git a/mycroft-core.install b/mycroft-core.install
index 0c4fb6528033..80d69c447ff8 100644
--- a/mycroft-core.install
+++ b/mycroft-core.install
@@ -1,8 +1,8 @@
post_install() {
echo "====> Replace this line within /etc/pulse/default.pa:"
- echo "==== load-module module-native-protocol-unix"
+ echo "==== #load-module module-native-protocol-tcp"
echo "====> with:"
- echo "==== load-module module-native-protocol-unix auth-anonymous=1"
+ echo "==== load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1"
echo "====> Restart PulseAudio"
echo "====> Finally run:"
echo "==== systemctl start mycroft.service"
diff --git a/mycroft.tmpfiles b/mycroft.tmpfiles
index e1d5f2d75812..48789d729701 100644
--- a/mycroft.tmpfiles
+++ b/mycroft.tmpfiles
@@ -1,6 +1,8 @@
Z /usr/share/mycroft-core 0755 mycroft mycroft
-d /var/lib/mycroft 0755 mycroft mycroft
+Z /var/lib/mycroft 0755 mycroft mycroft
d /var/log/mycroft 0755 mycroft mycroft
d /opt/mycroft/ 0755 mycroft mycroft
d /tmp/mycroft/ 0755 mycroft mycroft
f /var/tmp/mycroft_web_cache.json 0755 mycroft mycroft
+L /var/lib/mycroft/.config/pulse/client.conf - - - - /usr/share/mycroft-core/pulseaudio.client.conf
+