summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ffmpeg-rpi/APKBUILD107
-rw-r--r--ffmpeg-rpi/fix-libversion.patch10
-rw-r--r--kodi-rpi/60-kodi.rules12
-rw-r--r--kodi-rpi/APKBUILD140
-rw-r--r--kodi-rpi/cassert.patch25
-rw-r--r--kodi-rpi/fix-musl-incompability.patch108
-rw-r--r--kodi-rpi/kodi-gbm.pre-install10
-rw-r--r--kodi-rpi/kodi.initd12
-rw-r--r--kodi-rpi/set-default-stacksize.patch10
-rw-r--r--kodi-x11/APKBUILD21
-rw-r--r--kodi-x11/kodi-x11.pre-install10
-rw-r--r--kodi-x11/kodi.init17
12 files changed, 0 insertions, 482 deletions
diff --git a/ffmpeg-rpi/APKBUILD b/ffmpeg-rpi/APKBUILD
deleted file mode 100644
index 0591a29..0000000
--- a/ffmpeg-rpi/APKBUILD
+++ /dev/null
@@ -1,107 +0,0 @@
-# Maintainer: Karel Kočí <cynerd@email.cz>
-pkgname=ffmpeg-rpi
-pkgver=4.2.2
-pkgrel=8
-pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix - Raspberry Pi"
-url="https://ffmpeg.org/"
-arch="armhf armv7 aarch64"
-license="GPL-2.0-or-later AND LGPL-2.1-or-later"
-options="!check"
-subpackages="$pkgname-dev $pkgname-doc"
-provides="ffmpeg ffmpeg-libs"
-provides_dev="ffmpeg-dev"
-provides_doc="ffmpeg-doc"
-makedepends="
- alsa-lib-dev
- coreutils
- bzip2-dev
- gnutls-dev
- imlib2-dev
- lame-dev
- libass-dev
- libssh-dev
- libtheora-dev
- libvorbis-dev
- libvpx-dev
- libxfixes-dev
- opus-dev
- perl-dev
- raspberrypi-dev
- sdl2-dev
- v4l-utils-dev
- x264-dev
- x265-dev
- xvidcore-dev
- yasm
- zlib-dev
- "
-source="https://ffmpeg.org/releases/ffmpeg-$pkgver.tar.xz
- fix-libversion.patch"
-
-# add support for AV1 codec for all archies except armhf and armv7
-# as aom is not available on them
-_aom="";
-
-case "$CARCH" in
- aarch64)
- _aom="--enable-libaom"; makedepends="$makedepends aom-dev" ;;
-esac
-
-unpack() {
- default_unpack
- mv "ffmpeg-$pkgver" "$builddir"
-}
-
-build() {
- local _dbg="--disable-debug"
- [ -n "$DEBUG" ] && _dbg="--enable-debug"
-
- ./configure \
- --prefix=/usr \
- --target-os=linux \
- --enable-avresample \
- --enable-avfilter \
- --enable-gnutls \
- --enable-gpl \
- --enable-libass \
- --enable-libmp3lame \
- --enable-libvorbis \
- --enable-libvpx \
- --enable-libxvid \
- --enable-libx264 \
- --enable-libx265 \
- --enable-libtheora \
- --enable-libv4l2 \
- --enable-postproc \
- --enable-pic \
- --enable-pthreads \
- --enable-shared \
- --enable-libxcb \
- --enable-libssh \
- --enable-libopus \
- --disable-stripping \
- --disable-static \
- --disable-librtmp \
- --disable-vaapi \
- --disable-vdpau \
- --enable-omx \
- --enable-omx-rpi \
- --enable-mmal \
- --extra-cflags="-I/opt/vc/include -I/opt/vc/include/IL" \
- --extra-ldflags="-L/opt/vc/lib" \
- --extra-libs="-lbcm_host -lvcos -lvchiq_arm -lmmal -lmmal_core -lmmal_util -lvcsm" \
- $_aom $_dbg
- make
- cat libavcodec/libavcodec.version
- cat */*.version
- ${CC:-gcc} -o tools/qt-faststart $CFLAGS tools/qt-faststart.c
- make doc/ffmpeg.1 doc/ffplay.1
-}
-
-package() {
- make DESTDIR="$pkgdir" install install-man
- install -D -m755 tools/qt-faststart "$pkgdir/usr/bin/qt-faststart"
-}
-
-sha512sums="381cd6732fa699eb89000621cf34256920596ed1f9de3c2194dbad35fdf2165269eb7d3a147a0eb75dc18fbb6d601382b5801750e09fc63547766842f84208e3 ffmpeg-4.2.2.tar.xz
-9125910cc402a36b92c0c92a13c1b435065ae3e18fbb4dc651d37b8dffbd69a57e706fa9efc009e989d9b8236fac5fca189ffeeb8a12f9d956d40b1cdda372c8 fix-libversion.patch"
diff --git a/ffmpeg-rpi/fix-libversion.patch b/ffmpeg-rpi/fix-libversion.patch
deleted file mode 100644
index 2d12e40..0000000
--- a/ffmpeg-rpi/fix-libversion.patch
+++ /dev/null
@@ -1,10 +0,0 @@
-diff --git a/ffbuild/libversion.sh b/ffbuild/libversion.sh
-index 990ce9f640..30046b1d25 100755
---- a/ffbuild/libversion.sh
-+++ b/ffbuild/libversion.sh
-@@ -1,3 +1,5 @@
-+#!/bin/sh
-+
- toupper(){
- echo "$@" | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ
- }
diff --git a/kodi-rpi/60-kodi.rules b/kodi-rpi/60-kodi.rules
deleted file mode 100644
index 7023ff7..0000000
--- a/kodi-rpi/60-kodi.rules
+++ /dev/null
@@ -1,12 +0,0 @@
-// DO NOT EDIT THIS FILE, it will be overwritten on update
-//
-// Allows shutting down the system when using Kodi with a dedicated user
-
-polkit.addRule(function(action, subject) {
- if (( (action.id.indexOf("org.freedesktop.udisks.") == 0) ||
- (action.id.indexOf("org.freedesktop.upower.") == 0) ||
- (action.id.indexOf("org.freedesktop.login1.") == 0) ) &&
- subject.user == "kodi") {
- return polkit.Result.YES;
- }
-});
diff --git a/kodi-rpi/APKBUILD b/kodi-rpi/APKBUILD
deleted file mode 100644
index 18dff44..0000000
--- a/kodi-rpi/APKBUILD
+++ /dev/null
@@ -1,140 +0,0 @@
-# Maintainer: Karel Kočí <cynerd@email.cz>
-pkgname=kodi-rpi
-pkgver=18.5
-_realname=Leia
-pkgrel=0
-_libdvdcss_pkgver="1.4.2-Leia-Beta-5"
-_libdvdread_pkgver="6.0.0-Leia-Alpha-3"
-_libdvdnav_pkgver="6.0.0-Leia-Alpha-3"
-_crossguid_hash="8f399e8bd4"
-pkgdesc="A software media player and entertainment hub for digital media (Raspberry Pi build)"
-url="https://kodi.tv"
-arch="armv7"
-license="GPL-2.0-only"
-depends="python2
- coreutils
- hicolor-icon-theme
- xdpyinfo
- curl
- py-pillow
- py-bluez
- py-simplejson"
-# Required dependencies
-depends_dev="libass-dev
- libcdio-dev
- curl-dev
- ffmpeg-dev
- flatbuffers-dev
- fmt-dev
- freetype-dev
- fribidi-dev
- fstrcmp-dev
- libdvdcss-dev
- lzo-dev
- openssl-dev
- pcre-dev
- rapidjson-dev
- sqlite-dev
- taglib-dev
- tinyxml-dev
- zlib-dev
- giflib-dev
- libjpeg-turbo-dev
-"
-
-# Required for Raspberry Pi
-depends_dev="$depends_dev
- raspberrypi-dev
-"
-
-# Optional for extra features
-depends_dev="$depends_dev
- alsa-lib-dev
- avahi-dev
- bluez-dev
- libbluray-dev
- libcap-dev
- libcec-dev
- dbus-dev
- libmicrohttpd-dev
- libnfs-dev
- libplist-dev
- pulseaudio-dev
- python2-dev
- samba-dev
- eudev-dev
- libxslt-dev
- mariadb-connector-c-dev
- libshairport-dev"
-makedepends="$depends_dev
- cmake
- swig
- autoconf
- automake
- libtool
- doxygen
- graphviz
- xz
- tar
- openjdk8-jre-base"
-
-replaces="xbmc"
-provides="kodi kodi-bin"
-options="ldpath-recursive !check" # No testsuite
-source="https://github.com/xbmc/xbmc/archive/$pkgver-$_realname.tar.gz
- libdvdcss-$_libdvdcss_pkgver.tar.gz::https://github.com/xbmc/libdvdcss/archive/$_libdvdcss_pkgver.tar.gz
- libdvdread-$_libdvdread_pkgver.tar.gz::https://github.com/xbmc/libdvdread/archive/$_libdvdread_pkgver.tar.gz
- libdvdnav-$_libdvdnav_pkgver.tar.gz::https://github.com/xbmc/libdvdnav/archive/$_libdvdnav_pkgver.tar.gz
- crossguid-$_crossguid_hash.tar.gz::https://mirrors.kodi.tv/build-deps/sources/crossguid-$_crossguid_hash.tar.gz
- set-default-stacksize.patch
- fix-musl-incompability.patch
- cassert.patch
- kodi.initd
- 60-kodi.rules
- "
-
-builddir="$srcdir/xbmc-$pkgver-$_realname"
-
-build() {
- make -C tools/depends/target/crossguid PREFIX="$PWD"/usr
-
- cmake "$builddir" \
- -DCMAKE_BUILD_TYPE=RelWithDebInfo \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DCMAKE_PREFIX_PATH=/opt/vc \
- -DENABLE_EVENTCLIENTS=ON \
- -DENABLE_INTERNAL_FFMPEG=OFF \
- -DENABLE_INTERNAL_FMT=OFF \
- -DENABLE_INTERNAL_CROSSGUID=ON \
- -DENABLE_INTERNAL_FSTRCMP=OFF \
- -DENABLE_INTERNAL_FLATBUFFERS=OFF \
- -DENABLE_INTERNAL_RapidJSON=OFF \
- -Dlibdvdcss_URL="$srcdir"/libdvdcss-$_libdvdcss_pkgver.tar.gz \
- -Dlibdvdread_URL="$srcdir"/libdvdread-$_libdvdread_pkgver.tar.gz \
- -Dlibdvdnav_URL="$srcdir"/libdvdnav-$_libdvdnav_pkgver.tar.gz \
- -DCROSSGUID_URL="$srcdir"/crossguid-$_crossguid_hash.tar.gz \
- -DWITH_CPU="cortex-a53" \
- -DCORE_PLATFORM_NAME=rbpi
- # NOTE: CPU for Raspberry Pi 2 should be cortex-a7
- make
- make preinstall
-}
-
-package() {
- make DESTDIR="$pkgdir" install
-
- install -Dm755 "$srcdir"/kodi.initd "$pkgdir"/etc/init.d/kodi
-}
-
-
-sha512sums="6fe70d8ee5b6ffd3d43b89487554e41eed8dbf95bb017b82578b547ec248ae94f4dda298f0d85c5896019f7032eba4e1e2494c8140dde9c9b9cb21802acfd029 18.5-Leia.tar.gz
-5185dbdbeb1bd13ea9d8723f1f4ab599d6f3102f5ba1096cd085aa1cda252c045f327c719227bba8e1b742352ade5e335106c8d0c1637a5a6b93ce661620dd7e libdvdcss-1.4.2-Leia-Beta-5.tar.gz
-b3419ba0a1a2dd70f1bb6236afdfe1c6e88c9ad4264198b289e3bba9375e077cecf7f89848c7b09debaa445327f3507101f3d157e692f7a7163b2bb52643e1e7 libdvdread-6.0.0-Leia-Alpha-3.tar.gz
-11c93eaacd156f8fd7dec7c43d366438b201f31ad55b2870463a9e286912b6ada08882319a021fb7992190f87b909a49f2b83e0321cc17aedc29f7fe5898fa72 libdvdnav-6.0.0-Leia-Alpha-3.tar.gz
-2682d63609d3dcdfcd8136be632e45df26ad88ce93b9c49745cf728bbd2e6254a7b05c8b059ab581d532372e504206a525a52564b64d076dfdae9c965a09fd16 crossguid-8f399e8bd4.tar.gz
-3fd97e9fa22e59b3cd30fdad19474e177a9d062598765fa8ba4955f1da4e10581ff1463dd0794d3ee3cefebf753007a4d445b2bc47a257574d3927c1408b8876 set-default-stacksize.patch
-65b78a96bef33cec975b371f1a930d551d7b224955d6075b7edc7e51ec30fec9c77d34f622abbaf827c60df6029206b72c02ee2d2f138d276c1b843336fd14ab fix-musl-incompability.patch
-7348495a805d07730dc569b091f15765ca9d86fa28987a343dfc7fa36cd6ecbb52ac4ea76d7c9fe9eab90ed8552ef6aeae7ffd72edd11f8d780c1de2e9ffe49d cassert.patch
-7e2a2289da3098e0007e461ad538dcd6435e908283caf1719788248fe736615890175e11392ca0cd68002872217bbf7b70cf909f228307828aa82467d5502ed4 kodi.initd
-465a2079d598bf909a458d8e9d0ddd2b2a41dff83ba736542cffec7811c044295d5af092928f20aaa6cd3bc8b13bb03ede5c7ded1783680f890464e103392787 60-kodi.rules"
diff --git a/kodi-rpi/cassert.patch b/kodi-rpi/cassert.patch
deleted file mode 100644
index 5246c5c..0000000
--- a/kodi-rpi/cassert.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff --git a/xbmc/profiles/dialogs/GUIDialogProfileSettings.cpp b/xbmc/profiles/dialogs/GUIDialogProfileSettings.cpp
-index 222d1fa..0f654ee 100644
---- a/xbmc/profiles/dialogs/GUIDialogProfileSettings.cpp
-+++ b/xbmc/profiles/dialogs/GUIDialogProfileSettings.cpp
-@@ -30,6 +30,7 @@
- #include "utils/log.h"
- #include "utils/StringUtils.h"
- #include "utils/URIUtils.h"
-+#include <cassert>
- #include "utils/Variant.h"
- #include "ServiceBroker.h"
-
-diff --git a/xbmc/windowing/GraphicContext.cpp b/xbmc/windowing/GraphicContext.cpp
-index 1ced496..0ddbe64 100644
---- a/xbmc/windowing/GraphicContext.cpp
-+++ b/xbmc/windowing/GraphicContext.cpp
-@@ -24,6 +24,8 @@
- #include "guilib/GUIWindowManager.h"
- #include "guilib/TextureManager.h"
-
-+#include <cassert>
-+
- using namespace KODI::MESSAGING;
-
- CGraphicContext::CGraphicContext(void) = default;
diff --git a/kodi-rpi/fix-musl-incompability.patch b/kodi-rpi/fix-musl-incompability.patch
deleted file mode 100644
index 77d9bb8..0000000
--- a/kodi-rpi/fix-musl-incompability.patch
+++ /dev/null
@@ -1,108 +0,0 @@
-diff --git a/xbmc/cores/DllLoader/exports/emu_msvcrt.cpp b/xbmc/cores/DllLoader/exports/emu_msvcrt.cpp
-index 1d5564c8c5..73c07fb586 100644
---- a/xbmc/cores/DllLoader/exports/emu_msvcrt.cpp
-+++ b/xbmc/cores/DllLoader/exports/emu_msvcrt.cpp
-@@ -72,6 +72,13 @@
- #include "platform/win32/CharsetConverter.h"
- #endif
-
-+#ifndef _PATH_MOUNTED
-+#define _PATH_MOUNTED "/proc/mounts"
-+#endif
-+#ifndef _PATH_MNTTAB
-+#define _PATH_MNTTAB "/etc/fstab"
-+#endif
-+
- using namespace XFILE;
-
- struct SDirData
-@@ -124,7 +131,7 @@ extern "C" void __stdcall init_emu_environ()
- dll_putenv("OS=win10");
- #elif defined(TARGET_DARWIN)
- dll_putenv("OS=darwin");
--#elif defined(TARGET_POSIX)
-+#elif defined(TARGET_POSIX) || !defined(__GLIBC__)
- dll_putenv("OS=linux");
- #else
- dll_putenv("OS=unknown");
-@@ -1480,7 +1487,7 @@ extern "C"
- int ret;
-
- ret = dll_fgetpos64(stream, &tmpPos);
--#if !defined(TARGET_POSIX) || defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID)
-+#if !defined(__GLIBC__) || !defined(TARGET_POSIX) || defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID)
- *pos = (fpos_t)tmpPos;
- #else
- pos->__pos = (off_t)tmpPos.__pos;
-@@ -1493,8 +1500,9 @@ extern "C"
- CFile* pFile = g_emuFileWrapper.GetFileXbmcByStream(stream);
- if (pFile != NULL)
- {
--#if !defined(TARGET_POSIX) || defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID)
-- *pos = pFile->GetPosition();
-+#if !defined(__GLIBC__) || !defined(TARGET_POSIX) || defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID)
-+ uint64_t *ppos = (uint64_t *)pos;
-+ *ppos = pFile->GetPosition();
- #else
- pos->__pos = pFile->GetPosition();
- #endif
-@@ -1509,8 +1517,9 @@ extern "C"
- int fd = g_emuFileWrapper.GetDescriptorByStream(stream);
- if (fd >= 0)
- {
--#if !defined(TARGET_POSIX) || defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID)
-- if (dll_lseeki64(fd, *pos, SEEK_SET) >= 0)
-+#if !defined(TARGET_POSIX) || !defined(__GLIBC__) || defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID)
-+ const uint64_t *ppos = (const uint64_t *) pos;
-+ if (dll_lseeki64(fd, *ppos, SEEK_SET) >= 0)
- #else
- if (dll_lseeki64(fd, (__off64_t)pos->__pos, SEEK_SET) >= 0)
- #endif
-@@ -1532,7 +1541,7 @@ extern "C"
- if (fd >= 0)
- {
- fpos64_t tmpPos;
--#if !defined(TARGET_POSIX) || defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID)
-+#if !defined(__GLIBC__) || !defined(TARGET_POSIX) || defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID)
- tmpPos= *pos;
- #else
- tmpPos.__pos = (off64_t)(pos->__pos);
-diff --git a/xbmc/cores/DllLoader/exports/emu_msvcrt.h b/xbmc/cores/DllLoader/exports/emu_msvcrt.h
-index 7869dc221c..3b86d6b45b 100644
---- a/xbmc/cores/DllLoader/exports/emu_msvcrt.h
-+++ b/xbmc/cores/DllLoader/exports/emu_msvcrt.h
-@@ -17,7 +17,7 @@
- #define _onexit_t void*
- #endif
-
--#if defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID)
-+#if !defined(__GLIBC__) || defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID)
- typedef off_t __off_t;
- typedef int64_t off64_t;
- typedef off64_t __off64_t;
-diff --git a/xbmc/cores/DllLoader/exports/wrapper.c b/xbmc/cores/DllLoader/exports/wrapper.c
-index 33ab3437c1..5a68de2c64 100644
---- a/xbmc/cores/DllLoader/exports/wrapper.c
-+++ b/xbmc/cores/DllLoader/exports/wrapper.c
-@@ -23,7 +23,7 @@
- #include <dirent.h>
- #include <dlfcn.h>
-
--#if defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID)
-+#if !defined(__GLIBC__) || defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID)
- typedef off_t __off_t;
- typedef int64_t off64_t;
- typedef off64_t __off64_t;
-diff --git a/xbmc/cores/DllLoader/ldt_keeper.c b/xbmc/cores/DllLoader/ldt_keeper.c
-index 0e6bc81bf7..73f1346458 100644
---- a/xbmc/cores/DllLoader/ldt_keeper.c
-+++ b/xbmc/cores/DllLoader/ldt_keeper.c
-@@ -49,7 +49,7 @@
- #ifdef __cplusplus
- extern "C" {
- #endif
--#if defined(TARGET_ANDROID) && defined(__i386__) && !defined(modify_ldt)
-+#if defined(__linux__) && !defined(__GLIBC__) && !defined(modify_ldt)
- #define modify_ldt(a,b,c) syscall( __NR_modify_ldt, a, b, c);
- #else
- int modify_ldt(int func, void *ptr, unsigned long bytecount);
diff --git a/kodi-rpi/kodi-gbm.pre-install b/kodi-rpi/kodi-gbm.pre-install
deleted file mode 100644
index 03b2e52..0000000
--- a/kodi-rpi/kodi-gbm.pre-install
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-addgroup -S kodi 2>/dev/null
-adduser -S -D -h /var/lib/kodi -s /sbin/nologin -G kodi kodi 2>/dev/null
-
-for group in video audio input; do
- adduser kodi $group 2>/dev/null
-done
-
-exit 0
diff --git a/kodi-rpi/kodi.initd b/kodi-rpi/kodi.initd
deleted file mode 100644
index 4fedd31..0000000
--- a/kodi-rpi/kodi.initd
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/sbin/openrc-run
-
-supervisor=supervise-daemon
-
-name="Kodi"
-description="A software media player and entertainment hub for digital media"
-
-command=/usr/lib/kodi/kodi-gbm
-command_args="--standalone"
-command_background=true
-pidfile="/var/run/kodi.pid"
-command_user="kodi:kodi"
diff --git a/kodi-rpi/set-default-stacksize.patch b/kodi-rpi/set-default-stacksize.patch
deleted file mode 100644
index 8a79215..0000000
--- a/kodi-rpi/set-default-stacksize.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- ./xbmc/threads/platform/pthreads/ThreadImpl.cpp.orig
-+++ ./xbmc/threads/platform/pthreads/ThreadImpl.cpp
-@@ -42,6 +42,7 @@
- {
- pthread_attr_t attr;
- pthread_attr_init(&attr);
-+ if (!stacksize) stacksize = 1024*1024;
- #if !defined(TARGET_ANDROID) // http://code.google.com/p/android/issues/detail?id=7808
- if (stacksize > PTHREAD_STACK_MIN)
- pthread_attr_setstacksize(&attr, stacksize);
diff --git a/kodi-x11/APKBUILD b/kodi-x11/APKBUILD
deleted file mode 100644
index 96bc646..0000000
--- a/kodi-x11/APKBUILD
+++ /dev/null
@@ -1,21 +0,0 @@
-# Contributor: Karel Kočí <cynerd@email.cz>
-# Maintainer: Karel Kočí <cynerd@email.cz>
-pkgname=kodi-x11
-pkgver=0.1.2
-pkgrel=2
-pkgdesc="Kodi with user kodi and init"
-url="https://git.cynerd.cz/alpine-personal-pkgs/"
-arch="noarch"
-license="GPL-3.0+"
-options="!check"
-
-provides="kodi-openrc"
-depends="kodi kodi-bin kodi-polkit"
-source="kodi.init"
-install="$pkgname.pre-install"
-
-package() {
- install -Dm755 "$srcdir"/kodi.init "$pkgdir"/etc/init.d/kodi
-}
-
-sha512sums="fcc157208017c782c57c78b069a0872a47c7d448b52825b4bdd32c51fc5b494fcc6386fe02619df8b1008c317726ddeb62f8189c2c4437065eb3369cfec3f1ce kodi.init"
diff --git a/kodi-x11/kodi-x11.pre-install b/kodi-x11/kodi-x11.pre-install
deleted file mode 100644
index 3302761..0000000
--- a/kodi-x11/kodi-x11.pre-install
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-addgroup -S kodi 2>/dev/null
-adduser -S -D -h /var/lib/kodi -s /sbin/nologin -G kodi kodi 2>/dev/null
-
-for group in video dialout audio input usb; do
- adduser kodi $group 2>/dev/null
-done
-
-exit 0
diff --git a/kodi-x11/kodi.init b/kodi-x11/kodi.init
deleted file mode 100644
index 89ae701..0000000
--- a/kodi-x11/kodi.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
-}