| @@ -1,31 +1,32 @@ | | | @@ -1,31 +1,32 @@ |
1 | # $NetBSD: Makefile,v 1.43 2023/01/22 16:28:31 ryoon Exp $ | | 1 | # $NetBSD: Makefile,v 1.44 2023/01/30 18:02:31 adam Exp $ |
2 | | | 2 | |
3 | DISTNAME= gr-osmosdr-0.2.3.20210128 | | 3 | DISTNAME= gr-osmosdr-0.2.4 |
4 | PKGREVISION= 9 | | | |
5 | CATEGORIES= ham | | 4 | CATEGORIES= ham |
6 | # main git repo doesn't allow snapshots to be downloaded | | 5 | # main git repo doesn't allow snapshots to be downloaded |
7 | #MASTER_SITES= https://git.osmocom.org/gr-osmosdr/snapshot/ | | 6 | #MASTER_SITES= https://git.osmocom.org/gr-osmosdr/snapshot/ |
8 | MASTER_SITES= ${MASTER_SITE_GITHUB:=osmocom/} | | 7 | MASTER_SITES= ${MASTER_SITE_GITHUB:=osmocom/} |
9 | GITHUB_TAG= a100eb024c0210b95e4738b6efd836d48225bd03 | | 8 | GITHUB_TAG= v${PKGVERSION_NOREV} |
10 | | | 9 | |
11 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
12 | HOMEPAGE= https://git.osmocom.org/gr-osmosdr | | 11 | HOMEPAGE= https://git.osmocom.org/gr-osmosdr |
13 | COMMENT= SDR Hardware support for OsmoSDR and so many more | | 12 | COMMENT= SDR Hardware support for OsmoSDR and so many more |
14 | LICENSE= gnu-gpl-v2 | | 13 | LICENSE= gnu-gpl-v2 |
15 | | | 14 | |
16 | # for docs/doxygen/update_pydoc.py | | 15 | # for docs/doxygen/update_pydoc.py |
17 | BUILD_DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six | | 16 | BUILD_DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six |
18 | | | 17 | |
| | | 18 | GCC_REQD+= 8 # stdc++fs |
| | | 19 | |
19 | USE_CMAKE= yes | | 20 | USE_CMAKE= yes |
20 | USE_LANGUAGES= c c++11 | | 21 | USE_LANGUAGES= c c++11 |
21 | USE_TOOLS= cmake | | 22 | USE_TOOLS= cmake |
22 | | | 23 | |
23 | # Suppress warning for developer | | 24 | # Suppress warning for developer |
24 | CMAKE_ARGS+= -Wno-dev | | 25 | CMAKE_ARGS+= -Wno-dev |
25 | # TODO: make it PKG_OPTION | | 26 | # TODO: make it PKG_OPTION |
26 | CMAKE_ARGS+= -DENABLE_DOXYGEN=OFF | | 27 | CMAKE_ARGS+= -DENABLE_DOXYGEN=OFF |
27 | CMAKE_ARGS+= -Dpybind11_DIR=${PREFIX}/${PYSITELIB}/pybind11/share/cmake/pybind11 | | 28 | CMAKE_ARGS+= -Dpybind11_DIR=${PREFIX}/${PYSITELIB}/pybind11/share/cmake/pybind11 |
28 | | | 29 | |
29 | PLIST_SUBST+= PYSITELIB=${PYSITELIB} | | 30 | PLIST_SUBST+= PYSITELIB=${PYSITELIB} |
30 | | | 31 | |
31 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | | 32 | PYTHON_VERSIONS_INCOMPATIBLE= 27 |