Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Mar 2023 14:56:42 GMT
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1db489e2c896 - main - multimedia/xawtv: Remove (lib)QuickTime support and disable optional libraries
Message-ID:  <202303181456.32IEugi4077039@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1db489e2c8962687dffececed57f374e3cf9afa8

commit 1db489e2c8962687dffececed57f374e3cf9afa8
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-03-18 14:37:01 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-03-18 14:56:02 +0000

    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)
---
 multimedia/xawtv/Makefile  | 12 +++---------
 multimedia/xawtv/pkg-plist |  2 --
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303181456.32IEugi4077039>