void-packages/srcpkgs/kicad/template

22 lines
834 B
Bash

# Template file for 'kicad'
pkgname=kicad
version=4.0.4
revision=4
build_style=cmake
configure_args="-DKICAD_BUILD_VERSION=$version -DKICAD_SKIP_BOOST=ON
-DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON
-DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-3.0"
hostmakedepends="pkg-config swig"
makedepends="wxWidgets-devel wxPython-devel python-devel glew-devel cairo-devel
libressl-devel boost-devel"
depends="wxPython"
short_desc="Electronic schematic and PCB design software"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="GPL-2"
homepage="http://kicad-pcb.org"
distfiles="https://launchpad.net/${pkgname}/${version%.*}/${version}/+download/${pkgname}-${version}.tar.xz"
checksum=6da5d3f7bc63a9c5b4d0f5e4b954411b45d712168596b5af02957343c87eda00
patch_args="-Np1"
CXXFLAGS="-std=c++11"