Projects
home:manfred-h
kodi_hama_mce
kodi_hama_mce.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kodi_hama_mce.spec of Package kodi_hama_mce
# # spec file for package kodi_hama_mce # # Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: kodi_hama_mce Version: 1.0+gitf1577584 Release: 0 Summary: Kodi event client for Hama MCE Remote Control License: GPL2 URL: https://github.com/xhaggi/kodi-eventclient-hama-mce Source0: kodi_hama_mce.tar.bz2 Source1: kodi_hama_mce.service BuildRequires: gcc-c++ BuildRequires: pkgconfig BuildRequires: pkgconfig(libusb-1.0) Requires: kodi %description The Kodi event client for Hama MCE Remote Control resolves the following issues: * Keyrepeat and mouse works now as expected. * The remote registers 2 input devices, some keys register as mouse buttons, other as keyboard keys. This makes mapping in keymap.xml difficult. The attached event driver sends key and action events which are easy to map. * Right mouse button and info key have the same keycode, but it is possible to distinguish them by counting the different number of key-up events. The attached code does this, so that we can use one key as "info" and the other as "right mouse button" (or "contextmenu"). %prep %setup -q -n kodi-eventclient-hama-mce %build %make_build %install mkdir -p %{buildroot}/usr/bin install -m 755 kodi_hama_mce %{buildroot}/usr/bin/ mkdir -p %{buildroot}/usr/lib/systemd/system install -m 644 %{SOURCE1} %{buildroot}/usr/lib/systemd/system mkdir -p %{buildroot}/usr/share/kodi/system/keymaps install -m 644 remote.xml %{buildroot}/usr/share/kodi/system/keymaps/remote.Hama.MCE.xml %post %postun %files %license COPYING %doc README.md /usr/bin/kodi_hama_mce /usr/lib/systemd/system/kodi_hama_mce.service %dir /usr/share/kodi %dir /usr/share/kodi/system %dir /usr/share/kodi/system/keymaps /usr/share/kodi/system/keymaps/remote.Hama.MCE.xml %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.