aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Engberg <diizzy@FreeBSD.org>2023-03-18 14:37:01 +0000
committerDaniel Engberg <diizzy@FreeBSD.org>2023-03-18 14:56:02 +0000
commit1db489e2c8962687dffececed57f374e3cf9afa8 (patch)
tree83499da82d65a19c104c3f9ef37f0a5f80ff5c65
parentbe8452eb7efcca2bec17f7728318cd3521ea93b3 (diff)
downloadports-1db489e2c8962687dffececed57f374e3cf9afa8.tar.gz
ports-1db489e2c8962687dffececed57f374e3cf9afa8.zip
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)
-rw-r--r--multimedia/xawtv/Makefile12
-rw-r--r--multimedia/xawtv/pkg-plist2
2 files changed, 3 insertions, 11 deletions
diff --git a/multimedia/xawtv/Makefile b/multimedia/xawtv/Makefile
index facd1ceab728..4cffc119450f 100644
--- a/multimedia/xawtv/Makefile
+++ b/multimedia/xawtv/Makefile
@@ -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
diff --git a/multimedia/xawtv/pkg-plist b/multimedia/xawtv/pkg-plist
index f658f601a0be..947c45c4f52b 100644
--- a/multimedia/xawtv/pkg-plist
+++ b/multimedia/xawtv/pkg-plist
@@ -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