freebsd-ports/audio/forked-daapd/Makefile
Jan Beich 58af5e73b9 audio/forked-daapd: unbreak with ffmpeg 4.0
artwork.c:448:19: error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER'
    dst->flags |= CODEC_FLAG_GLOBAL_HEADER;
                  ^
transcode.c:29:10: fatal error: 'libavfilter/avfiltergraph.h' file not found
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
transcode.c:562:76: error: use of undeclared identifier 'CODEC_CAP_DELAY'
  if (!(ctx->ofmt_ctx->streams[stream_index]->codec->codec->capabilities & CODEC_CAP_DELAY))
                                                                           ^
transcode.c:807:20: error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER'
        enc_ctx->flags |= CODEC_FLAG_GLOBAL_HEADER;
                          ^

PR:		227726
Reported by:	antoine (via exp-run)
2018-05-04 11:40:59 +00:00

59 lines
1.5 KiB
Makefile

# Created by: Takumi Takahashi <takumiiinn@gmail.com>
# $FreeBSD$
PORTNAME= forked-daapd
PORTVERSION= 24.1
PORTREVISION= 6
CATEGORIES= audio
MAINTAINER= takumiiinn@gmail.com
COMMENT= DAAP (iTunes), MPD (Music Player Daemon) and RSP (Roku) media server
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= antlr3:devel/antlr3
LIB_DEPENDS= libantlr3c.so:devel/libantlr3c \
libavahi-client.so:net/avahi-app \
libavcodec.so:multimedia/ffmpeg \
libconfuse.so:devel/libconfuse \
libevent.so:devel/libevent \
libgcrypt.so:security/libgcrypt \
libinotify.so:devel/libinotify \
libmxml.so:textproc/mxml \
libunistring.so:devel/libunistring
USE_GITHUB= yes
GH_ACCOUNT= ejurgensen
USES= autoreconf gettext gmake gperf iconv libtool localbase pathfix pkgconfig sqlite
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= ${LOCALBASE}/lib/forked-daapd
CONFIGURE_ARGS+=--localstatedir=/var
USE_RC_SUBR= ${PORTNAME}
SUB_FILES= pkg-message
USERS= daapd
GROUPS= daapd
OPTIONS_DEFINE= ALSA ITUNES LASTFM MPD
OPTIONS_DEFAULT=ITUNES LASTFM MPD
ITUNES_DESC= iTunes XML support
MPD_DESC= Music Player Daemon protocol support
ALSA_CONFIGURE_WITH= alsa
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
ITUNES_CONFIGURE_ENABLE=itunes
ITUNES_LIB_DEPENDS= libplist.so:devel/libplist
LASTFM_CONFIGURE_ENABLE=lastfm
LASTFM_LIB_DEPENDS= libcurl.so:ftp/curl
MPD_CONFIGURE_ENABLE= mpd
post-install:
@${MV} ${STAGEDIR}${PREFIX}/etc/forked-daapd.conf ${STAGEDIR}${PREFIX}/etc/forked-daapd.conf.sample
.include <bsd.port.mk>