aboutsummaryrefslogtreecommitdiffstats
path: root/community/zoneminder/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/zoneminder/APKBUILD')
-rw-r--r--community/zoneminder/APKBUILD46
1 files changed, 23 insertions, 23 deletions
diff --git a/community/zoneminder/APKBUILD b/community/zoneminder/APKBUILD
index 1feb07b0a3..ae88edfbb0 100644
--- a/community/zoneminder/APKBUILD
+++ b/community/zoneminder/APKBUILD
@@ -2,29 +2,29 @@
# Contributor: Kaarle Ritvanen <kunkku@alpinelinux.org>
# Maintainer: Kaarle Ritvanen <kunkku@alpinelinux.org>
pkgname=zoneminder
-pkgver=1.36.7
-pkgrel=1
+pkgver=1.36.14
+pkgrel=0
_crud=14292374ccf1328f2d5db20897bd06f99ba4d938
_enum=ea90c0cd7f6e24333a90885e563b5d30b793db29
_rtsp=cd7fd49becad6010a1b8466bfebbd93999a39878
pkgdesc="Video camera surveillance system"
url="https://www.zoneminder.com/"
-arch="all !s390x !mips !mips64 !armhf !riscv64" # limited by vlc
+arch="all !s390x !armhf !riscv64" # limited by vlc
license="GPL-2.0-or-later"
-_php=php7
+_php=php8
depends="bash ffmpeg linux-headers perl perl-archive-zip
- perl-crypt-eksblowfish perl-data-entropy perl-data-uuid
- perl-date-manip perl-dbd-mysql perl-dbi
- perl-device-serialport perl-libwww perl-lwp-protocol-https
- perl-mailtools perl-mime-lite perl-mime-tools
- perl-number-bytes-human perl-php-serialization
- perl-sys-meminfo perl-sys-mmap perl-time-hires $_php
- $_php-apcu $_php-ctype $_php-gd $_php-json $_php-pdo_mysql
- $_php-session $_php-sockets procps sudo zip"
-makedepends="bzip2-dev cmake curl-dev ffmpeg-dev gnutls-dev gzip
- libexecinfo-dev libgcrypt-dev libjpeg-turbo-dev
- mariadb-connector-c-dev pcre-dev perl-dev ${_php}-cli
- polkit-dev v4l-utils-dev vlc-dev x264-dev"
+ perl-crypt-eksblowfish perl-data-entropy perl-data-uuid
+ perl-date-manip perl-dbd-mysql perl-dbi
+ perl-device-serialport perl-libwww perl-lwp-protocol-https
+ perl-mailtools perl-mime-lite perl-mime-tools
+ perl-number-bytes-human perl-php-serialization
+ perl-sys-meminfo perl-sys-mmap perl-time-hires
+ $_php $_php-apcu $_php-ctype $_php-gd $_php-pdo_mysql
+ $_php-session $_php-sockets procps sudo zip"
+makedepends="bzip2-dev cmake curl-dev ffmpeg4-dev gnutls-dev gzip
+ libexecinfo-dev libgcrypt-dev libjpeg-turbo-dev
+ mariadb-connector-c-dev pcre-dev perl-dev $_php-cli
+ polkit-dev v4l-utils-dev vlc-dev x264-dev samurai"
subpackages="$pkgname-doc $pkgname-openrc"
source="zoneminder-$pkgver.tar.gz::https://github.com/ZoneMinder/zoneminder/archive/$pkgver.tar.gz
RtspServer-$_rtsp.tar.gz::https://github.com/ZoneMinder/RtspServer/archive/$_rtsp.tar.gz
@@ -96,7 +96,8 @@ prepare() {
}
build() {
- cmake \
+ cmake -B build -G Ninja \
+ -DCMAKE_BUILD_TYPE=MinSizeRel \
-DCMAKE_INSTALL_PREFIX=/usr \
-DZM_CGIDIR=/usr/share/webapps/$pkgname/cgi-bin \
-DZM_LOGDIR=/var/log/zoneminder \
@@ -104,15 +105,14 @@ build() {
-DZM_SOCKDIR=/var/run/zoneminder \
-DZM_TMPDIR=/var/lib/zoneminder/temp \
-DZM_WEBDIR=/usr/share/webapps/$pkgname/htdocs \
- -DZM_CONFIG_DIR=/etc/zm \
- . && make
+ -DZM_CONFIG_DIR=/etc/zm
+ cmake --build build
}
package() {
- local dir
- make install DESTDIR="$pkgdir"
+ DESTDIR="$pkgdir" cmake --install build
find "$pkgdir" -name perllocal.pod -delete
- install -D zmlinkcontent.sh "$pkgdir"/usr/sbin/zmlinkcontent.sh
+ install -D build/zmlinkcontent.sh "$pkgdir"/usr/sbin/zmlinkcontent.sh
install -D -m 755 "$srcdir/$pkgname.initd" "$pkgdir/etc/init.d/$pkgname"
chmod 640 "$pkgdir/etc/zm/zm.conf"
@@ -130,7 +130,7 @@ package() {
"$pkgdir"/var/www/localhost/cgi-bin/zm
}
sha512sums="
-0cf0e6d2f95af685b902b117845db50b30e289458bcad91634d562140955bf90572a089f760aac15df2ff9d8941f80e28f9586d0f6fe202b0a7f287f849f42a3 zoneminder-1.36.7.tar.gz
+a4a6b17db5f0accd42f36c78a149f76987fedb69fe3059ab24e17e3d81183eca3e922d30952339aae7f8ae0eb966c252636e2486f499b9e941aa84054707fa70 zoneminder-1.36.14.tar.gz
33409d1c5ddf506210e14f35ed59135368cf8ebf7d53b47fd86779d6225d27fa09e1a0a02898d651fecaac103891efb4ad35d4dee3081deb07e2e7a944a70560 RtspServer-cd7fd49becad6010a1b8466bfebbd93999a39878.tar.gz
75f2188e548b98191c8df82fb76e918f3bda9788f541449df8fa92449ad19aa0b9c13420dd91c760e08a4d31956ad51602242ab97e3bd4460f01e99f49992453 CakePHP-Enum-Behavior-ea90c0cd7f6e24333a90885e563b5d30b793db29.tar.gz
da58528686baf05385ad08079f965bce10eba6d599133ab773e9ab1f9e4b7d82cf5431b4b773317b90effb16e0b026a029bdfabe08a9ef1a5e9b94e7a1c2ea9e crud-14292374ccf1328f2d5db20897bd06f99ba4d938.tar.gz