diff options
Diffstat (limited to 'www/domoticz-devel/Makefile')
| -rw-r--r-- | www/domoticz-devel/Makefile | 42 |
1 files changed, 22 insertions, 20 deletions
diff --git a/www/domoticz-devel/Makefile b/www/domoticz-devel/Makefile index 0b8c86c963e6..0ce3ec2e27e7 100644 --- a/www/domoticz-devel/Makefile +++ b/www/domoticz-devel/Makefile @@ -1,6 +1,5 @@ PORTNAME= domoticz -PORTVERSION= 2024.7.${DOMOTICZ_REL} -PORTREVISION= 4 +DISTVERSION= 2025.2.${DOMOTICZ_REL} CATEGORIES= www PKGNAMESUFFIX= -devel @@ -11,8 +10,10 @@ WWW= https://www.domoticz.com LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/License.txt +BUILD_DEPENDS= ${LOCALBASE}/include/jwt-cpp/jwt.h:devel/jwt-cpp + LIB_DEPENDS= libcurl.so:ftp/curl \ - libboost_system.so:devel/boost-libs \ + libboost_thread.so:devel/boost-libs \ libjsoncpp.so:devel/jsoncpp \ libmosquitto.so:net/mosquitto @@ -20,7 +21,19 @@ USES= cmake compiler:c++11-lang cpe lua:53 minizip pkgconfig sqlite \ ssl USE_GITHUB= yes -GH_TAGNAME= a580a6b1f +GH_TAGNAME= 32b88a6aa +USE_RC_SUBR= domoticz + +CMAKE_OFF= GIT_SUBMODULE \ + USE_BUILTIN_JSONCPP \ + USE_BUILTIN_MINIZIP \ + USE_BUILTIN_MQTT \ + USE_LUA_STATIC \ + USE_STATIC_BOOST \ + USE_STATIC_OPENZWAVE \ + USE_BUILTIN_JWTCPP + +CMAKE_INSTALL_PREFIX= ${PREFIX}/domoticz CONFLICTS_INSTALL= domoticz-[234]* @@ -29,23 +42,12 @@ EXTRACT_AFTER_ARGS= --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/hardwa # This hack is to get rid of dependency of git while building # the package. -DOMOTICZ_REL= 16186 -DOMOTICZ_TS= 1724156096 +DOMOTICZ_REL= 16884 +DOMOTICZ_TS= 1762861862 -USE_RC_SUBR= domoticz USERS= domoticz GROUPS= domoticz -CMAKE_INSTALL_PREFIX= ${PREFIX}/domoticz - -CMAKE_OFF= GIT_SUBMODULE \ - USE_BUILTIN_JSONCPP \ - USE_BUILTIN_MINIZIP \ - USE_BUILTIN_MQTT \ - USE_LUA_STATIC \ - USE_STATIC_BOOST \ - USE_STATIC_OPENZWAVE - OPTIONS_DEFINE= PRECOMP PYTHON OPTIONS_DEFAULT= PRECOMP PYTHON OPTIONS_SUB= yes @@ -53,11 +55,11 @@ OPTIONS_SUB= yes PRECOMP_DESC= Enable usage of precompiled header to speed build time PYTHON_DESC= Enable support for Python Plugins -PYTHON_USES= python:3.9+ -PYTHON_CMAKE_BOOL= USE_PYTHON - PRECOMP_CMAKE_BOOL= USE_PRECOMPILED_HEADER +PYTHON_USES= python +PYTHON_CMAKE_BOOL= USE_PYTHON + post-patch: @${REINPLACE_CMD} -e "s,\/opt,${PREFIX},g" ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e "s,XXXPREFIXXXX,${PREFIX}/domoticz,g" ${WRKSRC}/CMakeLists.txt |
