Merge pull request #3534 from MilhouseVH/le10_drop_amremote_atvclient

amremote/atvclient: cleanup
This commit is contained in:
Christian Hewitt 2019-06-13 16:45:50 +04:00 committed by GitHub
commit 4ff3ef1dcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 1 additions and 60 deletions

View File

@ -52,7 +52,6 @@ show_config() {
config_message="$config_message\n $dashes$dashes"
config_message="$config_message\n - Remote support:\t\t\t $REMOTE_SUPPORT"
config_message="$config_message\n - ATV Remote support:\t\t\t $ATVCLIENT_SUPPORT"
config_message="$config_message\n - CEC Adapter support:\t\t\t $CEC_SUPPORT"
config_message="$config_message\n - CEC Framework support:\t\t $CEC_FRAMEWORK_SUPPORT"
config_message="$config_message\n - Kodi Joystick support:\t\t $JOYSTICK_SUPPORT"

View File

@ -140,9 +140,6 @@
# build and install remote support (yes / no)
REMOTE_SUPPORT="yes"
# build and install ATV IR remote support (yes / no)
ATVCLIENT_SUPPORT="yes"
# build and install Joystick support (yes / no)
JOYSTICK_SUPPORT="yes"

View File

@ -1,11 +0,0 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
PKG_NAME="atvclient"
PKG_VERSION="0263b0a"
PKG_SHA256="9f741cf36655736ef578eaaca615fd9ce10e290f956cebcff3316d77152f0761"
PKG_LICENSE="GPL"
PKG_SITE="http://github.com/Evinyatar/atvclient/wiki"
PKG_URL="https://github.com/Evinyatar/atvclient/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain libusb-compat"
PKG_LONGDESC="A background application for Linux that reads input from the AppleTVs internal infra-red receiver."

View File

@ -1,12 +0,0 @@
diff -Naur atvclient-0.1/src/atvclient.cpp atvclient-0.1.patch/src/atvclient.cpp
--- atvclient-0.1/src/atvclient.cpp 2010-10-09 15:44:27.000000000 +0200
+++ atvclient-0.1.patch/src/atvclient.cpp 2010-10-09 16:01:29.774444638 +0200
@@ -161,7 +161,7 @@
static CPacketNOTIFICATION remote_unpaired("Remote unpaired", "You can now control XBMC with any Apple remote.", NULL, NULL);
static CPacketNOTIFICATION remote_pair_failed("Remote already paired", "This AppleTV was paired to another remote. To unpair, hold down menu and rewind for 6 seconds.", NULL, NULL);
-const char* remoteIdFile = "/etc/atvremoteid";
+const char* remoteIdFile = "/storage/.cache/atvremoteid";
static int pairedRemoteId = 0;
/* figure out kernel name corresponding to usb device */

View File

@ -1,8 +0,0 @@
[Unit]
Description=ATV client remote support
After=syslog.target
[Service]
ExecStart=/usr/sbin/atvclient -m
KillMode=process

View File

@ -1,4 +0,0 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
d /storage/.cache 0755 root root - -

View File

@ -1,4 +0,0 @@
ACTION=="add", SUBSYSTEM=="usb", \
ATTR{idVendor}=="05ac", ATTR{idProduct}=="824[012]", \
RUN+="wakeup_enable", \
TAG+="systemd", ENV{SYSTEMD_WANTS}+="atvclient.service"

View File

@ -1,5 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="remote"
PKG_VERSION="1"
@ -9,11 +10,3 @@ PKG_URL=""
PKG_DEPENDS_TARGET="toolchain eventlircd libirman v4l-utils"
PKG_SECTION="virtual"
PKG_LONGDESC="Meta package for installing various tools needed for remote support"
if [ "$ATVCLIENT_SUPPORT" = "yes" ]; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET atvclient"
fi
if [ "$AMREMOTE_SUPPORT" = "yes" ]; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET amremote"
fi

View File

@ -62,9 +62,6 @@
# e.g. FIRMWARE="dvb-firmware misc-firmware wlan-firmware"
FIRMWARE="misc-firmware wlan-firmware dvb-firmware brcmfmac_sdio-firmware"
# build and install ATV IR remote support (yes / no)
ATVCLIENT_SUPPORT="no"
# build and install CEC framework support (yes / no)
CEC_FRAMEWORK_SUPPORT="yes"

View File

@ -96,9 +96,6 @@
# e.g. FIRMWARE="dvb-firmware misc-firmware wlan-firmware"
FIRMWARE="misc-firmware wlan-firmware dvb-firmware brcmfmac_sdio-firmware-rpi"
# build and install ATV IR remote support (yes / no)
ATVCLIENT_SUPPORT="no"
# build with installer (yes / no)
INSTALLER_SUPPORT="no"

View File

@ -57,9 +57,6 @@
# additional packages to install
ADDITIONAL_PACKAGES="dtc"
# build and install ATV IR remote support (yes / no)
ATVCLIENT_SUPPORT="no"
# build and install CEC framework support (yes / no)
CEC_FRAMEWORK_SUPPORT="yes"