1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-05-02 11:36:40 -04:00

*/*: convert to cmake:indirect

Convert bunch of ports to USES=cmake:indirect
This commit is contained in:
Max Brazhnikov 2024-04-11 12:14:35 +03:00
parent a310b87d7a
commit 43d9a1336d
25 changed files with 27 additions and 54 deletions
astro/siril
audio/guidoar
cad/sweethome3d
databases/pecl-couchbase
devel
jiri
py-keystone-engine
py-lief
rubygem-aws-crt
tinygo
tomlplusplus
graphics/waffle
java/openjfx14
lang/rust
math/py-z3-solver
multimedia
py-opentimelineio
wlrobs
print/paps
science
PETSc
nwchem
py-dlib
security
tfhe
wazuh-agent
textproc
py-cchardet
uim-qt5
x11/virglrenderer

View file

@ -16,7 +16,6 @@ BROKEN_i386= undefined reference to `__atomic_load' and `__atomic_compare_exchan
BROKEN= requires OpenMP support that is missing on this architecture
.endif
BUILD_DEPENDS= cmake:devel/cmake-core
LIB_DEPENDS= libavformat.so:multimedia/ffmpeg \
libcfitsio.so:astro/cfitsio \
libconfig.so:devel/libconfig \
@ -37,7 +36,7 @@ LIB_DEPENDS= libavformat.so:multimedia/ffmpeg \
libwcs.so:astro/wcslib
LIB_DEPENDS+= libopencv_photo.so:graphics/opencv # for some reason, configure fails without opencv, but executable only links to opencv-core
USES= compiler:c++11-lang desktop-file-utils gettext \
USES= cmake:indirect compiler:c++11-lang desktop-file-utils gettext \
gnome meson pkgconfig jpeg shared-mime-info tar:bz2
USE_GNOME= atk cairo gdkpixbuf2 gtk30 intltool pango

View file

@ -8,9 +8,8 @@ WWW= https://github.com/grame-cncm/guidoar
LICENSE= MPL20
BUILD_DEPENDS= cmake:devel/cmake-core
USES= gmake
USES= cmake:indirect gmake
USE_LDCONFIG= yes
USE_GITHUB= yes

View file

@ -12,9 +12,11 @@ WWW= https://www.sweethome3d.com/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING.TXT
BUILD_DEPENDS= cmake:devel/cmake-core java3d>=0:java/java3d
BUILD_DEPENDS= java3d>=0:java/java3d
RUN_DEPENDS= java3d>=0:java/java3d
USES= cmake:indirect
USE_ANT= yes
USE_JAVA= 8

View file

@ -10,9 +10,7 @@ WWW= https://pecl.php.net/package/couchbase \
LICENSE= APACHE20
BUILD_DEPENDS= cmake:devel/cmake-core
USES= compiler:c++17-lang php:build,pecl
USES= cmake:indirect compiler:c++17-lang php:build,pecl
CONFIGURE_ARGS= COUCHBASE_CMAKE_EXTRA="-DCOUCHBASE_CXX_CLIENT_EMBED_MOZILLA_CA_BUNDLE=OFF"

View file

@ -13,10 +13,9 @@ WWW= https://fuchsia.googlesource.com/jiri
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= cmake:devel/cmake-core
RUN_DEPENDS= git:devel/git
USES= go:modules ninja:build
USES= cmake:indirect go:modules ninja:build
GITHASH= 1eee1043d12d1baabae7f2466cc0b1646395e32c
TIMESTAMP= 2020-08-28T00:00:00.000000

View file

@ -11,9 +11,7 @@ WWW= https://www.keystone-engine.org/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
BUILD_DEPENDS= cmake:devel/cmake-core
USES= pkgconfig python
USES= cmake:indirect pkgconfig python
USE_PYTHON= distutils autoplist
# setup.py loses track of its cwd when it switches over to the CMake build

View file

@ -12,9 +12,8 @@ LICENSE= APACHE20
# Note: cmake is needed to build, but distutils is used directly.
# If USES= cmake is set, the build will not work.
BUILD_DEPENDS= cmake:devel/cmake-core
USES= python zip
USES= cmake:indirect python zip
USE_PYTHON= concurrent distutils
PY_VER= ${PYTHON_VER:S/.//}

View file

@ -10,10 +10,9 @@ WWW= https://github.com/awslabs/aws-crt-ruby
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= cmake:devel/cmake-core
RUN_DEPENDS= rubygem-ffi>=0:devel/rubygem-ffi
USES= gem python:env shebangfix
USES= cmake:indirect gem python:env shebangfix
SHEBANG_GLOB= *.py *.sh

View file

@ -11,10 +11,9 @@ WWW= https://tinygo.org/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= cmake:devel/cmake-core
TEST_DEPENDS= qemu-system-arm:emulators/qemu
USES= gmake go:modules,run ninja:build python:build
USES= cmake:indirect gmake go:modules,run ninja:build python:build
USE_GITHUB= yes
GH_ACCOUNT= tinygo-org

View file

@ -10,10 +10,9 @@ WWW= https://marzer.github.io/tomlplusplus/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= cmake:devel/cmake-core
TEST_DEPENDS= catch>0:devel/catch
USES= compiler:c++17-lang meson pkgconfig
USES= cmake:indirect compiler:c++17-lang meson pkgconfig
USE_GITHUB= yes
USE_LDCONFIG= yes
GH_ACCOUNT= marzer

View file

@ -16,9 +16,7 @@ WWW= https://www.waffle-gl.org/
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= cmake:devel/cmake-core
USES= compiler:c11 gl localbase meson pkgconfig python:build
USES= cmake:indirect compiler:c11 gl localbase meson pkgconfig python:build
USE_GITLAB= yes
GL_SITE= https://gitlab.freedesktop.org
GL_ACCOUNT= mesa

View file

@ -33,7 +33,7 @@ LIB_DEPENDS= libasound.so:audio/alsa-lib \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
USES= gettext-runtime gl gnome jpeg localbase:ldflags ninja pkgconfig \
USES= cmake:indirect gettext-runtime gl gnome jpeg localbase:ldflags ninja pkgconfig \
sqlite xorg
USE_GITHUB= yes
@ -72,7 +72,6 @@ TEST_VARS= AWT_TEST=true FULL_TEST=true
# Gradle calls CMake during the build
WEBKIT_IMPLIES= MEDIA
WEBKIT_BUILD_DEPENDS= cmake:devel/cmake-core
WEBKIT_LIB_DEPENDS= libicui18n.so:devel/icu
WEBKIT_USES= bison gmake gperf perl5 python:build ruby:build
WEBKIT_USE= GNOME=libxslt,libxml2 \

View file

@ -26,10 +26,9 @@ ONLY_FOR_ARCHS?= aarch64 amd64 armv7 i386 powerpc64 powerpc64le powerpc \
riscv64
ONLY_FOR_ARCHS_REASON?= requires prebuilt bootstrap compiler
BUILD_DEPENDS= cmake:devel/cmake-core
LIB_DEPENDS= libcurl.so:ftp/curl
USES= cpe ninja:build pkgconfig python:build ssl tar:xz
USES= cmake:indirect cpe ninja:build pkgconfig python:build ssl tar:xz
CPE_VENDOR= rust-lang

View file

@ -15,9 +15,7 @@ LICENSE_FILE= ${WRKSRC}/../../../LICENSE.txt
BROKEN_armv7= fails to compile on 13.1 and 14: clang crashes, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268009
BROKEN_riscv64= fails to configure, see https://github.com/Z3Prover/z3/issues/6183
BUILD_DEPENDS= cmake:devel/cmake-core
USES= compiler:c++11-lang python
USES= cmake:indirect compiler:c++11-lang python
USE_PYTHON= distutils autoplist
USE_GITHUB= yes

View file

@ -11,11 +11,10 @@ WWW= https://github.com/PixarAnimationStudios/OpenTimelineIO
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= cmake:devel/cmake-core
LIB_DEPENDS= libImath-3_1.so:math/Imath
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR}
USES= compiler:c++14-lang python
USES= cmake:indirect compiler:c++14-lang python
USE_PYTHON= distutils concurrent # autoplist is broken, see https://github.com/PixarAnimationStudios/OpenTimelineIO/issues/1205
USE_GITHUB= yes

View file

@ -12,11 +12,10 @@ WWW= https://hg.sr.ht/~scoopta/wlrobs
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING.md
BUILD_DEPENDS= cmake:devel/cmake-core
LIB_DEPENDS= libwayland-client.so:graphics/wayland \
libobs.so:multimedia/obs-studio
USES= compiler:c11 meson pkgconfig
USES= cmake:indirect compiler:c11 meson pkgconfig
DATADIR= ${PREFIX}/lib/obs-plugins
PORTDATA= lib${PORTNAME}.so

View file

@ -11,10 +11,9 @@ WWW= https://paps.sourceforge.net/
LICENSE= LGPL20
LICENSE_FILE= ${WRKSRC}/COPYING.LIB
BUILD_DEPENDS= cmake:devel/cmake-core
LIB_DEPENDS= libfmt.so:devel/libfmt
USES= compiler:c++17-lang meson gnome pkgconfig python:env shebangfix
USES= cmake:indirect compiler:c++17-lang meson gnome pkgconfig python:env shebangfix
USE_CXXSTD= c++17
USE_GITHUB= yes
GH_ACCOUNT= dov

View file

@ -11,11 +11,10 @@ WWW= https://www.mcs.anl.gov/petsc
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= cmake:devel/cmake-core
LIB_DEPENDS= libblis.so:math/blis \
libmpich.so:net/mpich
USES= blaslapack fortran gmake python shebangfix xorg
USES= blaslapack cmake:indirect fortran gmake python shebangfix xorg
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-shared-libraries=1 \
--with-mpi-dir=${LOCALBASE} \

View file

@ -30,7 +30,7 @@ LIB_DEPENDS= libblas.so:math/blas \
RUN_DEPENDS= nwchem-data>0:science/nwchem-data
TEST_DEPENDS= bash:shells/bash
USES= fortran gettext-runtime gmake perl5 pkgconfig
USES= cmake:indirect fortran gettext-runtime gmake perl5 pkgconfig
USE_PERL5= build
USE_GITHUB= yes
@ -78,7 +78,6 @@ OPENMPI_RUN_DEPENDS= openmpi>0:net/openmpi
OPENMPI_VARS= CONFLICTS_BUILD=mpich
LIBXC_DESC= Use libxc
LIBXC_BUILD_DEPENDS= cmake:devel/cmake-core
LIBXC_MAKE_ENV= USE_LIBXC=Y
PYTHON_DESC= Enable Python syntax in input files

View file

@ -11,11 +11,10 @@ WWW= http://dlib.net
LICENSE= BSL
LICENSE_FILE= ${WRKSRC}/dlib/LICENSE.txt
BUILD_DEPENDS= cmake:devel/cmake-core
LIB_DEPENDS= ${PY_BOOST} \
libpng.so:graphics/png
USES= compiler:c++11-lang pkgconfig python shebangfix
USES= cmake:indirect compiler:c++11-lang pkgconfig python shebangfix
USE_PYTHON= autoplist distutils
SHEBANG_FILES= python_examples/*.py

View file

@ -13,11 +13,10 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64 # because of arch-specific assembly
BUILD_DEPENDS= cmake:devel/cmake-core
TEST_DEPENDS= fftw3>0:math/fftw3 \
googletest>0:devel/googletest
USES= compiler:c++11-lang gmake localbase:ldflags
USES= cmake:indirect compiler:c++11-lang gmake localbase:ldflags
USE_GITHUB= yes
USE_LDCONFIG= yes

View file

@ -15,10 +15,9 @@ WWW= https://github.com/wazuh/wazuh
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= cmake:devel/cmake-core
LIB_DEPENDS= libnghttp2.so:www/libnghttp2
USES= cpe gmake perl5 readline shebangfix sqlite:3 uidfix
USES= cmake:indirect cpe gmake perl5 readline shebangfix sqlite:3 uidfix
USE_GITHUB= yes
GH_TUPLE= alonsobsd:wazuh-freebsd:${WAZUH_EXTRAFILE_TAGNAME}:wazuh

View file

@ -13,9 +13,7 @@ LICENSE= GPLv2 LGPL21 MPL11
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= cmake:devel/cmake-core
USES= python
USES= cmake:indirect python
USE_PYTHON= autoplist concurrent distutils
post-install:

View file

@ -2,10 +2,9 @@ PKGNAMESUFFIX= -qt5
COMMENT= Qt5 modules of uim input method
BUILD_DEPENDS= cmake:devel/cmake-core
LIB_DEPENDS= libuim.so:textproc/uim
USES= compiler:c++11-lang gl iconv kde:5 libtool qt:5
USES= cmake:indirect compiler:c++11-lang gl iconv kde:5 libtool qt:5
USE_GL= gl
USE_KDE= plasma-framework \
ecm:build

View file

@ -12,11 +12,10 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_riscv64= fails to build: ../src/gallium/include/pipe/p_config.h:171:2: Unknown Endianness
BUILD_DEPENDS= cmake:devel/cmake-core
LIB_DEPENDS= libdrm.so:graphics/libdrm \
libepoxy.so:graphics/libepoxy
USES= compiler:c++11-lang cpe gl meson pkgconfig python
USES= cmake:indirect compiler:c++11-lang cpe gl meson pkgconfig python
CPE_VENDOR= ${PORTNAME}_project
USE_GITLAB= yes
USE_GL= gbm