From be59ed88f6e675d6c6100e471027039dcb814883 Mon Sep 17 00:00:00 2001 From: q66 Date: Wed, 1 Jul 2020 23:48:08 +0200 Subject: [PATCH] bcnc: remove no_opencv logic It's no longer possible to build bcnc on ppc32 since scipy no longer builds because of openblas dependency. --- srcpkgs/bcnc/template | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/srcpkgs/bcnc/template b/srcpkgs/bcnc/template index c7e6eb32c80..c0c7bfb8402 100644 --- a/srcpkgs/bcnc/template +++ b/srcpkgs/bcnc/template @@ -6,7 +6,8 @@ archs=noarch wrksrc=bCNC-$version build_style=python3-module hostmakedepends="python3-setuptools" -depends="python3-pyserial python3-Pillow python3-tkinter python3-numpy python3-scipy" +depends="python3-pyserial python3-Pillow python3-tkinter python3-numpy python3-scipy + libopencv-python3" short_desc="GRBL CNC command sender, autoleveler and g-code editor" maintainer="Urs Schulz " license="GPL-2.0-only" @@ -15,17 +16,6 @@ distfiles="${PYPI_SITE}/b/bCNC/bCNC-${version}.tar.gz" checksum=2df238989184179726870559f0531aea1e85ae9369d194bf8dba3638107671d7 nocross="libopencv-python3 is not cross-compilable" -# opencv is not available on 32-bit ppc -case "$XBPS_TARGET_MACHINE" in - ppc64*) ;; - ppc*) _no_opencv=yes;; -esac - -# libopencv-python3 is optional -if [ -z "$_no_opencv" ]; then - depends+=" libopencv-python3" -fi - post_install() { vmkdir usr/share/applications vmkdir usr/share/pixmaps