OpenCV: Do not add _x86 to the binaries

This commit is contained in:
miqlas
2017-09-01 12:51:29 +02:00
committed by diversys
parent 6554145f81
commit 0b8fb0fbbd

View File

@@ -19,14 +19,20 @@ PATCHES="opencv-$portVersion.patchset"
ARCHITECTURES="?x86 x86_64"
SECONDARY_ARCHITECTURES="?x86"
# On x86_gcc2 we don't want to install the commands in bin/<arch>/, but in bin/.
commandSuffix=$secondaryArchSuffix
if [ "$targetArchitecture" = x86_gcc2 ]; then
commandSuffix=
fi
PROVIDES="
opencv$secondaryArchSuffix = $portVersion compat >= 3
cmd:opencv_annotation$secondaryArchSuffix= $portVersion
cmd:opencv_createsamples$secondaryArchSuffix= $portVersion
cmd:opencv_interactive_calibration$secondaryArchSuffix= $portVersion
cmd:opencv_traincascade$secondaryArchSuffix= $portVersion
cmd:opencv_version$secondaryArchSuffix= $portVersion
cmd:opencv_visualisation$secondaryArchSuffix= $portVersion
cmd:opencv_annotation$commandSuffix= $portVersion
cmd:opencv_createsamples$commandSuffix= $portVersion
cmd:opencv_interactive_calibration$commandSuffix= $portVersion
cmd:opencv_traincascade$commandSuffix= $portVersion
cmd:opencv_version$commandSuffix= $portVersion
cmd:opencv_visualisation$commandSuffix= $portVersion
lib:libopencv_calib3d$secondaryArchSuffix = 3.3.0 compat >= 3
lib:libopencv_core$secondaryArchSuffix = 3.3.0 compat >= 3
lib:libopencv_dnn$secondaryArchSuffix = 3.3.0 compat >= 3