[arch-commits] Commit in syncplay/repos (4 files)
Caleb Maclennan
alerque at gemini.archlinux.org
Fri Feb 4 23:15:19 UTC 2022
Date: Friday, February 4, 2022 @ 23:15:19
Author: alerque
Revision: 1126277
archrelease: copy trunk to community-any
Added:
syncplay/repos/community-any/
syncplay/repos/community-any/PKGBUILD
(from rev 1126276, syncplay/trunk/PKGBUILD)
syncplay/repos/community-any/syncplay.conf
(from rev 1126276, syncplay/trunk/syncplay.conf)
syncplay/repos/community-any/syncplay.service
(from rev 1126276, syncplay/trunk/syncplay.service)
------------------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
syncplay.conf | 13 +++++++++++++
syncplay.service | 12 ++++++++++++
3 files changed, 58 insertions(+)
Copied: syncplay/repos/community-any/PKGBUILD (from rev 1126276, syncplay/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2022-02-04 23:15:19 UTC (rev 1126277)
@@ -0,0 +1,33 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Alexandria Pettit <alxpettit at gmail.com>
+# Contributor: Jorge Israel Peña <jorge.israel.p at gmail.com>
+# Contributor: mrAppleXZ <mr.applexz at gmail.com>
+
+pkgname=syncplay
+pkgver=1.6.9
+pkgrel=4
+pkgdesc='Synchronize watching movies on mplayer2, vlc, mpv, and mpc-hc across many computers'
+arch=(any)
+url=http://syncplay.pl
+_url="https://github.com/Syncplay/$pkgname"
+license=(Apache)
+depends=(python
+ python-twisted)
+optdepends=('pyside2: GUI'
+ 'python-service-identity: TLS'
+ 'python-certifi: TLS')
+backup=("etc/$pkgname/server.conf")
+_archive="$pkgname-$pkgver"
+source=("$url/archive/v$pkgver/$_archive.tar.gz"
+ "$pkgname.service"
+ "$pkgname.conf")
+sha256sums=('b4acaf009b816dcb3261d9b327aace9005494f0977944b65e3623d50eb465972'
+ 'bbbf8f9dfc36631b49ba7d0fe3f980066b30a544954680a677e5e8629b7e0a8b'
+ 'df3c7656024d60c59664c79f4890f7780a2c5b8b537ac61b017e16b3d4420808')
+
+package() {
+ install -Dm0644 "$pkgname.service" "$pkgdir/usr/lib/systemd/system/$pkgname at .service"
+ install -Dm0644 "$pkgname.conf" "$pkgdir/etc/$pkgname/server.conf"
+ cd "$_archive"
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+}
Copied: syncplay/repos/community-any/syncplay.conf (from rev 1126276, syncplay/trunk/syncplay.conf)
===================================================================
--- community-any/syncplay.conf (rev 0)
+++ community-any/syncplay.conf 2022-02-04 23:15:19 UTC (rev 1126277)
@@ -0,0 +1,13 @@
+# This is the file that syncplay at .service loads settings from, it does not affect the binary itself
+# See https://syncplay.pl/guide/server/ for a list of available flags and description
+#port="--port=8999"
+#isolate="--isolate-room"
+#password="--password yourpassword"
+#salt="--salt RANDOMSALT"
+#motd="--motd-file /etc/syncplay/motd"
+#ready="--disable-ready"
+#chat="--disable-chat"
+#maxChars="--max-chat-message-length 500"
+#usernameLength="--max-username-length 20"
+#statsFile="--stats-db-file /etc/syncplay/stats.db"
+#tls="--tls /etc/letsencrypt/live/syncplay.example.com/"
Copied: syncplay/repos/community-any/syncplay.service (from rev 1126276, syncplay/trunk/syncplay.service)
===================================================================
--- community-any/syncplay.service (rev 0)
+++ community-any/syncplay.service 2022-02-04 23:15:19 UTC (rev 1126277)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Syncplay Server
+After=network.target
+
+[Service]
+Type=simple
+User=%I
+EnvironmentFile=/etc/syncplay/server.conf
+ExecStart=/usr/bin/syncplay-server $port $isolate $password $salt $motd $ready $chat $maxChars $usernameLength $statsFile $tls
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list