Date: Friday, February 4, 2022 @ 23:14:59 Author: alerque Revision: 1126276
Migrate syncplay from AUR Added: syncplay/ syncplay/repos/ syncplay/trunk/ syncplay/trunk/PKGBUILD syncplay/trunk/syncplay.conf syncplay/trunk/syncplay.service ------------------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ syncplay.conf | 13 +++++++++++++ syncplay.service | 12 ++++++++++++ 3 files changed, 58 insertions(+) Added: syncplay/trunk/PKGBUILD =================================================================== --- syncplay/trunk/PKGBUILD (rev 0) +++ syncplay/trunk/PKGBUILD 2022-02-04 23:14:59 UTC (rev 1126276) @@ -0,0 +1,33 @@ +# Maintainer: Caleb Maclennan <[email protected]> +# Contributor: Alexandria Pettit <[email protected]> +# Contributor: Jorge Israel Peña <[email protected]> +# Contributor: mrAppleXZ <[email protected]> + +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/[email protected]" + install -Dm0644 "$pkgname.conf" "$pkgdir/etc/$pkgname/server.conf" + cd "$_archive" + make PREFIX=/usr DESTDIR="$pkgdir" install +} Added: syncplay/trunk/syncplay.conf =================================================================== --- syncplay/trunk/syncplay.conf (rev 0) +++ syncplay/trunk/syncplay.conf 2022-02-04 23:14:59 UTC (rev 1126276) @@ -0,0 +1,13 @@ +# This is the file that [email protected] 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/" Added: syncplay/trunk/syncplay.service =================================================================== --- syncplay/trunk/syncplay.service (rev 0) +++ syncplay/trunk/syncplay.service 2022-02-04 23:14:59 UTC (rev 1126276) @@ -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
