aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2022-01-12 16:36:51 +0100
committerBart Ribbers <bribbers@disroot.org>2022-01-12 16:36:51 +0100
commit9efb3e92d54f91108a75372b880833cad45bbff9 (patch)
tree19d55a90ae828b5a778da42da979f1260140139b
parent9caacad4405a5992163bff961f7cd92c824adf8e (diff)
downloadaports-9efb3e92d54f91108a75372b880833cad45bbff9.tar.gz
aports-9efb3e92d54f91108a75372b880833cad45bbff9.tar.bz2
aports-9efb3e92d54f91108a75372b880833cad45bbff9.tar.xz
community/opencv: build with build type Release
-rw-r--r--community/opencv/APKBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/community/opencv/APKBUILD b/community/opencv/APKBUILD
index 593bb42d5c..a5f9edf389 100644
--- a/community/opencv/APKBUILD
+++ b/community/opencv/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=opencv
pkgver=4.5.4
-pkgrel=2
+pkgrel=3
pkgdesc="An open source computer vision and machine learning library"
url="https://opencv.org/"
# s390x blocked by vtk -> netcdf
@@ -33,7 +33,7 @@ depends_dev="
"
makedepends="$depends_dev
cmake
- ninja
+ samurai
python3-dev
py3-numpy-dev
"
@@ -76,7 +76,7 @@ prepare() {
build() {
cmake -B build -G Ninja \
- -DCMAKE_BUILD_TYPE=MinSizeRel \
+ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DENABLE_LTO=ON \