From 263fa528e45cc88908e1138845f993e35eff5c0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 3 Feb 2020 21:04:11 +0100 Subject: kodi and ffmpeg-rpi: provides to replace upstream packages --- kodi-x11/APKBUILD | 9 +++++---- kodi-x11/kodi.init | 17 +++++++++++++++++ kodi-x11/kodi_x11.init | 17 ----------------- 3 files changed, 22 insertions(+), 21 deletions(-) create mode 100644 kodi-x11/kodi.init delete mode 100644 kodi-x11/kodi_x11.init (limited to 'kodi-x11') diff --git a/kodi-x11/APKBUILD b/kodi-x11/APKBUILD index 8561cc2..165ada5 100644 --- a/kodi-x11/APKBUILD +++ b/kodi-x11/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Karel Kočí # Maintainer: Karel Kočí pkgname=kodi-x11 -pkgver=0.1.1 +pkgver=0.1.2 pkgrel=1 pkgdesc="Kodi with user kodi and init" url="https://git.cynerd.cz/alpine-personal-pkgs/" @@ -9,13 +9,14 @@ arch="noarch" license="GPL-3.0+" options="!check" +provides="kodi-openrc" makedepends="raspberrypi-dev" depends="kodi kodi-bin kodi-polkit" -source="kodi_x11.init" +source="kodi.init" install="$pkgname.pre-install" package() { - install -Dm755 "$srcdir"/kodi_x11.init "$pkgdir"/etc/init.d/kodi_x11 + install -Dm755 "$srcdir"/kodi.init "$pkgdir"/etc/init.d/kodi } -sha512sums="fcc157208017c782c57c78b069a0872a47c7d448b52825b4bdd32c51fc5b494fcc6386fe02619df8b1008c317726ddeb62f8189c2c4437065eb3369cfec3f1ce kodi_x11.init" +sha512sums="fcc157208017c782c57c78b069a0872a47c7d448b52825b4bdd32c51fc5b494fcc6386fe02619df8b1008c317726ddeb62f8189c2c4437065eb3369cfec3f1ce kodi.init" diff --git a/kodi-x11/kodi.init b/kodi-x11/kodi.init new file mode 100644 index 0000000..89ae701 --- /dev/null +++ b/kodi-x11/kodi.init @@ -0,0 +1,17 @@ +#!/sbin/openrc-run + +supervisor=supervise-daemon + +name="Kodi" +description="A software media player and entertainment hub for digital media" + +command="/usr/bin/xinit" +command_args="/usr/bin/kodi-standalone -- :0" +command_user="kodi:kodi" +command_background="yes" +directory="/var/lib/kodi" +pidfile="/var/run/kodi.pid" + +depend() { + need net +} diff --git a/kodi-x11/kodi_x11.init b/kodi-x11/kodi_x11.init deleted file mode 100644 index 89ae701..0000000 --- a/kodi-x11/kodi_x11.init +++ /dev/null @@ -1,17 +0,0 @@ -#!/sbin/openrc-run - -supervisor=supervise-daemon - -name="Kodi" -description="A software media player and entertainment hub for digital media" - -command="/usr/bin/xinit" -command_args="/usr/bin/kodi-standalone -- :0" -command_user="kodi:kodi" -command_background="yes" -directory="/var/lib/kodi" -pidfile="/var/run/kodi.pid" - -depend() { - need net -} -- cgit v1.2.3