You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
829 B

uledd: bump to latest version 1.0.1 018f57e713fa cmake: bump version to 1.0.1 b90c65be87c5 ubus: add state method 034e3a77680d scene: add dumping of state to blobmsg d21b0946e6f6 scene: add all LEDs during scene creation f31a6f2b8c3b led: add dumping of state to blobmsg cead0f7f54f6 add support for scenes with priorities 8637a86307d7 led: remove string format from led_state_str 0eaa67a5a687 led: add led_from_path 8243708905aa tests: add basic blob-led unit test 99bcdaa306f7 refactor blob LED parsing into separate unit 210c5e3c5128 led: change sysfs LED path for unit tests 310a676e50d7 add cram based unit tests eb7acbb08e36 led: led_add: add debug output ca9c762fb29a led: make timer tick interval variable 44d072039680 led: allow running and stopping df0c7772c9c6 timer: add missing includes 2aab48d1143c cmake: add sources into static library 83d4189606ca fix multiple timer drifts by using singular timer for all LEDs 3abe097ebecf log: output function name in debug log messages 5c768b337df8 led: set current brightness only after success cf93720951bc allow overriding of default ubus socket path b642b650a612 led: fix initial LED fading out ba00ca0e886c fix deprecated SPDX license identifier 766448f68e69 convert content of README into Markdown format 079e773e3250 rename README into README.md 76eb126d9eb5 add LICENSE file 7a006926c442 add initial GitLab CI support cc94cd4c59b0 replace stderr based logging with ulog 7aa9c35a9581 add basic application versioning ecd26be4c5dd add basic logging cc42a9c79ad9 factor out ubus stuff into separate unit 13a589678c29 factor out led stuff into separate unit 7763972de980 fix sign issue spotted by compiler aef09580c960 cmake: enable extra compiler warnings 97663b4e1d15 cmake: fix include dirs and libs lookup 875a9e15b10a fixes a small bug that failed to reset the state to LED_SET when reconfiguring a LED Signed-off-by: Petr Štetiar <ynezz@true.cz>
5 years ago
uledd: bump to latest version 1.0.1 018f57e713fa cmake: bump version to 1.0.1 b90c65be87c5 ubus: add state method 034e3a77680d scene: add dumping of state to blobmsg d21b0946e6f6 scene: add all LEDs during scene creation f31a6f2b8c3b led: add dumping of state to blobmsg cead0f7f54f6 add support for scenes with priorities 8637a86307d7 led: remove string format from led_state_str 0eaa67a5a687 led: add led_from_path 8243708905aa tests: add basic blob-led unit test 99bcdaa306f7 refactor blob LED parsing into separate unit 210c5e3c5128 led: change sysfs LED path for unit tests 310a676e50d7 add cram based unit tests eb7acbb08e36 led: led_add: add debug output ca9c762fb29a led: make timer tick interval variable 44d072039680 led: allow running and stopping df0c7772c9c6 timer: add missing includes 2aab48d1143c cmake: add sources into static library 83d4189606ca fix multiple timer drifts by using singular timer for all LEDs 3abe097ebecf log: output function name in debug log messages 5c768b337df8 led: set current brightness only after success cf93720951bc allow overriding of default ubus socket path b642b650a612 led: fix initial LED fading out ba00ca0e886c fix deprecated SPDX license identifier 766448f68e69 convert content of README into Markdown format 079e773e3250 rename README into README.md 76eb126d9eb5 add LICENSE file 7a006926c442 add initial GitLab CI support cc94cd4c59b0 replace stderr based logging with ulog 7aa9c35a9581 add basic application versioning ecd26be4c5dd add basic logging cc42a9c79ad9 factor out ubus stuff into separate unit 13a589678c29 factor out led stuff into separate unit 7763972de980 fix sign issue spotted by compiler aef09580c960 cmake: enable extra compiler warnings 97663b4e1d15 cmake: fix include dirs and libs lookup 875a9e15b10a fixes a small bug that failed to reset the state to LED_SET when reconfiguring a LED Signed-off-by: Petr Štetiar <ynezz@true.cz>
5 years ago
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=uledd
  3. PKG_RELEASE:=1
  4. PKG_SOURCE_URL:=https://github.com/blogic/uledd.git
  5. PKG_SOURCE_PROTO:=git
  6. PKG_SOURCE_VERSION:=b7abc41ac4e04131e5a81f0f1de4e4ffb6ae16eb
  7. PKG_MIRROR_HASH:=751d6336619f282aa571cbd3aa64df9b326da74fc56477a425d49cb2b0a12aea
  8. PKG_MAINTAINER:=John Crispin <john@phrozen.org>
  9. PKG_LICENSE:=LGPL-2.1-only
  10. CMAKE_INSTALL:=1
  11. include $(INCLUDE_DIR)/package.mk
  12. include $(INCLUDE_DIR)/cmake.mk
  13. define Package/uledd
  14. SECTION:=utils
  15. CATEGORY:=Utilities
  16. DEPENDS:=+libubox +libubus +libblobmsg-json +libjson-c
  17. TITLE:=PWM/RGB LED ubus frontend
  18. endef
  19. define Package/uledd/install
  20. $(INSTALL_DIR) $(1)/sbin $(1)/etc/init.d
  21. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/uledd $(1)/sbin/
  22. $(INSTALL_BIN) ./files/uledd.init $(1)/etc/init.d/uledd
  23. endef
  24. $(eval $(call BuildPackage,uledd))