mirror of
https://git.freebsd.org/ports.git
synced 2025-07-16 16:59:17 -04:00
Mk/Uses/ninja.mk: Add support for devel/samurai (D29353)
Samurai is a Ninja-compatible build tool with fewer dependencies than Ninja. Hook it to the framework via a new NINJA_DEFAULT. This also adds %p to NINJA_STATUS to make Ninja or Samurai print the percentage of completed jobs to make it easier to eyeball how much of the build is done. PR: 254678 Exp-run by: antoine
This commit is contained in:
parent
18f78deb53
commit
a91d65363f
16 changed files with 85 additions and 43 deletions
|
@ -2,26 +2,77 @@
|
||||||
#
|
#
|
||||||
# Feature: ninja
|
# Feature: ninja
|
||||||
# Usage: USES=ninja
|
# Usage: USES=ninja
|
||||||
|
# Valid ARGS: build, make (default), run
|
||||||
|
#
|
||||||
|
# build add a build dependency on ninja
|
||||||
|
# make use ninja for the build instead of make, implies "build"
|
||||||
|
# run add a run dependency on ninja
|
||||||
#
|
#
|
||||||
# MAINTAINER: portmgr@FreeBSD.org
|
# MAINTAINER: portmgr@FreeBSD.org
|
||||||
|
|
||||||
.if !defined(_INCLUDE_USES_NINJA_MK)
|
.if !defined(_INCLUDE_USES_NINJA_MK)
|
||||||
_INCLUDE_USES_NINJA_MK= yes
|
_INCLUDE_USES_NINJA_MK= yes
|
||||||
|
|
||||||
.if !empty(ninja_ARGS)
|
_valid_ARGS= build make run
|
||||||
IGNORE= Incorrect 'USES+= ninja:${ninja_ARGS}' ninja takes no arguments
|
|
||||||
|
.for _arg in ${ninja_ARGS}
|
||||||
|
. if empty(_valid_ARGS:M${_arg})
|
||||||
|
IGNORE= 'USES+= ninja:${ninja_ARGS}' usage: argument [${_arg}] is not recognized
|
||||||
|
. endif
|
||||||
|
.endfor
|
||||||
|
|
||||||
|
.if empty(ninja_ARGS)
|
||||||
|
ninja_ARGS+= make
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if ${ninja_ARGS:Mmake}
|
||||||
|
ninja_ARGS+= build
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if ${NINJA_DEFAULT} == ninja
|
||||||
|
NINJA_CMD= ninja
|
||||||
|
_NINJA_PORT= devel/ninja
|
||||||
|
.elif ${NINJA_DEFAULT} == samurai
|
||||||
|
NINJA_CMD= samu
|
||||||
|
_NINJA_PORT= devel/samurai
|
||||||
|
MAKE_ENV+= SAMUFLAGS="-v -j${MAKE_JOBS_NUMBER}"
|
||||||
|
. if ${ninja_ARGS:Mbuild} && !${BINARY_ALIAS:U:Mninja=*}
|
||||||
|
# Cmake and Meson have native support for Samurai and detect and
|
||||||
|
# use it when Ninja is not available in the build environment. The
|
||||||
|
# alias is needed for other ports which call Ninja directly and do
|
||||||
|
# not fall back to Samurai. There should be no harm in providing it
|
||||||
|
# generally.
|
||||||
|
BINARY_ALIAS+= ninja=samu
|
||||||
|
. endif
|
||||||
|
.else
|
||||||
|
IGNORE= invalid DEFAULT_VERSIONS+=ninja=${NINJA_DEFAULT}
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if ${ninja_ARGS:Mbuild}
|
||||||
|
BUILD_DEPENDS+= ${NINJA_CMD}:${_NINJA_PORT}
|
||||||
|
# Humanize build log and include percentage of completed jobs %p in it.
|
||||||
|
# See samu(1) or the Ninja manual.
|
||||||
|
MAKE_ENV+= NINJA_STATUS="[%p %s/%t] "
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if ${ninja_ARGS:Mmake}
|
||||||
|
. if ${NINJA_DEFAULT} == ninja
|
||||||
|
# samu does not support GNU-style args, so we cannot just append
|
||||||
|
# -v last. samu gets this via SAMUFLAGS above but ninja does not
|
||||||
|
# support an equivalent environment variable.
|
||||||
MAKE_ARGS+= -v
|
MAKE_ARGS+= -v
|
||||||
|
. endif
|
||||||
BUILD_DEPENDS+= ninja:devel/ninja
|
|
||||||
|
|
||||||
CMAKE_ARGS+= -GNinja
|
CMAKE_ARGS+= -GNinja
|
||||||
MAKEFILE=
|
MAKEFILE=
|
||||||
MAKE_CMD= ninja
|
MAKE_CMD= ${NINJA_CMD}
|
||||||
MAKE_FLAGS=
|
MAKE_FLAGS=
|
||||||
# Set a minimal job of 1
|
# Set a minimal job of 1
|
||||||
_MAKE_JOBS= -j${MAKE_JOBS_NUMBER}
|
_MAKE_JOBS= -j${MAKE_JOBS_NUMBER}
|
||||||
_DESTDIR_VIA_ENV= yes
|
_DESTDIR_VIA_ENV= yes
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if ${ninja_ARGS:Mrun}
|
||||||
|
RUN_DEPENDS+= ${NINJA_CMD}:${_NINJA_PORT}
|
||||||
|
.endif
|
||||||
|
|
||||||
.endif
|
.endif
|
||||||
|
|
|
@ -18,7 +18,7 @@ _INCLUDE_BSD_DEFAULT_VERSIONS_MK= yes
|
||||||
LOCALBASE?= /usr/local
|
LOCALBASE?= /usr/local
|
||||||
|
|
||||||
.for lang in APACHE BDB COROSYNC EMACS FIREBIRD FORTRAN FPC GCC GHOSTSCRIPT \
|
.for lang in APACHE BDB COROSYNC EMACS FIREBIRD FORTRAN FPC GCC GHOSTSCRIPT \
|
||||||
IMAGEMAGICK JAVA LAZARUS LIBRSVG2 LINUX LLVM LUA MYSQL PERL5 \
|
IMAGEMAGICK JAVA LAZARUS LIBRSVG2 LINUX LLVM LUA MYSQL NINJA PERL5 \
|
||||||
PGSQL PHP PYTHON PYTHON2 PYTHON3 RUBY RUST SAMBA SSL TCLTK VARNISH
|
PGSQL PHP PYTHON PYTHON2 PYTHON3 RUBY RUST SAMBA SSL TCLTK VARNISH
|
||||||
.if defined(${lang}_DEFAULT)
|
.if defined(${lang}_DEFAULT)
|
||||||
ERROR+= "The variable ${lang}_DEFAULT is set and it should only be defined through DEFAULT_VERSIONS+=${lang:tl}=${${lang}_DEFAULT} in /etc/make.conf"
|
ERROR+= "The variable ${lang}_DEFAULT is set and it should only be defined through DEFAULT_VERSIONS+=${lang:tl}=${${lang}_DEFAULT} in /etc/make.conf"
|
||||||
|
@ -81,6 +81,8 @@ LUA_DEFAULT?= 5.2
|
||||||
MONO_DEFAULT= 5.10
|
MONO_DEFAULT= 5.10
|
||||||
# Possible values: 5.5, 5.6, 5.7, 8.0, 10.3m, 10.4m, 10.5m, 5.5p, 5.6p, 5.7p, 5.6w, 5.7w
|
# Possible values: 5.5, 5.6, 5.7, 8.0, 10.3m, 10.4m, 10.5m, 5.5p, 5.6p, 5.7p, 5.6w, 5.7w
|
||||||
MYSQL_DEFAULT?= 5.7
|
MYSQL_DEFAULT?= 5.7
|
||||||
|
# Possible values: ninja, samurai
|
||||||
|
NINJA_DEFAULT?= ninja
|
||||||
# Possible values: 5.28, 5.30, 5.32, devel
|
# Possible values: 5.28, 5.30, 5.32, devel
|
||||||
.if !exists(${LOCALBASE}/bin/perl) || (!defined(_PORTS_ENV_CHECK) && \
|
.if !exists(${LOCALBASE}/bin/perl) || (!defined(_PORTS_ENV_CHECK) && \
|
||||||
defined(PACKAGE_BUILDING))
|
defined(PACKAGE_BUILDING))
|
||||||
|
|
|
@ -11,11 +11,10 @@ COMMENT= Tool for multi-repo development
|
||||||
LICENSE= BSD3CLAUSE
|
LICENSE= BSD3CLAUSE
|
||||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||||
|
|
||||||
BUILD_DEPENDS= cmake:devel/cmake \
|
BUILD_DEPENDS= cmake:devel/cmake
|
||||||
ninja:devel/ninja
|
|
||||||
RUN_DEPENDS= git:devel/git
|
RUN_DEPENDS= git:devel/git
|
||||||
|
|
||||||
USES= go:modules
|
USES= go:modules ninja:build
|
||||||
|
|
||||||
GITHASH= 1eee1043d12d1baabae7f2466cc0b1646395e32c
|
GITHASH= 1eee1043d12d1baabae7f2466cc0b1646395e32c
|
||||||
TIMESTAMP= 2020-08-28T00:00:00.000000
|
TIMESTAMP= 2020-08-28T00:00:00.000000
|
||||||
|
|
|
@ -11,10 +11,9 @@ COMMENT= High performance build system
|
||||||
LICENSE= APACHE20
|
LICENSE= APACHE20
|
||||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||||
|
|
||||||
RUN_DEPENDS= ninja:devel/ninja
|
|
||||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist@${PY_FLAVOR}
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist@${PY_FLAVOR}
|
||||||
|
|
||||||
USES= python:3.6+ shebangfix
|
USES= ninja:run python:3.6+ shebangfix
|
||||||
USE_PYTHON= autoplist distutils noflavors
|
USE_PYTHON= autoplist distutils noflavors
|
||||||
SHEBANG_FILES= mesonbuild/rewriter.py \
|
SHEBANG_FILES= mesonbuild/rewriter.py \
|
||||||
mesonbuild/scripts/cmake_run_ctgt.py
|
mesonbuild/scripts/cmake_run_ctgt.py
|
||||||
|
|
|
@ -9,11 +9,10 @@ COMMENT= Go compiler for small places
|
||||||
LICENSE= BSD3CLAUSE
|
LICENSE= BSD3CLAUSE
|
||||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||||
|
|
||||||
BUILD_DEPENDS= cmake:devel/cmake \
|
BUILD_DEPENDS= cmake:devel/cmake
|
||||||
ninja:devel/ninja
|
|
||||||
TEST_DEPENDS= qemu-system-arm:emulators/qemu
|
TEST_DEPENDS= qemu-system-arm:emulators/qemu
|
||||||
|
|
||||||
USES= gmake go:modules,run python:build
|
USES= gmake go:modules,run ninja:build python:build
|
||||||
|
|
||||||
USE_GITHUB= yes
|
USE_GITHUB= yes
|
||||||
GH_ACCOUNT= tinygo-org
|
GH_ACCOUNT= tinygo-org
|
||||||
|
|
|
@ -14,13 +14,12 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||||
|
|
||||||
BUILD_DEPENDS= cmake:devel/cmake \
|
BUILD_DEPENDS= cmake:devel/cmake \
|
||||||
h3>=${PORTVERSION:R}:graphics/h3 \
|
h3>=${PORTVERSION:R}:graphics/h3 \
|
||||||
ninja:devel/ninja \
|
|
||||||
${PYTHON_PKGNAMEPREFIX}scikit-build>=0:devel/py-scikit-build@${PY_FLAVOR}
|
${PYTHON_PKGNAMEPREFIX}scikit-build>=0:devel/py-scikit-build@${PY_FLAVOR}
|
||||||
LIB_DEPENDS= libh3.so:graphics/h3
|
LIB_DEPENDS= libh3.so:graphics/h3
|
||||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
|
||||||
${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
|
${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
|
||||||
|
|
||||||
USES= localbase:ldflags python:3.6+
|
USES= localbase:ldflags ninja:build python:3.6+
|
||||||
USE_PYTHON= autoplist concurrent cython distutils
|
USE_PYTHON= autoplist concurrent cython distutils
|
||||||
|
|
||||||
CFLAGS+= -I${LOCALBASE}/include/h3
|
CFLAGS+= -I${LOCALBASE}/include/h3
|
||||||
|
|
|
@ -9,8 +9,7 @@ CATEGORIES= japanese
|
||||||
MAINTAINER= hrs@FreeBSD.org
|
MAINTAINER= hrs@FreeBSD.org
|
||||||
COMMENT?= Mozc Japanese Input Method, Server
|
COMMENT?= Mozc Japanese Input Method, Server
|
||||||
|
|
||||||
BUILD_DEPENDS= ninja:devel/ninja \
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gyp>=20200512:devel/py-gyp@${PY_FLAVOR}
|
||||||
${PYTHON_PKGNAMEPREFIX}gyp>=20200512:devel/py-gyp@${PY_FLAVOR}
|
|
||||||
EXTRACT_DEPENDS=${PYTHON_CMD}:${PYTHON_PORTSDIR}
|
EXTRACT_DEPENDS=${PYTHON_CMD}:${PYTHON_PORTSDIR}
|
||||||
LIB_DEPENDS= libprotobuf.so:devel/protobuf \
|
LIB_DEPENDS= libprotobuf.so:devel/protobuf \
|
||||||
libzinnia.so:japanese/zinnia
|
libzinnia.so:japanese/zinnia
|
||||||
|
@ -25,8 +24,8 @@ USE_GITHUB= yes
|
||||||
GH_ACCOUNT= hrs-allbsd
|
GH_ACCOUNT= hrs-allbsd
|
||||||
GH_TUPLE= hiroyuki-komatsu:japanese-usage-dictionary:e5b3425:udic
|
GH_TUPLE= hiroyuki-komatsu:japanese-usage-dictionary:e5b3425:udic
|
||||||
|
|
||||||
USES= compiler:c++11-lang pkgconfig gmake \
|
USES= compiler:c++11-lang gmake ninja:build pkgconfig \
|
||||||
tar:bzip2 python:3.5+,build shebangfix
|
python:3.5+,build shebangfix tar:bzip2
|
||||||
SHEBANG_FILES= src/build_mozc.py
|
SHEBANG_FILES= src/build_mozc.py
|
||||||
BUILD_WRKSRC= ${WRKSRC}/src
|
BUILD_WRKSRC= ${WRKSRC}/src
|
||||||
|
|
||||||
|
|
|
@ -79,7 +79,7 @@ MONODEV_CONFIGURE_ON= --enable-icall-symbol-map --enable-icall-export --with-cra
|
||||||
|
|
||||||
NINJA_DESC= Use ninja to build wherever possible
|
NINJA_DESC= Use ninja to build wherever possible
|
||||||
NINJA_CONFIGURE_ON= ninja
|
NINJA_CONFIGURE_ON= ninja
|
||||||
NINJA_BUILD_DEPENDS= ninja>0:devel/ninja
|
NINJA_USES= ninja:build
|
||||||
|
|
||||||
NLS_DESC= NLS Localization Support
|
NLS_DESC= NLS Localization Support
|
||||||
NLS_CONFIGURE_OFF= --disable-nls
|
NLS_CONFIGURE_OFF= --disable-nls
|
||||||
|
|
|
@ -29,7 +29,6 @@ ONLY_FOR_ARCHS_REASON= untested on other archs
|
||||||
|
|
||||||
BUILD_DEPENDS= cmake:devel/cmake \
|
BUILD_DEPENDS= cmake:devel/cmake \
|
||||||
gmake:devel/gmake \
|
gmake:devel/gmake \
|
||||||
ninja:devel/ninja \
|
|
||||||
rust>=${PORTVERSION}:lang/rust
|
rust>=${PORTVERSION}:lang/rust
|
||||||
|
|
||||||
FLAVORS= aarch64 amd64 armv6 armv7 i386 powerpc64_elfv1 powerpc64_elfv2 powerpc64le
|
FLAVORS= aarch64 amd64 armv6 armv7 i386 powerpc64_elfv1 powerpc64_elfv2 powerpc64le
|
||||||
|
@ -46,7 +45,7 @@ powerpc64_elfv1_BUILD_DEPENDS= powerpc64-gcc9>0:devel/freebsd-gcc9@powerpc64
|
||||||
powerpc64_elfv2_PKGNAMEPREFIX= powerpc64-elfv2-
|
powerpc64_elfv2_PKGNAMEPREFIX= powerpc64-elfv2-
|
||||||
powerpc64le_PKGNAMEPREFIX= powerpc64le-
|
powerpc64le_PKGNAMEPREFIX= powerpc64le-
|
||||||
|
|
||||||
USES= perl5 python:3.6+,build tar:xz
|
USES= ninja:build perl5 python:3.6+,build tar:xz
|
||||||
.if ${FLAVOR} == powerpc64_elfv1
|
.if ${FLAVOR} == powerpc64_elfv1
|
||||||
USE_GCC= 9:build
|
USE_GCC= 9:build
|
||||||
.endif
|
.endif
|
||||||
|
|
|
@ -28,11 +28,10 @@ IGNORE_FreeBSD_11_powerpc64= is missing a bootstrap for FreeBSD 11.x powerpc64
|
||||||
ONLY_FOR_ARCHS?= aarch64 amd64 armv6 armv7 i386 powerpc64 powerpc64le
|
ONLY_FOR_ARCHS?= aarch64 amd64 armv6 armv7 i386 powerpc64 powerpc64le
|
||||||
ONLY_FOR_ARCHS_REASON?= requires prebuilt bootstrap compiler
|
ONLY_FOR_ARCHS_REASON?= requires prebuilt bootstrap compiler
|
||||||
|
|
||||||
BUILD_DEPENDS= cmake:devel/cmake \
|
BUILD_DEPENDS= cmake:devel/cmake
|
||||||
ninja:devel/ninja
|
|
||||||
LIB_DEPENDS= libcurl.so:ftp/curl
|
LIB_DEPENDS= libcurl.so:ftp/curl
|
||||||
|
|
||||||
USES= pkgconfig python:3.6+,build ssl tar:xz
|
USES= ninja:build pkgconfig python:3.6+,build ssl tar:xz
|
||||||
|
|
||||||
MAKE_ENV= DESTDIR=${STAGEDIR} \
|
MAKE_ENV= DESTDIR=${STAGEDIR} \
|
||||||
OPENSSL_DIR="${OPENSSLBASE}" \
|
OPENSSL_DIR="${OPENSSLBASE}" \
|
||||||
|
|
|
@ -12,13 +12,12 @@ LICENSE= BSD3CLAUSE
|
||||||
|
|
||||||
BUILD_DEPENDS= ${PYNUMPY} \
|
BUILD_DEPENDS= ${PYNUMPY} \
|
||||||
${PYTHON_PKGNAMEPREFIX}scikit-build>0:devel/py-scikit-build@${PY_FLAVOR} \
|
${PYTHON_PKGNAMEPREFIX}scikit-build>0:devel/py-scikit-build@${PY_FLAVOR} \
|
||||||
${LOCALBASE}/bin/cmake:devel/cmake \
|
cmake:devel/cmake
|
||||||
${LOCALBASE}/bin/ninja:devel/ninja
|
|
||||||
LIB_DEPENDS= libpdal_base.so:math/pdal
|
LIB_DEPENDS= libpdal_base.so:math/pdal
|
||||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \
|
||||||
${PYNUMPY}
|
${PYNUMPY}
|
||||||
|
|
||||||
USES= compiler:c++11-lang python:3.6+
|
USES= compiler:c++11-lang ninja:build python:3.6+
|
||||||
USE_PYTHON= autoplist cython distutils
|
USE_PYTHON= autoplist cython distutils
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
|
|
|
@ -142,7 +142,6 @@ BUILD_DEPENDS= bash:shells/bash \
|
||||||
pari-nftables>0:math/pari_nftables \
|
pari-nftables>0:math/pari_nftables \
|
||||||
pari-seadata>0:math/pari_seadata\
|
pari-seadata>0:math/pari_seadata\
|
||||||
QuadraticSieve:math/flintqs \
|
QuadraticSieve:math/flintqs \
|
||||||
ninja:devel/ninja \
|
|
||||||
gpatch:devel/patch \
|
gpatch:devel/patch \
|
||||||
rubiks>0:math/rubiks \
|
rubiks>0:math/rubiks \
|
||||||
sympow:math/sympow \
|
sympow:math/sympow \
|
||||||
|
@ -339,8 +338,9 @@ RUN_DEPENDS= bash:shells/bash \
|
||||||
pixz:archivers/pixz
|
pixz:archivers/pixz
|
||||||
|
|
||||||
USES= autoreconf blaslapack:openblas compiler:c++11-lib fortran \
|
USES= autoreconf blaslapack:openblas compiler:c++11-lib fortran \
|
||||||
gettext gmake gnome iconv jpeg libtool localbase ncurses perl5 \
|
gettext gmake gnome iconv jpeg libtool localbase ncurses \
|
||||||
pkgconfig python:3.7+ readline shebangfix sqlite tk xorg
|
ninja:build perl5 pkgconfig python:3.7+ readline shebangfix \
|
||||||
|
sqlite tk xorg
|
||||||
USE_TEX= latex:build pdftex:build tex:build
|
USE_TEX= latex:build pdftex:build tex:build
|
||||||
USE_XORG= x11 xext xscrnsaver
|
USE_XORG= x11 xext xscrnsaver
|
||||||
USE_GNOME= cairo glib20 pango
|
USE_GNOME= cairo glib20 pango
|
||||||
|
|
|
@ -37,8 +37,8 @@ LIB_DEPENDS= libdbus-1.so:devel/dbus \
|
||||||
libopus.so:audio/opus \
|
libopus.so:audio/opus \
|
||||||
libjansson.so:devel/jansson
|
libjansson.so:devel/jansson
|
||||||
|
|
||||||
USES= autoreconf:build compiler:c11 gmake iconv \
|
USES= autoreconf:build compiler:c11 gmake iconv libtool:build \
|
||||||
libtool:build localbase:ldflags pkgconfig python:3.6+,build
|
localbase:ldflags ninja:build pkgconfig python:3.6+,build
|
||||||
|
|
||||||
CONTRIB_FILES= fdk-aac-2.0.1.tar.gz \
|
CONTRIB_FILES= fdk-aac-2.0.1.tar.gz \
|
||||||
ffmpeg-4.2.3.tar.bz2 \
|
ffmpeg-4.2.3.tar.bz2 \
|
||||||
|
|
|
@ -8,9 +8,7 @@ COMMENT= USB floppy disk interface for reading and writing non-PC disk formats
|
||||||
LICENSE= MIT
|
LICENSE= MIT
|
||||||
LICENSE_FILE= ${WRKSRC}/COPYING.md
|
LICENSE_FILE= ${WRKSRC}/COPYING.md
|
||||||
|
|
||||||
BUILD_DEPENDS= ninja:devel/ninja
|
USES= compiler:gcc-c++11-lib gmake ninja:build pkgconfig sqlite
|
||||||
|
|
||||||
USES= pkgconfig gmake compiler:gcc-c++11-lib sqlite
|
|
||||||
|
|
||||||
USE_GITHUB= yes
|
USE_GITHUB= yes
|
||||||
GH_ACCOUNT= davidgiven
|
GH_ACCOUNT= davidgiven
|
||||||
|
|
|
@ -15,7 +15,7 @@ BUILD_DEPENDS= binutils>0:devel/binutils \
|
||||||
gn:devel/gn \
|
gn:devel/gn \
|
||||||
libunwind>0:devel/libunwind
|
libunwind>0:devel/libunwind
|
||||||
|
|
||||||
USES= cargo ninja pkgconfig:build python:3.6+,build
|
USES= cargo ninja:build pkgconfig:build python:3.6+,build
|
||||||
|
|
||||||
USE_GITHUB= yes
|
USE_GITHUB= yes
|
||||||
GH_ACCOUNT= denoland
|
GH_ACCOUNT= denoland
|
||||||
|
@ -27,7 +27,7 @@ RUSTY_VERS= 0.21.0
|
||||||
|
|
||||||
CARGO_ENV+= CLANG_BASE_PATH=/usr \
|
CARGO_ENV+= CLANG_BASE_PATH=/usr \
|
||||||
GN=${PREFIX}/bin/gn \
|
GN=${PREFIX}/bin/gn \
|
||||||
NINJA=${PREFIX}/bin/ninja \
|
NINJA=${NINJA_CMD} \
|
||||||
V8_FROM_SOURCE=1
|
V8_FROM_SOURCE=1
|
||||||
RUSTFLAGS+= -C link-arg=-fuse-ld=lld
|
RUSTFLAGS+= -C link-arg=-fuse-ld=lld
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,6 @@ MAINTAINER= kde@FreeBSD.org
|
||||||
COMMENT= Qt 5 library to render web content
|
COMMENT= Qt 5 library to render web content
|
||||||
|
|
||||||
BUILD_DEPENDS= bison:devel/bison \
|
BUILD_DEPENDS= bison:devel/bison \
|
||||||
ninja:devel/ninja \
|
|
||||||
yasm:devel/yasm \
|
yasm:devel/yasm \
|
||||||
${LOCALBASE}/include/linux/input.h:devel/evdev-proto \
|
${LOCALBASE}/include/linux/input.h:devel/evdev-proto \
|
||||||
${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat
|
${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat
|
||||||
|
@ -72,7 +71,7 @@ SNDIO_VARS_OFF= QMAKE_CONFIGURE_ARGS+=-no-sndio
|
||||||
# We pass `norecursive' to USES=qmake because src/plugins/plugins.pro checks
|
# We pass `norecursive' to USES=qmake because src/plugins/plugins.pro checks
|
||||||
# whether webenginewidgets is available, which fails when qmake processes all
|
# whether webenginewidgets is available, which fails when qmake processes all
|
||||||
# .pro files at once.
|
# .pro files at once.
|
||||||
USES= gl gnome gperf jpeg python:2.7,build pkgconfig \
|
USES= gl gnome gperf jpeg ninja:build pkgconfig python:2.7,build \
|
||||||
qmake:norecursive,outsource qt-dist:5,webengine shebangfix xorg
|
qmake:norecursive,outsource qt-dist:5,webengine shebangfix xorg
|
||||||
USE_GL= gl
|
USE_GL= gl
|
||||||
USE_GNOME= glib20 libxml2 libxslt
|
USE_GNOME= glib20 libxml2 libxslt
|
||||||
|
|
Loading…
Add table
Reference in a new issue