|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=domoticz |
|
|
PKG_NAME:=domoticz |
|
|
PKG_VERSION:=2020.2 |
|
|
PKG_VERSION:=2020.2 |
|
|
PKG_RELEASE:=2 |
|
|
|
|
|
|
|
|
PKG_RELEASE:=3 |
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
PKG_SOURCE_URL:=https://github.com/domoticz/domoticz/archive/$(PKG_VERSION)/$(PKG_SOURCE) |
|
|
PKG_SOURCE_URL:=https://github.com/domoticz/domoticz/archive/$(PKG_VERSION)/$(PKG_SOURCE) |
|
@ -25,7 +25,6 @@ PKG_USE_MIPS16:=0 |
|
|
CMAKE_INSTALL:=1 |
|
|
CMAKE_INSTALL:=1 |
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
include $(INCLUDE_DIR)/nls.mk |
|
|
|
|
|
include $(INCLUDE_DIR)/cmake.mk |
|
|
include $(INCLUDE_DIR)/cmake.mk |
|
|
|
|
|
|
|
|
define Package/domoticz |
|
|
define Package/domoticz |
|
@ -42,6 +41,7 @@ define Package/domoticz |
|
|
+boost-thread \
|
|
|
+boost-thread \
|
|
|
+jsoncpp \
|
|
|
+jsoncpp \
|
|
|
+libcurl \
|
|
|
+libcurl \
|
|
|
|
|
|
+python3 \
|
|
|
+minizip \
|
|
|
+minizip \
|
|
|
+lua5.3 \
|
|
|
+lua5.3 \
|
|
|
+libmosquitto \
|
|
|
+libmosquitto \
|
|
@ -73,8 +73,9 @@ CMAKE_OPTIONS += \ |
|
|
-DUSE_PYTHON=yes \
|
|
|
-DUSE_PYTHON=yes \
|
|
|
-DWITH_LIBUSB=no |
|
|
-DWITH_LIBUSB=no |
|
|
|
|
|
|
|
|
TARGET_CFLAGS += -flto -DBOOST_BIND_GLOBAL_PLACEHOLDERS |
|
|
|
|
|
|
|
|
TARGET_CFLAGS += -flto |
|
|
TARGET_CXXFLAGS += -DWITH_GPIO -flto |
|
|
TARGET_CXXFLAGS += -DWITH_GPIO -flto |
|
|
|
|
|
TARGET_LDFLAGS += -lpython3.9 |
|
|
|
|
|
|
|
|
define Build/Prepare |
|
|
define Build/Prepare |
|
|
$(call Build/Prepare/Default) |
|
|
$(call Build/Prepare/Default) |
|
|