comms/svxlink: limit USES=tcl:86

While here, consolidate cmake args in OPTIONS and use USE_GNOME=libsigc++20
This commit is contained in:
Charlie Li 2025-01-08 19:59:39 -05:00
parent 0db73cf95a
commit 2414cbd02b
No known key found for this signature in database
GPG key ID: 678F936058415CCA

View file

@ -16,15 +16,16 @@ LIB_DEPENDS?= libcurl.so:ftp/curl \
libopus.so:audio/opus \
libpopt.so:devel/popt \
librtlsdr.so:comms/rtl-sdr \
libsigc-2.0.so:devel/libsigc++20 \
libspeex.so:audio/speex
BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto
USES+= cmake:noninja compiler:c++11-lang groff pkgconfig tcl
USES+= cmake:noninja compiler:c++11-lang gnome groff pkgconfig tcl:86
USE_GITHUB= yes
GH_ACCOUNT= sm0svx
GH_PROJECT= svxlink
USE_GNOME= libsigc++20
CMAKE_SOURCE_PATH= ${WRKSRC}/src
CMAKE_ARGS+= -DLOCAL_STATE_DIR=/var \
-DLOCALBASE:STRING="${LOCALBASE}" \
@ -47,14 +48,12 @@ OPTIONS_DEFAULT= ALSA OSS
OPTIONS_MULTI= SOUND
OPTIONS_MULTI_SOUND= ALSA OSS
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
ALSA_CMAKE_OFF= -DUSE_ALSA:BOOL=OFF
ALSA_CMAKE_ON= -DUSE_ALSA:BOOL=ON
OSS_CMAKE_OFF= -DUSE_OSS:BOOL=OFF
OSS_CMAKE_ON= -DUSE_OSS:BOOL=ON
ALSA_CMAKE_BOOL= USE_ALSA
OSS_CMAKE_BOOL= USE_OSS
.endif
DOXYGEN_IMPLIES= DOCS
DOXYGEN_ALL_TARGET= doc
DOXYGEN_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen:BOOL=TRUE
DOXYGEN_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Doxygen
DOXYGEN_BUILD_DEPENDS= dot:graphics/graphviz \
doxygen:devel/doxygen
OPTIONS_SUB= yes