# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
github.setup osh gr-pyqt 81807ed786fc940e833e5fa8f385f3870d0939f4
checksums rmd160 2b1f472ef0e196958e165d156c21b4348b59631a \
sha256 1bfbccccfdf69583722728437ab6f12d9644147bcab99fd0a0e2e026442f01f9
# allow gr-pyqt to work with both gnuradio and gnuradio-devel ...
depends_lib-append path:lib/libgnuradio-runtime.dylib:gnuradio
# ... but not with gnuradio-next
if {![catch {set installed [lindex [registry_active gnuradio-next] 0]}]} {
# gnuradio-next is installed; this version of gr-pyqt does not work with gnuradio-next
ui_msg "\nError: ${name} requires the gnuradio or gnuradio-devel port, and will not work with the gnuradio-next port. deactivate gnuradio-next, and then install or activate gnuradio or gnuradio-devel.\n"
return -code error "Invalid port dependency: gnuradio-next"
maintainers {michaelld @michaelld} openmaintainer
description Provides augmented functionality for GNU Radio: pyqt based plotters intended for plotting bursted events.
long_description ${description}
depends_build-append port:pkgconfig
depends_lib-append port:boost
# still require cppunit for testing, even though the tests don't
# actually do anything. NOTE: cppunit is checked for during configure,
# so we need it to be in depends_lib or depends_build to be used
# correctly. Choose the latter since it's not required for runtime;
depends_build-append port:cppunit
# do VPATH (out of source tree) build
# remove top-level library path, such that internal libraries are used
# instead of any already-installed ones.
configure.ldflags-delete -L${prefix}/lib
# specify the Python dependencies
# specify the Python version to use
-DPYTHON_EXECUTABLE=${frameworks_dir}/Python.framework/Versions/2.7/bin/python2.7 \
-DPYTHON_INCLUDE_DIR=${frameworks_dir}/Python.framework/Versions/2.7/Headers \
-DPYTHON_LIBRARY=${frameworks_dir}/Python.framework/Versions/2.7/Python \