Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add recipe for connectome-workbench 1.3.1. #10248

Merged
merged 2 commits into from
Aug 3, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions recipes/connectome-workbench/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

export PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig \
OPENMP_HEADER_DIR=${PREFIX}/include \
OPENMP_LIB_DIR=${PREFIX}/lib \
FREETYPE_DIR=${PREFIX}

mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=${PREFIX} -DOPENSSL_ROOT_DIR=${PREFIX} \
-DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS_RELEASE="-L${PREFIX}/lib" \
-DWORKBENCH_USE_QT5=TRUE -DZLIB_ROOT=${PREFIX} -DWORKBENCH_MESA_DIR=${PREFIX} \
-DCMAKE_PREFIX_PATH=${PREFIX} -DPKG_CONFIG_USE_CMAKE_PREFIX_PATH=True ../src
make -j ${CPU_COUNT}
make install
71 changes: 71 additions & 0 deletions recipes/connectome-workbench/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{% set name = "connectome-workbench" %}
{% set version = "1.3.1" %}
{% set sha256 = "0359619ef7559cdd2e677c1c924153bb3534505ca9baf58d9c6281eae654e2c7" %}

package:
name: {{ name }}
version: {{ version }}

source:
url: https://github.com/Washington-University/workbench/archive/v{{ version }}.tar.gz
sha256: {{ sha256 }}

build:
number: 0
skip: True # [osx]

requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- cmake >=2.8

host:
- qt >=5.6
- libpng
- zlib
- openssl
- openmp
- freetype
- mesa
- libglu
- xorg-libx11
- xorg-libxext
- xorg-libxfixes
- xorg-libxcb
- xorg-libxau
- xorg-libxdmcp

run:
- qt >=5.6
- libpng
- zlib
- openssl
- openmp
- freetype
- mesa
- libglu
- xorg-libx11
- xorg-libxext
- xorg-libxfixes
- xorg-libxcb
- xorg-libxau
- xorg-libxdmcp

test:
commands:
- wb_command -help
- wb_view -help
- wb_shortcuts -help

about:
home: https://www.humanconnectome.org/software/connectome-workbench
summary: "Connectome Workbench is an open source, freely available visualization and discovery tool used to map neuroimaging data, especially data generated by the Human Connectome Project"
license: GPL-2.0
license_family: GPL
license_file: LICENSE
dev_url: https://github.com/Washington-University/workbench

extra:
container:
extended-base: True