aboutsummaryrefslogtreecommitdiffstats
path: root/community/domoticz/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/domoticz/APKBUILD')
-rw-r--r--community/domoticz/APKBUILD42
1 files changed, 20 insertions, 22 deletions
diff --git a/community/domoticz/APKBUILD b/community/domoticz/APKBUILD
index 751ee04bdb..23d78766cd 100644
--- a/community/domoticz/APKBUILD
+++ b/community/domoticz/APKBUILD
@@ -1,44 +1,44 @@
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
-# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org>
+# Maintainer: Johannes Heimansberg <git@jhe.dedyn.io>
pkgname=domoticz
-pkgver=4.10717
-pkgrel=6
+pkgver=2021.1
+pkgrel=0
pkgdesc="Open source Home Automation System"
url="http://www.domoticz.com/"
-arch="" # FTBFS
+arch="all"
license="GPL"
pkgusers="$pkgname"
pkggroups="$pkgname"
makedepends="cmake openssl-dev zlib-dev curl-dev boost-dev sqlite-dev
- lua5.2-dev mosquitto-dev libusb-compat-dev openzwave-dev python3-dev
+ lua5.3-dev mosquitto-dev libusb-compat-dev openzwave-dev python3-dev
+ minizip-dev fmt-dev jsoncpp-dev
"
install="$pkgname.pre-install"
source="domoticz-$pkgver.tar.gz::https://github.com/domoticz/domoticz/archive/$pkgver.tar.gz
- https://dev.alpinelinux.org/archive/domoticz/openzwave-1.6.patch
+ cereal-1.3.0.tar.gz::https://github.com/USCiLab/cereal/archive/v1.3.0.tar.gz
domoticz.confd
domoticz.initd
- do-not-fail-if-git-missing.patch
- boost-version.patch
- DelayedLink.h-fix-build-with-python-3.8.patch
+ luafix.patch
"
-builddir="$srcdir/domoticz-$pkgver"
-
build() {
- cd "$builddir"
cmake \
-DBUILD_SHARED_LIBS=True \
-DUSE_STATIC_LIBSTDCXX=OFF \
- -DOpenZWave=/usr/lib/libopenzwave.so \
-DUSE_STATIC_OPENZWAVE=OFF \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/var/lib/domoticz \
- -DUSE_BUILTIN_LUA=OFF \
-DUSE_BUILTIN_MQTT=OFF \
-DUSE_BUILTIN_SQLITE=OFF \
+ -DUSE_BUILTIN_LIBFMT=OFF \
+ -DUSE_BUILTIN_MINIZIP=OFF \
+ -DUSE_BUILTIN_JSONCPP=OFF \
-DUSE_STATIC_BOOST=NO \
-DUSE_STATIC_LIBSTDCXX=NO \
-DUSE_STATIC_OPENZWAVE=NO \
- -DUSE_OPENSSL_STATIC=NO
+ -DUSE_LUA_STATIC=NO \
+ -DUSE_OPENSSL_STATIC=NO \
+ -DCEREAL_INCLUDE_DIRS=../cereal-1.3.0/include \
+ .
make
}
@@ -47,8 +47,6 @@ check() {
}
package() {
- cd "$builddir"
-
make DESTDIR="$pkgdir" install
mkdir -p "$pkgdir"/usr/bin \
@@ -69,10 +67,10 @@ package() {
"$pkgdir"/etc/conf.d/$pkgname
}
-sha512sums="b7b3c702bf24be7bc314d261be5113b6ea598716b508443a18866391fbd7471764f1fb9419500f0315278e44b3646072bb7904d0b91a41bae01e33ea75636f44 domoticz-4.10717.tar.gz
+sha512sums="
+5a7d12fe17b9ee17a22e6d55962ac2b31eaa798022f6bc7c4bfbee92d9451212e5e999cc543b33d90ca34550e9698901fa30561a9bba4e0e3b0440caacc018aa domoticz-2021.1.tar.gz
+2bb640a222d4efe7c624c6ec3e755fecae00ef59e91c4db462e233546c5afe73c065ba1d16d9600f7cd3cc185593109148008b0b2b870208e2f1d6984fd40c72 cereal-1.3.0.tar.gz
724440da335f1e22c8dc181df62dac9ad2bcca98b39bff059de4be5901a93a0a8cb6864d92262092041d796ee7d3933f62cf337316d35a800bbb44f84a1709e0 domoticz.confd
aee1461afa96b6c9af6b88450a2e179990aca8ab74974b03242f58f786843f121fa1dec1177e82c143a775ad2e3db8603f54f341614e9fd55f645085c370b54d domoticz.initd
-dc3e9207b984b042866538f6fe87d02c0b182e41f3fc8d747ee5368f148614474733fe11971a928dc0673dafdb0857f88bfc03823c364e013d8fdb515dc24403 do-not-fail-if-git-missing.patch
-aad8557eb68b4c98081ae43286f8f3dfade03b0d7f4dea71c2cc6ad3a652b1aa5ce401794ed11f47a8ec966056f6d2761258040b223ebc58b134ebb68e36b3d2 boost-version.patch
-280cc5e3f9924255bfdf6980792a672820c5eb8f8e9e4bf7f6ee3ed1555edf267c9f2806cf265375c8f1b9804cc6f3ed8d3a507289e81fd1ebc8ff090ae3a65a DelayedLink.h-fix-build-with-python-3.8.patch
-be4ffd899b61bc3c108e04616514e64cf6b76ae7d8a26b5ddad1e45ff8ad53ca3c8cdc6e06efb1ff660634a44d6a28eca807222853ca36dd57baa0adafcab72a openzwave-1.6.patch"
+83e568a2e5e310ffd22c8e8546f96ee15824817a6a65d6027195689a8a7668ec54107c68d54b70cc998cbef36a2b976c9636080ab94e91462b2280de0ac12058 luafix.patch
+"