a9f015d155
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590
115 lines
2.8 KiB
Makefile
115 lines
2.8 KiB
Makefile
# Created by: Sascha Klauder <sklauder@trimind.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gogglesmm
|
|
PORTVERSION= 1.2.1
|
|
PORTREVISION= 4
|
|
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 \
|
|
localbase:ldflags pkgconfig shebangfix sqlite
|
|
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_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>
|