mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
removed alarm/kodi-c2
Unmaintained, out of date, no longer builds with upstream package removals.
This commit is contained in:
parent
b70512058e
commit
471dfd674d
9 changed files with 0 additions and 390 deletions
|
@ -1,8 +0,0 @@
|
||||||
KERNEL=="CEC", MODE="0666", GROUP="video"
|
|
||||||
KERNEL=="mali*", MODE="0666", GROUP="video"
|
|
||||||
KERNEL=="am*", MODE="0666", GROUP="video"
|
|
||||||
KERNEL=="ump", MODE="0666", GROUP="video"
|
|
||||||
KERNEL=="drm", MODE="0666", GROUP="video"
|
|
||||||
KERNEL=="ge2d", MODE="0666", GROUP="video"
|
|
||||||
KERNEL=="brightness", MODE="0666", GROUP="video"
|
|
||||||
KERNEL=="ttySAC0", SYMLINK+="ttyACM99"
|
|
|
@ -1,266 +0,0 @@
|
||||||
# vim:set ts=2 sw=2 et:
|
|
||||||
# $Id$
|
|
||||||
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
||||||
# Maintainer: BlackIkeEagle < ike DOT devolder AT gmail DOT com >
|
|
||||||
# Contributor: graysky <graysky AT archlinux DOT us>
|
|
||||||
# Contributor: DonVla <donvla@users.sourceforge.net>
|
|
||||||
# Contributor: Ulf Winkelvos <ulf [at] winkelvos [dot] de>
|
|
||||||
# Contributor: Ralf Barth <archlinux dot org at haggy dot org>
|
|
||||||
# Contributor: B & monty - Thanks for your hints :)
|
|
||||||
# Contributor: marzoul
|
|
||||||
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
||||||
# Contributor: Brad Fanella <bradfanella@archlinux.us>
|
|
||||||
# Contributor: [vEX] <niechift.dot.vex.at.gmail.dot.com>
|
|
||||||
# Contributor: Zeqadious <zeqadious.at.gmail.dot.com>
|
|
||||||
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
|
|
||||||
# Contributor: Maxime Gauduin <alucryd@gmail.com>
|
|
||||||
# Contributor: Jan Holthuis <holthuis dot jan at googlemail dot com>
|
|
||||||
#
|
|
||||||
# Original credits go to Edgar Hucek <gimli at dark-green dot com>
|
|
||||||
# for his xbmc-vdpau-vdr PKGBUILD at https://archvdr.svn.sourceforge.net/svnroot/archvdr/trunk/archvdr/xbmc-vdpau-vdr/PKGBUILD
|
|
||||||
|
|
||||||
buildarch=8
|
|
||||||
pkgbase=kodi-c2
|
|
||||||
pkgname=('kodi-c2' 'kodi-c2-eventclients' 'kodi-c2-tools-texturepacker' 'kodi-c2-dev')
|
|
||||||
_commit=7e7160eacdcb0c5b70e91dd4265d20358ba33c26
|
|
||||||
_codename=Krypton
|
|
||||||
pkgver=17.6
|
|
||||||
pkgrel=8
|
|
||||||
arch=('aarch64')
|
|
||||||
url="http://kodi.tv"
|
|
||||||
license=('GPL2')
|
|
||||||
makedepends=(
|
|
||||||
'afpfs-ng' 'bluez-libs' 'boost' 'cmake' 'curl' 'doxygen' 'glew'
|
|
||||||
'gperf' 'hicolor-icon-theme' 'jasper' 'java-runtime' 'libaacs' 'libass'
|
|
||||||
'libbluray' 'libcdio' 'libcec' 'libgl' 'libmariadbclient' 'libmicrohttpd'
|
|
||||||
'libmodplug' 'libmpeg2' 'libnfs' 'libplist' 'libpulse' 'libssh' 'libva'
|
|
||||||
'libvdpau' 'libxrandr' 'libxslt' 'lzo' 'nasm' 'nss-mdns' 'python2-pillow'
|
|
||||||
'python2-pybluez' 'python2-simplejson' 'rtmpdump'
|
|
||||||
'shairplay' 'smbclient' 'swig' 'taglib' 'tinyxml' 'unzip' 'upower' 'yajl' 'zip'
|
|
||||||
'mesa'
|
|
||||||
'odroid-c2-libgl-fb' 'odroid-c2-libgl-headers' 'aml-libs-c2'
|
|
||||||
)
|
|
||||||
_libdvdcss_commit="2f12236bc1c92f73c21e973363f79eb300de603f"
|
|
||||||
_libdvdnav_commit="981488f7f27554b103cca10c1fbeba027396c94a"
|
|
||||||
_libdvdread_commit="17d99db97e7b8f23077b342369d3c22a6250affd"
|
|
||||||
_ffmpeg_version="3.1.11-$_codename-17.5"
|
|
||||||
_crossguid_version="8f399e8bd4"
|
|
||||||
source=(
|
|
||||||
"$pkgbase-$pkgver-$_codename.tar.gz::https://github.com/Owersun/xbmc/archive/${_commit}.tar.gz"
|
|
||||||
"$pkgbase-libdvdcss-$_libdvdcss_commit.tar.gz::https://github.com/xbmc/libdvdcss/archive/$_libdvdcss_commit.tar.gz"
|
|
||||||
"$pkgbase-libdvdnav-$_libdvdnav_commit.tar.gz::https://github.com/xbmc/libdvdnav/archive/$_libdvdnav_commit.tar.gz"
|
|
||||||
"$pkgbase-libdvdread-$_libdvdread_commit.tar.gz::https://github.com/xbmc/libdvdread/archive/$_libdvdread_commit.tar.gz"
|
|
||||||
"$pkgbase-ffmpeg-$_ffmpeg_version.tar.gz::https://github.com/xbmc/FFmpeg/archive/$_ffmpeg_version.tar.gz"
|
|
||||||
"http://mirrors.kodi.tv/build-deps/sources/crossguid-$_crossguid_version.tar.gz"
|
|
||||||
'fix-python-lib-path.patch'
|
|
||||||
'kodi_permissions.conf'
|
|
||||||
'kodi.service'
|
|
||||||
'polkit.rules'
|
|
||||||
'99-odroid.rules'
|
|
||||||
'sysusers.conf'
|
|
||||||
'tmpfiles.conf'
|
|
||||||
)
|
|
||||||
sha256sums=('aafe2852620a6bc62c929bf1bdb24760e7e9573787ca4dd37aceed2d1dbb32dd'
|
|
||||||
'b6eb2d929ff56cb051152c32010afc5e7cf5fe8c5ae32dca412a2b46b6b57e34'
|
|
||||||
'312b3d15bc448d24e92f4b2e7248409525eccc4e75776026d805478e51c5ef3d'
|
|
||||||
'e7179b2054163652596a56301c9f025515cb08c6d6310b42b897c3ad11c0199b'
|
|
||||||
'7df8bce40765b39de5766ca9d08b5b9ac1f498c65c805c989461b907cee6b7c0'
|
|
||||||
'3d77d09a5df0de510aeeb940df4cb534787ddff3bb1828779753f5dfa1229d10'
|
|
||||||
'1c07c9fdd8e2958262cf917e4266c4933fcd06529c111e3cb0cbaaa05c934033'
|
|
||||||
'8c606f29aa9ec90f4c93e1751cfd4000872937e604e6ad7538b96ba29612d2f6'
|
|
||||||
'255261cb781a4d75fa00f217d59cdca0789d96c9ba13c584232862b522a66f21'
|
|
||||||
'c68ed2bd377f80b606b8815d78239b9132b479eafc1d19797cee5824debe1800'
|
|
||||||
'5ddf80329c9f5d054525b45f788b3405d199bfc6cf5b08c543ad29766ec27f6e'
|
|
||||||
'f521b98232e5035b7cada46cf03975b8d753e93d0802bf22913fceed769f9d96'
|
|
||||||
'9c5e79ed8719cd032a3b17dac585aeff28a198e37af1da9af68ef1b86bab4d18')
|
|
||||||
noextract=(
|
|
||||||
 "$pkgbase-libdvdcss-$_libdvdcss_commit.tar.gz"
|
|
||||||
 "$pkgbase-libdvdnav-$_libdvdnav_commit.tar.gz"
|
|
||||||
 "$pkgbase-libdvdread-$_libdvdread_commit.tar.gz"
|
|
||||||
"$pkgbase-ffmpeg-$_ffmpeg_version.tar.gz"
|
|
||||||
"crossguid-$_crossguid_version.tar.gz"
|
|
||||||
)
|
|
||||||
prepare() {
|
|
||||||
[[ -d kodi-build ]] && rm -rf kodi-build
|
|
||||||
mkdir kodi-build
|
|
||||||
|
|
||||||
cd "xbmc-$_commit"
|
|
||||||
patch -p1 -i "$srcdir/fix-python-lib-path.patch"
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
|
||||||
cd kodi-build
|
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
|
||||||
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
|
||||||
-DENABLE_EVENTCLIENTS=ON \
|
|
||||||
-DLIRC_DEVICE=/run/lirc/lircd \
|
|
||||||
-DENABLE_AML=ON \
|
|
||||||
-DENABLE_OPENGL=OFF \
|
|
||||||
-DENABLE_OPENGLES=ON \
|
|
||||||
-DENABLE_PULSEAUDIO=OFF \
|
|
||||||
-DENABLE_VAAPI=OFF \
|
|
||||||
-DENABLE_VDPAU=OFF \
|
|
||||||
-DENABLE_X11=OFF \
|
|
||||||
-Dlibdvdcss_URL="$srcdir/$pkgbase-libdvdcss-$_libdvdcss_commit.tar.gz" \
|
|
||||||
 -Dlibdvdnav_URL="$srcdir/$pkgbase-libdvdnav-$_libdvdnav_commit.tar.gz" \
|
|
||||||
 -Dlibdvdread_URL="$srcdir/$pkgbase-libdvdread-$_libdvdread_commit.tar.gz" \
|
|
||||||
 -DFFMPEG_URL="$srcdir/$pkgbase-ffmpeg-$_ffmpeg_version.tar.gz" \
|
|
||||||
-DCROSSGUID_URL="$srcdir/crossguid-$_crossguid_version.tar.gz" \
|
|
||||||
-DENABLE_INTERNAL_CROSSGUID=ON \
|
|
||||||
 ../"xbmc-$_commit"/project/cmake
|
|
||||||
make
|
|
||||||
make preinstall
|
|
||||||
}
|
|
||||||
|
|
||||||
# kodi
|
|
||||||
# components: kodi, kodi-bin
|
|
||||||
|
|
||||||
package_kodi-c2() {
|
|
||||||
pkgdesc="A software media player and entertainment hub for digital media (ODROID-C2)"
|
|
||||||
depends=(
|
|
||||||
'python2-pillow' 'python2-simplejson' 'xorg-xdpyinfo' 'bluez-libs'
|
|
||||||
'fribidi' 'freetype2' 'glew' 'hicolor-icon-theme' 'libcdio' 'libjpeg-turbo'
|
|
||||||
'libmariadbclient' 'libmicrohttpd' 'libpulse' 'libssh' 'libva' 'libvdpau'
|
|
||||||
'libxrandr' 'libxslt' 'lzo' 'smbclient' 'taglib' 'tinyxml' 'yajl' 'mesa'
|
|
||||||
'desktop-file-utils'
|
|
||||||
'odroid-c2-libgl-fb' 'aml-libs-c2'
|
|
||||||
)
|
|
||||||
optdepends=(
|
|
||||||
'afpfs-ng: Apple shares support'
|
|
||||||
'bluez: Blutooth support'
|
|
||||||
'python2-pybluez: Bluetooth support'
|
|
||||||
'libnfs: NFS shares support'
|
|
||||||
'libplist: AirPlay support'
|
|
||||||
'libcec: Pulse-Eight USB-CEC adapter support'
|
|
||||||
'lirc: Remote controller support'
|
|
||||||
'lsb-release: log distro information in crashlog'
|
|
||||||
'pulseaudio: PulseAudio support'
|
|
||||||
'shairplay: AirPlay support'
|
|
||||||
'unrar: Archives support'
|
|
||||||
'unzip: Archives support'
|
|
||||||
'upower: Display battery level'
|
|
||||||
)
|
|
||||||
install='kodi.install'
|
|
||||||
provides=('kodi' 'xbmc')
|
|
||||||
conflicts=('kodi' 'xbmc')
|
|
||||||
replaces=('xbmc')
|
|
||||||
|
|
||||||
_components=(
|
|
||||||
'kodi'
|
|
||||||
'kodi-bin'
|
|
||||||
)
|
|
||||||
|
|
||||||
cd kodi-build
|
|
||||||
# install eventclients
|
|
||||||
for _cmp in ${_components[@]}; do
|
|
||||||
DESTDIR="$pkgdir" /usr/bin/cmake \
|
|
||||||
-DCMAKE_INSTALL_COMPONENT="$_cmp" \
|
|
||||||
-P cmake_install.cmake
|
|
||||||
done
|
|
||||||
|
|
||||||
# Licenses
|
|
||||||
install -dm755 "$pkgdir/usr/share/licenses/$pkgname"
|
|
||||||
for licensef in LICENSE.GPL copying.txt; do
|
|
||||||
mv "$pkgdir/usr/share/doc/kodi/$licensef" \
|
|
||||||
"$pkgdir/usr/share/licenses/$pkgname"
|
|
||||||
done
|
|
||||||
|
|
||||||
# python2 is being used
|
|
||||||
cd "$pkgdir"
|
|
||||||
grep -lR '#!.*python' * | while read file; do sed -s 's/\(#!.*python\)/\12/g' -i "$file"; done
|
|
||||||
|
|
||||||
install -Dm0644 $srcdir/kodi_permissions.conf $pkgdir/etc/tmpfiles.d/kodi_permissions.conf
|
|
||||||
install -Dm0644 $srcdir/kodi.service $pkgdir/usr/lib/systemd/system/kodi.service
|
|
||||||
install -Dm0644 $srcdir/polkit.rules $pkgdir/etc/polkit-1/rules.d/10-kodi.rules
|
|
||||||
|
|
||||||
# fix permissions necessary for accelerated video playback
|
|
||||||
install -Dm0644 $srcdir/99-odroid.rules $pkgdir/etc/udev/rules.d/99-odroid.rules
|
|
||||||
|
|
||||||
# systemd manages kodi user
|
|
||||||
install -Dm644 "$srcdir"/sysusers.conf "$pkgdir/usr/lib/sysusers.d/kodi.conf"
|
|
||||||
install -Dm644 "$srcdir"/tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/kodi.conf"
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
# kodi-eventclients
|
|
||||||
# components: kodi-eventclients-common kodi-eventclients-ps3 kodi-eventclients-wiiremote kodi-eventclients-xbmc-send
|
|
||||||
|
|
||||||
package_kodi-c2-eventclients() {
|
|
||||||
pkgdesc="Kodi Event Clients (ODROID-C2)"
|
|
||||||
provides=('kodi-eventclients')
|
|
||||||
conflicts=('kodi-eventclients')
|
|
||||||
|
|
||||||
_components=(
|
|
||||||
'kodi-eventclients-common'
|
|
||||||
'kodi-eventclients-ps3'
|
|
||||||
'kodi-eventclients-xbmc-send'
|
|
||||||
)
|
|
||||||
|
|
||||||
cd kodi-build
|
|
||||||
# install eventclients
|
|
||||||
for _cmp in ${_components[@]}; do
|
|
||||||
DESTDIR="$pkgdir" /usr/bin/cmake \
|
|
||||||
-DCMAKE_INSTALL_COMPONENT="$_cmp" \
|
|
||||||
-P cmake_install.cmake
|
|
||||||
done
|
|
||||||
|
|
||||||
# python2 is being used
|
|
||||||
cd "$pkgdir"
|
|
||||||
grep -lR '#!.*python' * | while read file; do sed -s 's/\(#!.*python\)/\12/g' -i "$file"; done
|
|
||||||
}
|
|
||||||
|
|
||||||
# kodi-tools-texturepacker
|
|
||||||
# components: kodi-tools-texturepacker
|
|
||||||
|
|
||||||
package_kodi-c2-tools-texturepacker() {
|
|
||||||
pkgdesc="Kodi Texturepacker tool (ODROID-C2)"
|
|
||||||
depends=('libpng' 'giflib' 'libjpeg-turbo' 'lzo')
|
|
||||||
provides=('kodi-tools-texturepacker')
|
|
||||||
conflicts=('kodi-tools-texturepacker')
|
|
||||||
|
|
||||||
_components=(
|
|
||||||
'kodi-tools-texturepacker'
|
|
||||||
)
|
|
||||||
|
|
||||||
cd kodi-build
|
|
||||||
# install eventclients
|
|
||||||
for _cmp in ${_components[@]}; do
|
|
||||||
DESTDIR="$pkgdir" /usr/bin/cmake \
|
|
||||||
-DCMAKE_INSTALL_COMPONENT="$_cmp" \
|
|
||||||
-P cmake_install.cmake
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
# kodi-dev
|
|
||||||
# components: kodi-addon-dev kodi-audio-dev kodi-eventclients-dev kodi-game-dev kodi-inputstream-dev kodi-peripheral-dev kodi-pvr-dev kodi-screensaver-dev kodi-visualization-dev
|
|
||||||
|
|
||||||
package_kodi-c2-dev() {
|
|
||||||
pkgdesc="Kodi dev files (ODROID-C2)"
|
|
||||||
depends=('kodi')
|
|
||||||
provides=('kodi-dev')
|
|
||||||
conflicts=('kodi-dev')
|
|
||||||
|
|
||||||
_components=(
|
|
||||||
'kodi-addon-dev'
|
|
||||||
'kodi-audio-dev'
|
|
||||||
'kodi-eventclients-dev'
|
|
||||||
'kodi-game-dev'
|
|
||||||
'kodi-inputstream-dev'
|
|
||||||
'kodi-peripheral-dev'
|
|
||||||
'kodi-pvr-dev'
|
|
||||||
'kodi-screensaver-dev'
|
|
||||||
'kodi-visualization-dev'
|
|
||||||
)
|
|
||||||
|
|
||||||
cd kodi-build
|
|
||||||
# install eventclients
|
|
||||||
for _cmp in ${_components[@]}; do
|
|
||||||
DESTDIR="$pkgdir" /usr/bin/cmake \
|
|
||||||
-DCMAKE_INSTALL_COMPONENT="$_cmp" \
|
|
||||||
-P cmake_install.cmake
|
|
||||||
done
|
|
||||||
|
|
||||||
# python2 is being used
|
|
||||||
cd "$pkgdir"
|
|
||||||
grep -lR '#!.*python' * | while read file; do sed -s 's/\(#!.*python\)/\12/g' -i "$file"; done
|
|
||||||
}
|
|
|
@ -1,29 +0,0 @@
|
||||||
--- a/project/cmake/scripts/linux/Install.cmake 2017-03-20 17:17:49.000000000 +0100
|
|
||||||
+++ b/project/cmake/scripts/linux/Install.cmake 2017-05-20 15:42:09.608550173 +0200
|
|
||||||
@@ -199,7 +199,7 @@
|
|
||||||
install(PROGRAMS ${CORE_SOURCE_DIR}/tools/EventClients/lib/python/bt/__init__.py
|
|
||||||
${CORE_SOURCE_DIR}/tools/EventClients/lib/python/bt/bt.py
|
|
||||||
${CORE_SOURCE_DIR}/tools/EventClients/lib/python/bt/hid.py
|
|
||||||
- DESTINATION lib/python2.7/dist-packages/${APP_NAME_LC}/bt
|
|
||||||
+ DESTINATION lib/python2.7/site-packages/${APP_NAME_LC}/bt
|
|
||||||
COMPONENT kodi-eventclients-common)
|
|
||||||
|
|
||||||
# Install kodi-eventclients-common PS3 python files
|
|
||||||
@@ -208,7 +208,7 @@
|
|
||||||
${CORE_SOURCE_DIR}/tools/EventClients/lib/python/ps3/sixaxis.py
|
|
||||||
${CORE_SOURCE_DIR}/tools/EventClients/lib/python/ps3/sixpair.py
|
|
||||||
${CORE_SOURCE_DIR}/tools/EventClients/lib/python/ps3/sixwatch.py
|
|
||||||
- DESTINATION lib/python2.7/dist-packages/${APP_NAME_LC}/ps3
|
|
||||||
+ DESTINATION lib/python2.7/site-packages/${APP_NAME_LC}/ps3
|
|
||||||
COMPONENT kodi-eventclients-common)
|
|
||||||
|
|
||||||
# Install kodi-eventclients-common python files
|
|
||||||
@@ -218,7 +218,7 @@
|
|
||||||
"${CORE_SOURCE_DIR}/tools/EventClients/Clients/PS3 BD Remote/ps3_remote.py"
|
|
||||||
${CORE_SOURCE_DIR}/tools/EventClients/lib/python/xbmcclient.py
|
|
||||||
${CORE_SOURCE_DIR}/tools/EventClients/lib/python/zeroconf.py
|
|
||||||
- DESTINATION lib/python2.7/dist-packages/${APP_NAME_LC}
|
|
||||||
+ DESTINATION lib/python2.7/site-packages/${APP_NAME_LC}
|
|
||||||
COMPONENT kodi-eventclients-common)
|
|
||||||
|
|
||||||
# Install kodi-eventclients-common icons
|
|
|
@ -1,3 +0,0 @@
|
||||||
post_remove() {
|
|
||||||
echo "==> Optionally remove /var/lib/kodi/"
|
|
||||||
}
|
|
|
@ -1,18 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description = Kodi for C2
|
|
||||||
After = remote-fs.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
User = kodi
|
|
||||||
Group = kodi
|
|
||||||
Type = simple
|
|
||||||
PermissionsStartOnly = true
|
|
||||||
ExecStartPre = /bin/sh -c "dmesg -D"
|
|
||||||
ExecStartPre = /bin/sh -c "echo 0 > /sys/class/graphics/fbcon/cursor_blink"
|
|
||||||
ExecStart = /usr/bin/kodi
|
|
||||||
ExecStopPost = /bin/sh -c "echo 1 > /sys/class/graphics/fbcon/cursor_blink"
|
|
||||||
ExecStopPost = /bin/sh -c "dmesg -E"
|
|
||||||
Restart = on-failure
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy = multi-user.target
|
|
|
@ -1,32 +0,0 @@
|
||||||
m /sys/class/graphics/fb0/mode 0666 kodi kodi - -
|
|
||||||
m /sys/class/graphics/fb0/blank 0666 kodi kodi - -
|
|
||||||
m /sys/class/graphics/fb0/free_scale 0666 kodi kodi - -
|
|
||||||
m /sys/class/graphics/fb0/free_scale_axis 0666 kodi kodi - -
|
|
||||||
m /sys/class/graphics/fb0/request2XScale 0666 kodi kodi - -
|
|
||||||
m /sys/class/graphics/fb0/scale_width 0666 kodi kodi - -
|
|
||||||
m /sys/class/graphics/fb0/scale_height 0666 kodi kodi - -
|
|
||||||
m /sys/class/graphics/fb1/blank 0666 kodi kodi - -
|
|
||||||
m /sys/class/graphics/fb1/scale_width 0666 kodi kodi - -
|
|
||||||
m /sys/class/graphics/fb1/scale_height 0666 kodi kodi - -
|
|
||||||
m /sys/class/graphics/fb1/free_scale 0666 kodi kodi - -
|
|
||||||
m /sys/class/graphics/fb1/scale 0666 kodi kodi - -
|
|
||||||
m /sys/class/graphics/fb1/scale_axis 0666 kodi kodi - -
|
|
||||||
m /sys/class/display/mode 0666 kodi kodi - -
|
|
||||||
m /sys/class/display/axis 0666 kodi kodi - -
|
|
||||||
m /sys/class/amhdmitx/amhdmitx0/disp_mode 0666 kodi kodi - -
|
|
||||||
m /sys/class/tsync/pts_pcrscr 0666 kodi kodi - -
|
|
||||||
m /sys/class/tsync/enable 0666 kodi kodi - -
|
|
||||||
m /sys/class/video/axis 0666 kodi kodi - -
|
|
||||||
m /sys/class/video/zoom 0666 kodi kodi - -
|
|
||||||
m /sys/class/video/contrast 0666 kodi kodi - -
|
|
||||||
m /sys/class/video/brightness 0666 kodi kodi - -
|
|
||||||
m /sys/class/video/saturation 0666 kodi kodi - -
|
|
||||||
m /sys/class/video/blackout_policy 0666 kodi kodi - -
|
|
||||||
m /sys/class/video/screen_mode 0666 kodi kodi - -
|
|
||||||
m /sys/class/video/disable_video 0666 kodi kodi - -
|
|
||||||
m /sys/class/audiodsp/digital_raw 0666 kodi kodi - -
|
|
||||||
m /sys/class/ppmgr/ppmgr_3d_mode 0666 kodi kodi - -
|
|
||||||
m /sys/class/ppmgr/ppscaler 0666 kodi kodi - -
|
|
||||||
m /sys/class/ppmgr/ppscaler_rect 0666 kodi kodi - -
|
|
||||||
m /sys/class/ppmgr/disp 0666 kodi kodi - -
|
|
||||||
m /sys/modules/di/parameters/bypass_all 0666 kodi kodi - -
|
|
|
@ -1,15 +0,0 @@
|
||||||
polkit.addRule(function(action, subject) {
|
|
||||||
if (subject.user == "kodi") {
|
|
||||||
polkit.log("action=" + action);
|
|
||||||
polkit.log("subject=" + subject);
|
|
||||||
if (action.id.indexOf("org.freedesktop.login1.") == 0) {
|
|
||||||
return polkit.Result.YES;
|
|
||||||
}
|
|
||||||
if (action.id.indexOf("org.freedesktop.udisks.") == 0) {
|
|
||||||
return polkit.Result.YES;
|
|
||||||
}
|
|
||||||
if (action.id.indexOf("org.freedesktop.upower.") == 0) {
|
|
||||||
return polkit.Result.YES;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
|
@ -1,16 +0,0 @@
|
||||||
# override these settings by copying this to /etc/sysusers.d/ and modifying it therein
|
|
||||||
|
|
||||||
#Type Name ID GECOS Home directory Shell
|
|
||||||
g kodi - -
|
|
||||||
u kodi - "Kodi User" /var/lib/kodi
|
|
||||||
|
|
||||||
# supplemental groups
|
|
||||||
m kodi audio
|
|
||||||
m kodi disk
|
|
||||||
m kodi input
|
|
||||||
m kodi network
|
|
||||||
m kodi optical
|
|
||||||
m kodi power
|
|
||||||
m kodi storage
|
|
||||||
m kodi tty
|
|
||||||
m kodi video
|
|
|
@ -1,3 +0,0 @@
|
||||||
#Type Path Mode User Group Age Argument
|
|
||||||
d /var/lib/kodi 0750 kodi kodi - -
|
|
||||||
Z /var/lib/kodi - kodi kodi - -
|
|
Loading…
Reference in a new issue