Merge pull request #4825 from nxhack/node-hid_fix_depends
[feed/packages.git] / utils / domoticz / Makefile
index a7871d180d0356d80daa8bff35c860defd150f2f..d8dee81390ead2b9b0eb650d643873312d10fa9f 100644 (file)
@@ -11,7 +11,7 @@ PKG_NAME:=domoticz
 PKG_VERSION_MAJOR:=3
 PKG_VERSION_PATCH:=8153
 PKG_VERSION:=$(PKG_VERSION_MAJOR).$(PKG_VERSION_PATCH)
-PKG_RELEASE:=1
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://github.com/domoticz/domoticz/archive/$(PKG_VERSION)/$(PKG_SOURCE)
@@ -62,6 +62,8 @@ CMAKE_OPTIONS += \
        -DUSE_STATIC_OPENZWAVE=no \
        -DUSE_PYTHON=no
 
+TARGET_CXXFLAGS+=-DWITH_GPIO
+
 define Build/Prepare
        $(call Build/Prepare/Default)
        # Fix APPVERSION to suppress update popup
@@ -70,9 +72,10 @@ define Build/Prepare
        # Remove unwanted scripts
        cd $(PKG_BUILD_DIR)/scripts && rm -rf \
                buienradar_rain_example.pl \
-               _domoticz_main.bat \
+               _domoticz_main* \
                download_update.sh \
-               dzVents/{documentation,examples,runtime/{integration-tests,tests}} \
+               dzVents/{.gitignore,documentation,examples,generated_scripts} \
+               dzVents/runtime/{integration-tests,misc/smoothing.xlsx,tests} \
                logrotate/ \
                lua_parsers/example* \
                lua/*demo.lua \