don't forget to install audio config examples, fixes osxdiff -r1.50 -r1.51 pkgsrc/ham/gnuradio-core/Makefile
(wiedi)
@@ -1,16 +1,17 @@ | @@ -1,16 +1,17 @@ | |||
1 | # $NetBSD: Makefile,v 1.50 2015/09/01 04:13:43 mef Exp $ | 1 | # $NetBSD: Makefile,v 1.51 2015/11/26 20:53:52 wiedi Exp $ | |
2 | 2 | |||
3 | PKGNAME= gnuradio-core-${VERSION} | 3 | PKGNAME= gnuradio-core-${VERSION} | |
4 | PKGREVISION= 1 | |||
4 | COMMENT= Core part of GNU Radio, all others need this | 5 | COMMENT= Core part of GNU Radio, all others need this | |
5 | 6 | |||
6 | PLIST_MINUS= # empty | 7 | PLIST_MINUS= # empty | |
7 | .include "Makefile.common" | 8 | .include "Makefile.common" | |
8 | 9 | |||
9 | #CONF_FILES+= ${EGDIR}/gnuradio-runtime.conf ${PKG_SYSCONFDIR}/gnuradio-runtime.conf | 10 | #CONF_FILES+= ${EGDIR}/gnuradio-runtime.conf ${PKG_SYSCONFDIR}/gnuradio-runtime.conf | |
10 | #CONF_FILES+= ${EGDIR}/gr-audio-jack.conf ${PKG_SYSCONFDIR}/gr-audio-jack.conf | 11 | #CONF_FILES+= ${EGDIR}/gr-audio-jack.conf ${PKG_SYSCONFDIR}/gr-audio-jack.conf | |
11 | #CONF_FILES+= ${EGDIR}/gr-audio-portaudio.conf ${PKG_SYSCONFDIR}/gr-audio-portaudio.conf | 12 | #CONF_FILES+= ${EGDIR}/gr-audio-portaudio.conf ${PKG_SYSCONFDIR}/gr-audio-portaudio.conf | |
12 | #CONF_FILES+= ${EGDIR}/gr-audio.conf ${PKG_SYSCONFDIR}/gr-audio.conf | 13 | #CONF_FILES+= ${EGDIR}/gr-audio.conf ${PKG_SYSCONFDIR}/gr-audio.conf | |
13 | 14 | |||
14 | .include "../../mk/oss.buildlink3.mk" | 15 | .include "../../mk/oss.buildlink3.mk" | |
15 | .if ${OSS_TYPE} != "none" | 16 | .if ${OSS_TYPE} != "none" | |
16 | #CONF_FILES+= ${EGDIR}/gr-audio-oss.conf ${PKG_SYSCONFDIR}/gr-audio-oss.conf | 17 | #CONF_FILES+= ${EGDIR}/gr-audio-oss.conf ${PKG_SYSCONFDIR}/gr-audio-oss.conf |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile.common,v 1.8 2015/09/01 04:13:43 mef Exp $ | 1 | # $NetBSD: Makefile.common,v 1.9 2015/11/26 20:53:52 wiedi Exp $ | |
2 | # This Makefile fragment is included in the package Makefiles for | 2 | # This Makefile fragment is included in the package Makefiles for | |
3 | # GNU Radio distributed packages (they all share common configure and build | 3 | # GNU Radio distributed packages (they all share common configure and build | |
4 | # settings). | 4 | # settings). | |
5 | # used by ham/gnuradio-atsc/Makefile | 5 | # used by ham/gnuradio-atsc/Makefile | |
6 | # used by ham/gnuradio-channels/Makefile | 6 | # used by ham/gnuradio-channels/Makefile | |
7 | # used by ham/gnuradio-companion/Makefile | 7 | # used by ham/gnuradio-companion/Makefile | |
8 | # used by ham/gnuradio-core/Makefile | 8 | # used by ham/gnuradio-core/Makefile | |
9 | # used by ham/gnuradio-ctrlport/Makefile | 9 | # used by ham/gnuradio-ctrlport/Makefile | |
10 | 10 | |||
11 | # used by ham/gnuradio-digital/Makefile | 11 | # used by ham/gnuradio-digital/Makefile | |
12 | # used by ham/gnuradio-doxygen/Makefile | 12 | # used by ham/gnuradio-doxygen/Makefile | |
13 | # used by ham/gnuradio-dtv/Makefile | 13 | # used by ham/gnuradio-dtv/Makefile | |
14 | # used by ham/gnuradio-fcd/Makefile | 14 | # used by ham/gnuradio-fcd/Makefile | |
@@ -83,27 +83,27 @@ CMAKE_ARGS+= -DENABLE_GR_FILTER=ON | @@ -83,27 +83,27 @@ CMAKE_ARGS+= -DENABLE_GR_FILTER=ON | |||
83 | CMAKE_ARGS+= -DENABLE_PYTHON=ON | 83 | CMAKE_ARGS+= -DENABLE_PYTHON=ON | |
84 | CMAKE_ARGS+= -DENABLE_VOLK=ON | 84 | CMAKE_ARGS+= -DENABLE_VOLK=ON | |
85 | 85 | |||
86 | # Default setting (for pkgsrc) | 86 | # Default setting (for pkgsrc) | |
87 | CMAKE_ARGS+= -Wno-dev | 87 | CMAKE_ARGS+= -Wno-dev | |
88 | CMAKE_ARGS+= -DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE | 88 | CMAKE_ARGS+= -DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE | |
89 | CMAKE_ARGS+= -DCMAKE_INCLUDE_PATH=${PREFIX}/include/portaudio2 | 89 | CMAKE_ARGS+= -DCMAKE_INCLUDE_PATH=${PREFIX}/include/portaudio2 | |
90 | CMAKE_ARGS+= -DCMAKE_LIBRARY_PATH=${PREFIX}/lib/portaudio2 | 90 | CMAKE_ARGS+= -DCMAKE_LIBRARY_PATH=${PREFIX}/lib/portaudio2 | |
91 | CMAKE_ARGS+= -DCMAKE_INSTALL_RPATH=${PREFIX}/lib:${PREFIX}/lib/portaudio2 | 91 | CMAKE_ARGS+= -DCMAKE_INSTALL_RPATH=${PREFIX}/lib:${PREFIX}/lib/portaudio2 | |
92 | CMAKE_ARGS+= -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE | 92 | CMAKE_ARGS+= -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE | |
93 | CMAKE_ARGS+= -DLIBUSB_INCLUDE_DIR=${PREFIX}/include/libusb-1.0 | 93 | CMAKE_ARGS+= -DLIBUSB_INCLUDE_DIR=${PREFIX}/include/libusb-1.0 | |
94 | 94 | |||
95 | CMAKE_ARGS+= -DGR_LIBRARY_DIR=${PREFIX}/lib | 95 | CMAKE_ARGS+= -DGR_LIBRARY_DIR=${PREFIX}/lib | |
96 | CMAKE_ARGS+= -DGR_PREFSDIR=${DESTDIR}${PREFIX}/share/ | 96 | CMAKE_ARGS+= -DGR_PREFSDIR=${PREFIX}/share/gnuradio/examples/ | |
97 | 97 | |||
98 | CMAKE_ARGS+= -DZEROMQ_INCLUDE_DIRS=${PREFIX}/include | 98 | CMAKE_ARGS+= -DZEROMQ_INCLUDE_DIRS=${PREFIX}/include | |
99 | CMAKE_ARG_PATH= ../ | 99 | CMAKE_ARG_PATH= ../ | |
100 | 100 | |||
101 | .include "options.mk" | 101 | .include "options.mk" | |
102 | 102 | |||
103 | # disable/enable ALSA, see also patches/patch-gr-audio_lib_CMakeLists.txt | 103 | # disable/enable ALSA, see also patches/patch-gr-audio_lib_CMakeLists.txt | |
104 | SUBST_CLASSES+= alsa | 104 | SUBST_CLASSES+= alsa | |
105 | SUBST_MESSAGE.alsa= Arrange the patched line depepending on alsa is in PKG_OPTIONS or not | 105 | SUBST_MESSAGE.alsa= Arrange the patched line depepending on alsa is in PKG_OPTIONS or not | |
106 | SUBST_FILES.alsa+= gr-audio/lib/CMakeLists.txt | 106 | SUBST_FILES.alsa+= gr-audio/lib/CMakeLists.txt | |
107 | ## The value of ${ALSA_ENABLED} is either '#' or '' by options.mk. | 107 | ## The value of ${ALSA_ENABLED} is either '#' or '' by options.mk. | |
108 | SUBST_SED.alsa= -e 's,@@ALSA@@,${ALSA_ENABLED},' | 108 | SUBST_SED.alsa= -e 's,@@ALSA@@,${ALSA_ENABLED},' | |
109 | SUBST_STAGE.alsa= post-patch | 109 | SUBST_STAGE.alsa= post-patch |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.20 2015/09/01 04:13:43 mef Exp $ | 1 | @comment $NetBSD: PLIST,v 1.21 2015/11/26 20:53:52 wiedi Exp $ | |
2 | bin/gnuradio-config-info | 2 | bin/gnuradio-config-info | |
3 | bin/gr_filter_design | 3 | bin/gr_filter_design | |
4 | bin/volk-config-info | 4 | bin/volk-config-info | |
5 | bin/volk_modtool | 5 | bin/volk_modtool | |
6 | bin/volk_profile | 6 | bin/volk_profile | |
7 | include/gnuradio/analog/agc.h | 7 | include/gnuradio/analog/agc.h | |
8 | include/gnuradio/analog/agc2.h | 8 | include/gnuradio/analog/agc2.h | |
9 | include/gnuradio/analog/agc2_cc.h | 9 | include/gnuradio/analog/agc2_cc.h | |
10 | include/gnuradio/analog/agc2_ff.h | 10 | include/gnuradio/analog/agc2_ff.h | |
11 | include/gnuradio/analog/agc3_cc.h | 11 | include/gnuradio/analog/agc3_cc.h | |
12 | include/gnuradio/analog/agc_cc.h | 12 | include/gnuradio/analog/agc_cc.h | |
13 | include/gnuradio/analog/agc_ff.h | 13 | include/gnuradio/analog/agc_ff.h | |
14 | include/gnuradio/analog/api.h | 14 | include/gnuradio/analog/api.h | |
@@ -930,26 +930,30 @@ share/gnuradio/examples/filter/fft_filte | @@ -930,26 +930,30 @@ share/gnuradio/examples/filter/fft_filte | |||
930 | share/gnuradio/examples/filter/filter_taps.grc | 930 | share/gnuradio/examples/filter/filter_taps.grc | |
931 | share/gnuradio/examples/filter/fir_filter_ccc.py | 931 | share/gnuradio/examples/filter/fir_filter_ccc.py | |
932 | share/gnuradio/examples/filter/fir_filter_fff.py | 932 | share/gnuradio/examples/filter/fir_filter_fff.py | |
933 | share/gnuradio/examples/filter/gr_filtdes_api.py | 933 | share/gnuradio/examples/filter/gr_filtdes_api.py | |
934 | share/gnuradio/examples/filter/gr_filtdes_callback.py | 934 | share/gnuradio/examples/filter/gr_filtdes_callback.py | |
935 | share/gnuradio/examples/filter/gr_filtdes_live_upd.py | 935 | share/gnuradio/examples/filter/gr_filtdes_live_upd.py | |
936 | share/gnuradio/examples/filter/gr_filtdes_restrict.py | 936 | share/gnuradio/examples/filter/gr_filtdes_restrict.py | |
937 | share/gnuradio/examples/filter/interpolate.py | 937 | share/gnuradio/examples/filter/interpolate.py | |
938 | share/gnuradio/examples/filter/reconstruction.py | 938 | share/gnuradio/examples/filter/reconstruction.py | |
939 | share/gnuradio/examples/filter/resampler.py | 939 | share/gnuradio/examples/filter/resampler.py | |
940 | share/gnuradio/examples/filter/resampler_demo.grc | 940 | share/gnuradio/examples/filter/resampler_demo.grc | |
941 | share/gnuradio/examples/filter/synth_filter.py | 941 | share/gnuradio/examples/filter/synth_filter.py | |
942 | share/gnuradio/examples/filter/synth_to_chan.py | 942 | share/gnuradio/examples/filter/synth_to_chan.py | |
943 | share/gnuradio/examples/gnuradio-runtime.conf | |||
944 | share/gnuradio/examples/gr-audio-jack.conf | |||
945 | share/gnuradio/examples/gr-audio-portaudio.conf | |||
946 | share/gnuradio/examples/gr-audio.conf | |||
943 | share/gnuradio/examples/metadata/file_metadata_sink.grc | 947 | share/gnuradio/examples/metadata/file_metadata_sink.grc | |
944 | share/gnuradio/examples/metadata/file_metadata_source.grc | 948 | share/gnuradio/examples/metadata/file_metadata_source.grc | |
945 | share/gnuradio/examples/metadata/file_metadata_vector_sink.grc | 949 | share/gnuradio/examples/metadata/file_metadata_vector_sink.grc | |
946 | share/gnuradio/examples/metadata/file_metadata_vector_source.grc | 950 | share/gnuradio/examples/metadata/file_metadata_vector_source.grc | |
947 | share/gnuradio/examples/mp-sched/README | 951 | share/gnuradio/examples/mp-sched/README | |
948 | share/gnuradio/examples/mp-sched/affinity_set.py | 952 | share/gnuradio/examples/mp-sched/affinity_set.py | |
949 | share/gnuradio/examples/mp-sched/plot_flops.py | 953 | share/gnuradio/examples/mp-sched/plot_flops.py | |
950 | share/gnuradio/examples/mp-sched/run_synthetic.py | 954 | share/gnuradio/examples/mp-sched/run_synthetic.py | |
951 | share/gnuradio/examples/mp-sched/synthetic.py | 955 | share/gnuradio/examples/mp-sched/synthetic.py | |
952 | share/gnuradio/examples/mp-sched/wfm_rcv_pll_to_wav.py | 956 | share/gnuradio/examples/mp-sched/wfm_rcv_pll_to_wav.py | |
953 | share/gnuradio/examples/network/audio_sink.py | 957 | share/gnuradio/examples/network/audio_sink.py | |
954 | share/gnuradio/examples/network/audio_source.py | 958 | share/gnuradio/examples/network/audio_source.py | |
955 | share/gnuradio/examples/network/dial_tone_sink.py | 959 | share/gnuradio/examples/network/dial_tone_sink.py |
@@ -1,3 +1,3 @@ | @@ -1,3 +1,3 @@ | |||
1 | @comment $NetBSD: PLIST.Darwin,v 1.1 2015/01/27 06:03:17 dbj Exp $ | 1 | @comment $NetBSD: PLIST.Darwin,v 1.2 2015/11/26 20:53:52 wiedi Exp $ | |
2 | include/gnuradio/audio/osx_impl.h | 2 | include/gnuradio/audio/osx_impl.h | |
3 | share/examples/gnuradio/conf.d/gr-audio-osx.conf | 3 | share/gnuradio/examples/gr-audio-osx.conf |