1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/audio/gogglesmm/Makefile
2019-11-08 09:27:56 +00:00

116 lines
2.9 KiB
Makefile

# Created by: Sascha Klauder <sklauder@trimind.de>
# $FreeBSD$
PORTNAME= gogglesmm
PORTVERSION= 1.2.1
PORTREVISION= 5
CATEGORIES= audio
MAINTAINER= jhale@FreeBSD.org
COMMENT= Music collection manager and player
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 shebangfix sqlite xorg
USE_GITHUB= yes
USE_XORG= ice sm x11
CMAKE_OFF= WITH_CFOX
INSTALLS_ICONS= yes
SHEBANG_FILES= extra/*.py
PORTDOCS= AUTHORS ChangeLog README
OPTIONS_DEFINE= A52 ALSA DBUS DCA DOCS FAAD FLAC IMPORT MAD NLS \
OGG OPENGL OPUS PULSEAUDIO 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
IMPORT_DESC= Install scripts to import old databases
IMPORT_USES= python:2.7
IMPORT_CMAKE_BOOL= WITH_IMPORT
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
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>