1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-24 09:06:18 +00:00
Lakka-LibreELEC/projects/L4T/packages/eventlircd/package.mk
GavinDarkglider c16def7032
Lakka-v5.x Switch Support Fixes (#1753)
* Switch: it builds

* Switch: Use udev to finalize usb gadget to save from systemd looping service restart until cable connected.

* Switch: Update kernel stuff again

* Switch: Downgrade Alsa packages to version in 4.x tree

* Joycond: Update Switch version

* Switch: Minor fixes

* LibreELEC: Fix a few broken files from upstream pull

* Switch: Fix LibreELEC build.

* Switch: Update bootloader stuff

* L4T: FFMPEG: Add support for nvv4l2 decoder/encoder

* FFMPEG: Add back encoder support for game recording in retroarch

* FFMPEG: revert a few changes, and add support for vulkan.
2023-01-21 18:40:08 +01:00

30 lines
1.0 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
PKG_NAME="eventlircd"
PKG_VERSION="3b753e91ae8c28dc34dd017a354d72b3c0715309"
PKG_SHA256="4eca52d0570fa568b3296a2c9bc2af252423e25c1a67654bd79680fc5a93092a"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/LibreELEC/eventlircd"
PKG_URL="https://github.com/LibreELEC/eventlircd/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain systemd lirc"
PKG_LONGDESC="The eventlircd daemon provides four functions for LIRC devices"
PKG_TOOLCHAIN="autotools"
PKG_CONFIGURE_OPTS_TARGET="--with-udev-dir=/usr/lib/udev \
--with-lircd-socket=/run/lirc/lircd"
post_makeinstall_target() {
# install our own evmap files and udev rules
rm -rf ${INSTALL}/etc/eventlircd.d
rm -rf ${INSTALL}/usr/lib/udev/rules.d
rm -rf ${INSTALL}/usr/lib/udev/lircd_helper
mkdir -p ${INSTALL}/etc/eventlircd.d
cp ${PKG_DIR}/evmap/*.evmap ${INSTALL}/etc/eventlircd.d
}
post_install() {
enable_service eventlircd.service
}