aboutsummaryrefslogtreecommitdiff
path: root/apks/dlib
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-03-10 19:30:05 +0100
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-03-10 19:31:38 +0100
commit2a53753fc4006af8456c282edf88aad35fce52c7 (patch)
tree3669cd48a5cec6d9d1387f5d59f3e905e4660b60 /apks/dlib
parentf8551c9e65a39cad3ce02beb7653f35a5dc3fbb5 (diff)
downloadapkbuilds-2a53753fc4006af8456c282edf88aad35fce52c7.tar.gz
apkbuilds-2a53753fc4006af8456c282edf88aad35fce52c7.tar.bz2
apkbuilds-2a53753fc4006af8456c282edf88aad35fce52c7.zip
feat: Add dlib
This will later be used by photoview
Diffstat (limited to 'apks/dlib')
-rw-r--r--apks/dlib/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/apks/dlib/APKBUILD b/apks/dlib/APKBUILD
new file mode 100644
index 0000000..919f591
--- /dev/null
+++ b/apks/dlib/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Davis E. King <davis@dlib.net>
+# Maintainer: Adriaan Groenenboom <agboom@pm.me>
+pkgname=dlib
+pkgver=19.24
+pkgrel=1
+pkgdesc="A toolkit for making real world machine learning and data analysis applications in C++"
+url="http://dlib.net"
+arch="x86_64"
+license="BSL-1.0"
+makedepends="
+ cmake
+ libjpeg-turbo-dev
+ libpng-dev
+ libx11-dev
+ openblas-dev
+ samurai
+ "
+subpackages="$pkgname-dev"
+source="dlib-$pkgver.tar.bz2::https://downloads.sourceforge.net/project/dclib/dlib/v$pkgver/dlib-$pkgver.tar.bz2"
+
+build() {
+ cmake -B build -G Ninja \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_SHARED_LIBS=ON \
+ -DCMAKE_BUILD_TYPE=None
+ cmake --build build
+}
+
+package() {
+ DESTDIR=$pkgdir cmake --install build
+}
+
+sha512sums="
+c12c166d7c59ea632d02d8fb6d3e0b1d42212ed1f856ec015408868308374f5f1ac75abfa916dd94862269543b91bc2b4c75fd3078c14063309808a15a14d2fe dlib-19.24.tar.bz2
+"