1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/audio/moc/Makefile
Jan Beich 84e727457f multimedia/ffmpeg: update to 3.4
Notable changes:
- i386/amd64 now depend on NASM per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/4f9297ac3b39
- NETCDF is now MYSOFA but the dependency doesn't exist in ports yet
- SCHROEDINGER is gone per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/220b24c7c9
- DRM, LIBRSVG2, LIBXML2 are new options
- ABI isn't completely compatible: some structs have changed

Minor cleanup:
- Don't pass --disable-{in,out}dev when it's already blocked by disabled dependency
- Drop redundant "Enable" from option descriptions
- Switch CDIO_DESC to use Mk/bsd.options.desc.mk

Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n3.4:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
PR:		223057
Exp-run by:	antoine
2017-10-21 06:50:49 +00:00

98 lines
3.0 KiB
Makefile

# Created by: Revis Zinkov <rzinkov@gmail.com>
# $FreeBSD$
PORTNAME= moc
PORTVERSION= 2.5.2
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://ftp.daper.net/pub/soft/moc/stable/
MAINTAINER= rzinkov@gmail.com
COMMENT= Console audio player designed to be powerful and easy to use
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libltdl.so:devel/libltdl
USES= bdb gmake libtool ncurses pkgconfig tar:bzip2
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
CPPFLAGS+= -I${LOCALBASE}/include -I${BDB_INCLUDE_DIR}
LDFLAGS+= -L${LOCALBASE}/lib -L${BDB_LIB_DIR}
OPTIONS_DEFINE= AAC CURL DEBUG FFMPEG FLAC JACK MODPLUG MP3 MUSEPACK RCC \
SAMPLERATE SIDPLAY2 SNDFILE SPEEX VORBIS WAVPACK
OPTIONS_DEFAULT= MP3 VORBIS FLAC CURL
CURL_DESC= curl support (Internet streams)
RCC_DESC= RCC support
SIDPLAY2_DESC= libsidplay2 support
AAC_LIB_DEPENDS= libfaad.so:audio/faad
AAC_PLIST_FILES= lib/moc/decoder_plugins/libaac_decoder.so
AAC_CONFIGURE_OFF= --without-aac
CURL_LIB_DEPENDS= libcurl.so:ftp/curl
CURL_CONFIGURE_OFF= --without-curl
DEBUG_CONFIGURE_OFF= --enable-debug=no
FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
FFMPEG_PLIST_FILES= lib/moc/decoder_plugins/libffmpeg_decoder.so
FFMPEG_CONFIGURE_OFF= --without-ffmpeg
FLAC_LIB_DEPENDS= libFLAC.so:audio/flac
FLAC_PLIST_FILES= lib/moc/decoder_plugins/libflac_decoder.so
FLAC_CONFIGURE_OFF= --without-flac
JACK_LIB_DEPENDS= libjack.so:audio/jack
JACK_CONFIGURE_OFF= --without-jack
MODPLUG_LIB_DEPENDS= libmodplug.so:audio/libmodplug
MODPLUG_PLIST_FILES= lib/moc/decoder_plugins/libmodplug_decoder.so
MODPLUG_CONFIGURE_OFF= --without-modplug
MP3_LIB_DEPENDS= libmad.so:audio/libmad \
libid3tag.so:audio/libid3tag
MP3_PLIST_FILES= lib/moc/decoder_plugins/libmp3_decoder.so
MP3_CONFIGURE_OFF= --without-mp3
MUSEPACK_LIB_DEPENDS= libmpcdec.so:audio/musepack \
libtag_c.so:audio/taglib
MUSEPACK_PLIST_FILES= lib/moc/decoder_plugins/libmusepack_decoder.so
MUSEPACK_CONFIGURE_OFF= --without-musepack
RCC_LIB_DEPENDS= librcc.so:devel/librcc \
librcd.so:devel/librcd
RCC_CONFIGURE_OFF= --without-rcc
SAMPLERATE_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate
SAMPLERATE_CONFIGURE_OFF= --without-samplerate
SIDPLAY2_LIB_DEPENDS= libsidplay2.so:audio/libsidplay2
SIDPLAY2_PLIST_FILES= lib/moc/decoder_plugins/libsidplay2_decoder.so
SIDPLAY2_CONFIGURE_OFF= --without-sidplay2
SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile
SNDFILE_PLIST_FILES= lib/moc/decoder_plugins/libsndfile_decoder.so
SNDFILE_CONFIGURE_OFF= --without-sndfile
SPEEX_LIB_DEPENDS= libspeex.so:audio/speex
SPEEX_PLIST_FILES= lib/moc/decoder_plugins/libspeex_decoder.so
SPEEX_CONFIGURE_OFF= --without-speex
VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis
VORBIS_PLIST_FILES= lib/moc/decoder_plugins/libvorbis_decoder.so
VORBIS_CONFIGURE_OFF= --without-ogg
WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack
WAVPACK_PLIST_FILES= lib/moc/decoder_plugins/libwavpack_decoder.so
WAVPACK_CONFIGURE_OFF= --without-wavpack
post-patch:
@${REINPLACE_CMD} -e '/PKG_CONFIG/ s|alsa|no-&|g' ${WRKSRC}/configure
.include <bsd.port.mk>