multimedia/xawtv: Remove (lib)QuickTime support and disable optional libraries
libquicktime is abandoned by upstream with last release over a decade ago and doesn't compile with newer versions of FFmpeg While at it disable autodetection of alsa and OpenGL support PR: 261302 Approved by: portmgr (blanket, build fix)
This commit is contained in:
parent
be8452eb7e
commit
1db489e2c8
2 changed files with 3 additions and 11 deletions
|
@ -20,7 +20,7 @@ USES= cpe gmake iconv jpeg motif ncurses perl5 tar:bzip2 pkgconfig xorg
|
|||
|
||||
CPE_VENDOR= linuxtv
|
||||
|
||||
OPTIONS_DEFINE= AALIB BKTR DV QUICKTIME ZVBI
|
||||
OPTIONS_DEFINE= AALIB BKTR DV ZVBI
|
||||
OPTIONS_DEFINE_i386= MMX
|
||||
OPTIONS_DEFAULT= AALIB BKTR
|
||||
.if !exists(/usr/include/dev/bktr/ioctl_bt848.h)
|
||||
|
@ -42,6 +42,8 @@ USE_LDCONFIG= yes
|
|||
|
||||
FILES_LIBJPEG= console/Subdir.mk x11/Subdir.mk libng/plugins/Subdir.mk
|
||||
|
||||
CONFIGURE_ARGS= --enable-alsa=no --enable-quicktime=no --enable-gl=no
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MAALIB}
|
||||
|
@ -70,19 +72,11 @@ CONFIGURE_ARGS+=--enable-mmx
|
|||
CFLAGS+= -DMMX=1
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MQUICKTIME}
|
||||
CONFIGURE_ARGS+=--enable-quicktime
|
||||
LIB_DEPENDS+= libquicktime.so:multimedia/libquicktime
|
||||
.else
|
||||
CONFIGURE_ARGS+=--enable-quicktime=no
|
||||
.endif
|
||||
|
||||
PLIST_SUB+= X11PREFIX=${LOCALBASE}
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g; \
|
||||
s|/usr/local|${LOCALBASE}|g; \
|
||||
s|-lquicktime|-L${LOCALBASE}/lib &|g; \
|
||||
s|LIBV4L="yes"|LIBV4L="no"|g; \
|
||||
s|-lunicode|-liconv &|g' \
|
||||
${WRKSRC}/configure
|
||||
|
|
|
@ -29,11 +29,9 @@ lib/xawtv/linear-blend.so
|
|||
lib/xawtv/linedoubler.so
|
||||
lib/xawtv/read-avi.so
|
||||
%%DV%%lib/xawtv/read-dv.so
|
||||
%%QUICKTIME%%lib/xawtv/read-qt.so
|
||||
lib/xawtv/snd-oss.so
|
||||
lib/xawtv/write-avi.so
|
||||
%%DV%%lib/xawtv/write-dv.so
|
||||
%%QUICKTIME%%lib/xawtv/write-qt.so
|
||||
man/man1/alevtd.1.gz
|
||||
man/man1/dump-mixers.1.gz
|
||||
man/man1/fbtv.1.gz
|
||||
|
|
Loading…
Reference in a new issue