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.

33 lines
889 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
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=uledd
  3. PKG_RELEASE:=$(AUTORELEASE)
  4. PKG_SOURCE_PROTO:=git
  5. PKG_SOURCE_URL:=https://github.com/blogic/uledd.git
  6. PKG_SOURCE_DATE:=2020-09-15
  7. PKG_SOURCE_VERSION:=21d14d950bfe702b8c1f77de20f7529266dbd0f7
  8. PKG_MIRROR_HASH:=9ccb019123d1287b7f8750d1733e6ab47d2abfc3f37ce113a5f682ed51eee309
  9. PKG_MAINTAINER:=John Crispin <john@phrozen.org>
  10. PKG_LICENSE:=LGPL-2.1-only
  11. PKG_LICENSE_FILES:=LICENSE
  12. include $(INCLUDE_DIR)/package.mk
  13. include ../../devel/ninja/ninja-cmake.mk
  14. define Package/uledd
  15. SECTION:=utils
  16. CATEGORY:=Utilities
  17. DEPENDS:=+libubox +libubus +libblobmsg-json +libjson-c
  18. TITLE:=PWM/RGB LED ubus frontend
  19. endef
  20. define Package/uledd/install
  21. $(INSTALL_DIR) $(1)/sbin $(1)/etc/init.d
  22. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/uledd $(1)/sbin/
  23. $(INSTALL_BIN) ./files/uledd.init $(1)/etc/init.d/uledd
  24. endef
  25. $(eval $(call BuildPackage,uledd))