summaryrefslogtreecommitdiff
path: root/homebrew/pcl/.beer
blob: b57def293b9825cad055f1abc4f9df509ab1c4d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
    "name": "Pcl",
    "description": "Library for 2D/3D image and point cloud processing",
    "url": "https://github.com/PointCloudLibrary/pcl/archive/pcl-1.9.1.tar.gz",
    "mirror": null,
    "homepage": "http://www.pointclouds.org/",
    "depends": [
        {
            "depend": "cmake",
            "build-depend": true
        },
        {
            "depend": "pkg-config",
            "build-depend": true
        },
        {
            "depend": "boost",
            "build-depend": false
        },
        {
            "depend": "cminpack",
            "build-depend": false
        },
        {
            "depend": "eigen",
            "build-depend": false
        },
        {
            "depend": "flann",
            "build-depend": false
        },
        {
            "depend": "glew",
            "build-depend": false
        },
        {
            "depend": "libusb",
            "build-depend": false
        },
        {
            "depend": "qhull",
            "build-depend": false
        },
        {
            "depend": "vtk",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "args = std_cmake_args + %w[",
        "-DBUILD_SHARED_LIBS:BOOL=ON",
        "-DBUILD_apps=AUTO_OFF",
        "-DBUILD_apps_3d_rec_framework=AUTO_OFF",
        "-DBUILD_apps_cloud_composer=AUTO_OFF",
        "-DBUILD_apps_in_hand_scanner=AUTO_OFF",
        "-DBUILD_apps_optronic_viewer=AUTO_OFF",
        "-DBUILD_apps_point_cloud_editor=AUTO_OFF",
        "-DBUILD_examples:BOOL=ON",
        "-DBUILD_global_tests:BOOL=OFF",
        "-DBUILD_outofcore:BOOL=AUTO_OFF",
        "-DBUILD_people:BOOL=AUTO_OFF",
        "-DBUILD_simulation:BOOL=AUTO_OFF",
        "-DWITH_CUDA:BOOL=OFF",
        "-DWITH_DOCS:BOOL=OFF",
        "-DWITH_QT:BOOL=FALSE",
        "-DWITH_TUTORIALS:BOOL=OFF",
        "]",
        "if build.head?",
        "args << \"-DBUILD_apps_modeler=AUTO_OFF\"",
        "else",
        "args << \"-DBUILD_apps_modeler:BOOL=OFF\"",
        "end",
        "mkdir \"build\" do",
        "system \"cmake\", \"..\", *args",
        "system \"make\", \"install\"",
        "prefix.install Dir[\"#{bin}/*.app\"]"
    ],
    "version": "1.9.1",
    "file": "pcl.rb"
}