pkgsrc/devel/meson/Makefile
adam 6c5ccada74 meson: updated to 0.57.1
Release 0.57.0
* Project version can be specified with a file
* Support for reading files at configuration time with the fs module
* meson install --dry-run
* Experimental support for C++ modules in Visual Studio
* Qt6 module
* Unstable Rust module
* Meson test() now accepts protocol : 'rust'
* MSVC/Clang-Cl Argument Changes/Cleanup
* Buildtype remains even if dependent options are changed
* Passing internal dependencies to the compiler object
* unstable_external_project improvements
* gnome.post_install()
* "Edit and continue" (/ZI) is no longer used by default for Visual Studio
* Minimum required Python version updated to 3.6
* Packaging a subproject
* custom_target() and run_target() now accepts an env keyword argument
* summary() accepts external programs or dependencies
* CMake find_package version support
* meson test only rebuilds test dependencies
* The add_*_script methods now accept a File as the first argument
* Unity build with Vala disabled
* New logging format for meson test
* Specify DESTDIR on command line
* Skip install scripts if DESTDIR is set
* Add support for prelinked static libraries
* Rust now has an std option
* Ctrl-C behavior in meson test
* Support added for LLVM's thinLTO
* test() timeout and timeout_multiplier value <= 0
* Knob to control LTO thread
* summary() now uses left alignment for both keys and values
* // is now allowed as a function id for meson rewrite.
* Get keys of configuration data object
2021-02-21 12:45:22 +00:00

46 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.23 2021/02/21 12:45:22 adam Exp $
DISTNAME= meson-0.57.1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=m/meson/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://mesonbuild.com/
COMMENT= Open source build system meant to be fast and user friendly
LICENSE= apache-2.0
CONFLICTS= ${PYPKGPREFIX}-meson-[0-9]*
SUPERSEDES= ${PYPKGPREFIX}-meson-[0-9]*
DEPENDS+= ninja-build>=1.7:../../devel/ninja-build
PYTHON_VERSIONS_INCOMPATIBLE= 27
USE_LANGUAGES= c c++ # c++ for tests
SUBST_CLASSES+= man
SUBST_SED.man+= -e "s,share/man,${PKGMANDIR},"
SUBST_FILES.man+= setup.py
SUBST_STAGE.man= pre-configure
SUBST_MESSAGE.man= Fixing man page installation path.
REPLACE_PYTHON+= ghwt.py
REPLACE_PYTHON+= meson.py
REPLACE_PYTHON+= mesonbuild/rewriter.py
REPLACE_PYTHON+= mesonbuild/cmake/data/run_ctgt.py
REPLACE_PYTHON+= run_*.py
REPLACE_PYTHON+= test\ cases/*/*/*.py
REPLACE_PYTHON+= test\ cases/*/*/*/*.py
REPLACE_PYTHON+= test\ cases/*/*/*/*/*.py
REPLACE_PYTHON+= test\ cases/common/14\ configure\ file/test.py.in
REPLACE_PYTHON+= test\ cases/common/187\ find\ override/subdir/gencodegen.py.in
REPLACE_PYTHON+= test\ cases/common/54\ run\ target/configure.in
REPLACE_PYTHON+= test\ cases/windows/8\ find\ program/test-script
REPLACE_PYTHON+= tools/*.py
do-test:
cd ${WRKSRC} && ${PYTHONBIN} run_tests.py
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"