Skip to content

Commit

Permalink
Add recipe for connectome-workbench 1.3.1. (bioconda#10248)
Browse files Browse the repository at this point in the history
* Add recipe for connectome-workbench 1.3.1.

* Use extended container.
  • Loading branch information
acaprez authored Aug 3, 2018
1 parent 8787197 commit c3bc2bd
Show file tree
Hide file tree
Showing 2 changed files with 86 additions and 0 deletions.
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

0 comments on commit c3bc2bd

Please sign in to comment.