aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAiden Grossman <agrossman154@yahoo.com>2022-01-14 22:53:59 +0000
committerBart Ribbers <bribbers@disroot.org>2022-01-17 18:58:01 +0000
commitd55d845ff8658a4e1c632bb4632b005dad54e601 (patch)
tree8da2946d9ea93ffa26fbbe9ed73af57898d0212a
parenta5cf179d2223c14c8398c6f03439cfcb6fd08003 (diff)
downloadaports-d55d845ff8658a4e1c632bb4632b005dad54e601.tar.gz
aports-d55d845ff8658a4e1c632bb4632b005dad54e601.tar.bz2
aports-d55d845ff8658a4e1c632bb4632b005dad54e601.tar.xz
community/libarcus: reenable python bindings
-rw-r--r--community/libarcus/APKBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/community/libarcus/APKBUILD b/community/libarcus/APKBUILD
index b1e65eb658..d994acb4f1 100644
--- a/community/libarcus/APKBUILD
+++ b/community/libarcus/APKBUILD
@@ -3,7 +3,7 @@
pkgname=libarcus
# Needs to be upgraded in sync with the curaengine aport
pkgver=4.13.0
-pkgrel=0
+pkgrel=1
pkgdesc="Communication library for Cura"
url="https://github.com/Ultimaker/libArcus"
arch="all"
@@ -11,8 +11,10 @@ license="LGPL-3.0-or-later"
makedepends="
cmake
protobuf-dev
+ py3-sip4-dev
+ python3-dev
"
-subpackages="$pkgname-dev"
+subpackages="$pkgname-dev py3-$pkgname:_py"
options="!check" # no test suite
source="https://github.com/Ultimaker/libArcus/archive/$pkgver/libArcus-$pkgver.tar.gz
protobuf.patch
@@ -24,7 +26,7 @@ build() {
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
- -DBUILD_PYTHON=OFF
+ -DBUILD_PYTHON=ON
cmake --build build
}