1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/audio/essentia/Makefile
Daniel Engberg f7accb23bf */*: Bump all users of multimedia/ffmpeg*
...to make sure all picks up new version(s)
2023-04-27 14:01:46 +02:00

36 lines
933 B
Makefile

PORTNAME= essentia
DISTVERSIONPREFIX= v
DISTVERSION= 2.1_beta5-859
PORTREVISION= 3
DISTVERSIONSUFFIX= -gb247091f
CATEGORIES= audio
MAINTAINER= yuri@FreeBSD.org
COMMENT= C++ library for audio and music analysis
WWW= https://essentia.upf.edu/
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/COPYING.txt
BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:math/fftw3
LIB_DEPENDS= libavcodec.so.58:multimedia/ffmpeg4 \
libchromaprint.so:audio/chromaprint \
libfftw3f.so:math/fftw3-float \
libsamplerate.so:audio/libsamplerate \
libtag.so:audio/taglib \
libyaml.so:textproc/libyaml
CFLAGS+= -I${LOCALBASE}/ffmpeg4/include
CONFIGURE_ENV+= PKG_CONFIG_PATH="${LOCALBASE}/ffmpeg4/libdata/pkgconfig"
MAKE_ENV+= PKG_CONFIG_PATH="${LOCALBASE}/ffmpeg4/libdata/pkgconfig"
USES= compiler:c++11-lib eigen:3 pkgconfig waf
USE_GITHUB= yes
GH_ACCOUNT= MTG
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libessentia.so
.include <bsd.port.mk>