mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- Disable ffmpeg support if multimedia/ffmpeg is installed before building
libquicktime, otherwise depend on multimedia/ffmpeg-devel Reported by: Randy Pratt <bsd-unix@earthlink.net>
This commit is contained in:
parent
0084fa2809
commit
55fdec00a8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179233
@ -8,6 +8,7 @@
|
||||
|
||||
PORTNAME= libquicktime
|
||||
PORTVERSION= 0.9.9
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
@ -20,7 +21,7 @@ LIB_DEPENDS= vorbis.3:${PORTSDIR}/audio/libvorbis \
|
||||
png.5:${PORTSDIR}/graphics/png \
|
||||
dv.4:${PORTSDIR}/multimedia/libdv
|
||||
|
||||
INSTALLS_SHLIB= yes
|
||||
USE_LDCONFIG= yes
|
||||
USE_GL= yes
|
||||
USE_GNOME= gnometarget gnomehack pkgconfig
|
||||
WANT_GNOME= yes
|
||||
@ -44,11 +45,12 @@ PORTDOCS= api_usage.html codecs.html qt4l_building.html \
|
||||
|
||||
.if exists(${LOCALBASE}/libdata/pkgconfig/libavcodec.pc) || !exists(${LOCALBASE}/lib/libavformat.a)
|
||||
LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg-devel
|
||||
PLIST_SUB+= FFMPEG=""
|
||||
.else
|
||||
LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg
|
||||
NO_FFMPEG= ${TRUE}
|
||||
PLIST_SUB+= FFMPEG="@comment "
|
||||
.endif
|
||||
|
||||
|
||||
.if ${HAVE_GNOME:Mgtk20}!="" || defined(WITH_GTK2)
|
||||
USE_GNOME+= gtk20
|
||||
PLIST_SUB+= GTK=""
|
||||
|
@ -25,8 +25,8 @@ lib/libquicktime/lqt_dv.la
|
||||
lib/libquicktime/lqt_dv.so
|
||||
%%LAME%%lib/libquicktime/lqt_lame.so
|
||||
%%LAME%%lib/libquicktime/lqt_lame.la
|
||||
lib/libquicktime/lqt_ffmpeg.la
|
||||
lib/libquicktime/lqt_ffmpeg.so
|
||||
%%FFMPEG%%lib/libquicktime/lqt_ffmpeg.la
|
||||
%%FFMPEG%%lib/libquicktime/lqt_ffmpeg.so
|
||||
lib/libquicktime/lqt_mjpeg.la
|
||||
lib/libquicktime/lqt_mjpeg.so
|
||||
lib/libquicktime/lqt_opendivx.la
|
||||
|
Loading…
Reference in New Issue
Block a user