diff options
author | Bart Ribbers <bribbers@disroot.org> | 2020-03-09 09:27:16 +0100 |
---|---|---|
committer | Rasmus Thomsen <oss@cogitri.dev> | 2020-03-09 11:53:13 +0100 |
commit | cda2953723a3bbc4802976945de933aa0ead9bf5 (patch) | |
tree | 2e639990f9f76a054ceff0a0fd78855cc981c343 /testing | |
parent | 5ef96d869566728055eb9bf0034378dc21717ac1 (diff) | |
download | aports-cda2953723a3bbc4802976945de933aa0ead9bf5.tar.bz2 aports-cda2953723a3bbc4802976945de933aa0ead9bf5.tar.xz |
testing/nymphcast: add custom init file
The one upstream uses paths that are not correct in Alpine
Diffstat (limited to 'testing')
-rw-r--r-- | testing/nymphcast/APKBUILD | 12 | ||||
-rwxr-xr-x | testing/nymphcast/nymphcast.initd | 5 |
2 files changed, 12 insertions, 5 deletions
diff --git a/testing/nymphcast/APKBUILD b/testing/nymphcast/APKBUILD index 48cce37750..b630a09d75 100644 --- a/testing/nymphcast/APKBUILD +++ b/testing/nymphcast/APKBUILD @@ -2,15 +2,16 @@ # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=nymphcast pkgver=0_git20200308 -pkgrel=0 +pkgrel=1 _commit="ad8f817263b7c57eff262d1454e03cd08d626e44" arch="all !armv7" # Assembly failure url="http://nyanko.ws/product_nymphcast.php" -pkgdesc="Audio and video casting system with support for custom application" +pkgdesc="Audio and video casting system with support for custom applications" license="BSD-3-Clause" depends="avahi" makedepends="nymphrpc-static nymphrpc-dev sdl2-dev sdl2_image-dev ffmpeg-dev openssl-dev" -source="$pkgname-$_commit.tar.gz::https://github.com/MayaPosch/NymphCast/archive/$_commit.tar.gz" +source="$pkgname-$_commit.tar.gz::https://github.com/MayaPosch/NymphCast/archive/$_commit.tar.gz + nymphcast.initd" subpackages="$pkgname-static $pkgname-dev $pkgname-openrc" options="!check" # No tests builddir="$srcdir/NymphCast-$_commit" @@ -36,7 +37,7 @@ package() { install -Dm644 "$file" "$pkgdir"/usr/share/nymphcast/wallpapers/$file done - install -Dm755 openrc/nymphcast "$pkgdir"/etc/init.d/nymphcast + install -Dm755 "$srcdir"/nymphcast.initd "$pkgdir"/etc/init.d/nymphcast install -Dm644 avahi/nymphcast.service "$pkgdir"/etc/avahi/services/nymphcast.service @@ -46,4 +47,5 @@ package() { install -Dm644 nymphcast_client.h "$pkgdir"/usr/include/nymphcast_client.h } -sha512sums="15003804d78853e2aff8fcd217e3c1ded83159834c745913328b3dbe5c1473080353c56e0a2828e56310ca4a9e75581e828f1d8c88cec1d6b06e8ed87893207f nymphcast-ad8f817263b7c57eff262d1454e03cd08d626e44.tar.gz" +sha512sums="15003804d78853e2aff8fcd217e3c1ded83159834c745913328b3dbe5c1473080353c56e0a2828e56310ca4a9e75581e828f1d8c88cec1d6b06e8ed87893207f nymphcast-ad8f817263b7c57eff262d1454e03cd08d626e44.tar.gz +1ab3f0dad11bca5790a2a637bc624c6b80990d09990a9f5ef3a4537c9c04abf40924633c571ffa86758886d5f21253bb5d0369b17b01f90dcc39b3e609caa405 nymphcast.initd" diff --git a/testing/nymphcast/nymphcast.initd b/testing/nymphcast/nymphcast.initd new file mode 100755 index 0000000000..52a237663e --- /dev/null +++ b/testing/nymphcast/nymphcast.initd @@ -0,0 +1,5 @@ +#!/sbin/openrc-run + +supervisor=supervise-daemon +command="/usr/bin/nymphcast_server" +command_args="-c /etc/nymphcast/nymphcast_config.ini -a /usr/share/nymphcast/apps/ -w /usr/share/nymphcast/wallpapers/" |