mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 01:09:24 -04:00
Only add the ffmpeg CPPFLAGS if not building with gstreamer.
This commit is contained in:
parent
66063fa958
commit
acc7c83c0b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=218384
1 changed files with 4 additions and 1 deletions
|
@ -20,12 +20,14 @@ LIB_DEPENDS= oil-0.3.0:${PORTSDIR}/devel/liboil \
|
||||||
USE_GNOME= gnomehack gtk20
|
USE_GNOME= gnomehack gtk20
|
||||||
USE_AUTOTOOLS= libtool:15:env automake:19:env autoconf:261
|
USE_AUTOTOOLS= libtool:15:env automake:19:env autoconf:261
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/ffmpeg" \
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
|
||||||
LDFLAGS="-Wl,-Bsymbolic -L${LOCALBASE}/lib"
|
LDFLAGS="-Wl,-Bsymbolic -L${LOCALBASE}/lib"
|
||||||
CONFIGURE_ARGS= --with-audio=oss
|
CONFIGURE_ARGS= --with-audio=oss
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
INSTALLS_ICONS= yes
|
INSTALLS_ICONS= yes
|
||||||
|
|
||||||
|
CPPFLAGS= -I${LOCALBASE}/include
|
||||||
|
|
||||||
OPTIONS= GSTREAMER "Support for decoding some codecs with GStreamer" off
|
OPTIONS= GSTREAMER "Support for decoding some codecs with GStreamer" off
|
||||||
|
|
||||||
PLIST_SUB= VERSION=${PORTVERSION:R}
|
PLIST_SUB= VERSION=${PORTVERSION:R}
|
||||||
|
@ -38,6 +40,7 @@ USE_GSTREAMER= yes
|
||||||
LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg \
|
LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg \
|
||||||
mad.2:${PORTSDIR}/audio/libmad
|
mad.2:${PORTSDIR}/audio/libmad
|
||||||
CONFIGURE_ARGS+= --disable-gstreamer --enable-ffmpeg --enable-mad
|
CONFIGURE_ARGS+= --disable-gstreamer --enable-ffmpeg --enable-mad
|
||||||
|
CPPFLAGS+= -I${LOCALBASE}/include/ffmpeg
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
|
|
Loading…
Add table
Reference in a new issue