freebsd-ports/audio/gogglesmm/Makefile
2022-11-14 12:13:14 -05:00

111 lines
2.8 KiB
Makefile

PORTNAME= gogglesmm
PORTVERSION= 1.2.2
PORTREVISION= 10
CATEGORIES= audio
MAINTAINER= jhale@FreeBSD.org
COMMENT= Music collection manager and player
WWW= https://gogglesmm.github.io/
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_powerpc64= fails to compile: ap_mad.cpp:358:2: \#error fixme
LIB_DEPENDS= libtag.so:audio/taglib \
libexpat.so:textproc/expat2 \
libFOX-1.7.so:x11-toolkits/fox17
USES= cmake compiler:c++11-lib desktop-file-utils gnome \
localbase:ldflags pkgconfig sqlite xorg
USE_GITHUB= yes
USE_XORG= ice sm x11
CMAKE_OFF= WITH_CFOX WITH_IMPORT
PORTDOCS= AUTHORS ChangeLog README
OPTIONS_DEFINE= A52 ALSA DBUS DCA DOCS FAAD FLAC MAD NLS \
OGG OPENGL OPUS PULSEAUDIO SNDIO ZLIB
OPTIONS_RADIO= SSL VORBISDEC
OPTIONS_RADIO_SSL= GCRYPT GNUTLS OPENSSL
VORBISDEC_DESC= Vorbis decoder library
OPTIONS_RADIO_VORBISDEC= TREMOR VORBIS
OPTIONS_DEFAULT= DBUS FAAD FLAC MAD OGG OPENGL OPENSSL OPUS VORBIS ZLIB
OPTIONS_SUB= yes
A52_LIB_DEPENDS= liba52.so:audio/liba52
A52_CMAKE_BOOL= WITH_A52
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
ALSA_CMAKE_BOOL= WITH_ALSA
DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus
DBUS_CMAKE_BOOL= WITH_DBUS
DCA_LIB_DEPENDS= libdca.so:multimedia/libdca
DCA_CMAKE_BOOL= WITH_DCA
FAAD_LIB_DEPENDS= libfaad.so:audio/faad
FAAD_CMAKE_BOOL= WITH_FAAD
FLAC_LIB_DEPENDS= libFLAC.so:audio/flac
FLAC_CMAKE_BOOL= WITH_FLAC
FLAC_IMPLIES= OGG
GCRYPT_DESC= MD5 calculation via libgcrypt (no https)
GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt
GCRYPT_CMAKE_BOOL= WITH_GCRYPT
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
GNUTLS_CMAKE_BOOL= WITH_GNUTLS
MAD_LIB_DEPENDS= libmad.so:audio/libmad
MAD_CMAKE_BOOL= WITH_MAD
NLS_USES= gettext
NLS_CMAKE_BOOL= WITH_NLS
OGG_LIB_DEPENDS= libogg.so:audio/libogg
OGG_CMAKE_BOOL= WITH_OGG
OPENGL_LIB_DEPENDS= libepoxy.so:graphics/libepoxy
OPENGL_USES= gl
OPENGL_USE= GL=gl,glu
OPENGL_CMAKE_BOOL= WITH_OPENGL
OPENSSL_USES= ssl
OPENSSL_CMAKE_BOOL= WITH_OPENSSL
OPUS_LIB_DEPENDS= libopus.so:audio/opus
OPUS_CMAKE_BOOL= WITH_OPUS
OPUS_IMPLIES= OGG
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
PULSEAUDIO_CMAKE_BOOL= WITH_PULSE
SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio
SNDIO_CMAKE_BOOL= WITH_SNDIO
TREMOR_LIB_DEPENDS= libvorbisidec.so:audio/libtremor
TREMOR_CMAKE_BOOL= WITH_TREMOR
TREMOR_IMPLIES= OGG
VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis
VORBIS_CMAKE_BOOL= WITH_VORBIS
VORBIS_IMPLIES= OGG
ZLIB_CMAKE_BOOL= WITH_ZLIB
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOGG} && !${PORT_OPTIONS:MTREMOR} && !${PORT_OPTIONS:MVORBIS}
IGNORE= you have selected an option that requires a Vorbis decoder. Run 'make config' and select one
.endif
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>