mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
-Update to 0.9.10.
-Add WITH_OPTIMIZED_CFLAGS knob, off by default. -Respect the CFLAGS/CPUTYPE. Reviewed by: ahze
This commit is contained in:
parent
892419f733
commit
b0d0165dcb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=181318
@ -7,8 +7,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= libquicktime
|
||||
PORTVERSION= 0.9.9
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.9.10
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
@ -31,10 +30,11 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_C
|
||||
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}"
|
||||
CONFIGURE_ARGS= --disable-firewire --with-x
|
||||
CFLAGS+= -fPIC
|
||||
MAN1= lqtplay.1
|
||||
MAN1= lqtplay.1
|
||||
|
||||
OPTIONS= LAME "Enable Lame mp3 encoding support" Off \
|
||||
GTK2 "Enable Gtk+2 Frontend" Off
|
||||
GTK2 "Enable Gtk+2 Frontend" Off \
|
||||
OPTIMIZED_CFLAGS "Enable Optimized CFLAGS" Off
|
||||
|
||||
PORTDOCS= api_usage.html codecs.html qt4l_building.html \
|
||||
qt4l_codecs.html qt4l_firewire.html qt4l_index.html \
|
||||
@ -43,6 +43,10 @@ PORTDOCS= api_usage.html codecs.html qt4l_building.html \
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !defined(WITH_OPTIMIZED_CFLAGS)
|
||||
CONFIGURE_ARGS+=--without-cpuflags
|
||||
.endif
|
||||
|
||||
.if exists(${LOCALBASE}/libdata/pkgconfig/libavcodec.pc) || !exists(${LOCALBASE}/lib/libavformat.a)
|
||||
LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg-devel
|
||||
PLIST_SUB+= FFMPEG=""
|
||||
@ -71,10 +75,17 @@ CONFIGURE_ARGS+= --enable-mmx
|
||||
CONFIGURE_ARGS+= --disable-mmx
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' \
|
||||
${WRKSRC}/plugins/audiocodec/* \
|
||||
${WRKSRC}/plugins/videocodec/*
|
||||
.if !defined(WITH_OPTIMIZED_CFLAGS)
|
||||
@${REINPLACE_CMD} -e 's|-O3 -funroll-all-loops -fomit-frame-pointer|${CFLAGS}|' \
|
||||
${WRKSRC}/configure
|
||||
.else
|
||||
@${REINPLACE_CMD} -e 's|-O3|${CFLAGS} -O3|' \
|
||||
${WRKSRC}/configure
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (libquicktime-0.9.9.tar.gz) = 4ac23264f22a22ff013722aa9d188190
|
||||
SHA256 (libquicktime-0.9.9.tar.gz) = b92f08e8e9a9e4be36dd5cdd4b1c5d31f0cc821569623b2f5f79b3e7ba8ed3da
|
||||
SIZE (libquicktime-0.9.9.tar.gz) = 926280
|
||||
MD5 (libquicktime-0.9.10.tar.gz) = 5ff99f1a7b22f9e1ed85240f736fd14c
|
||||
SHA256 (libquicktime-0.9.10.tar.gz) = 7b7335721957a2e37dbc427daa2753f1c16b7e7f8877e6e9b629b1dd011d1ecd
|
||||
SIZE (libquicktime-0.9.10.tar.gz) = 851578
|
||||
|
@ -29,8 +29,6 @@ lib/libquicktime/lqt_dv.so
|
||||
%%FFMPEG%%lib/libquicktime/lqt_ffmpeg.so
|
||||
lib/libquicktime/lqt_mjpeg.la
|
||||
lib/libquicktime/lqt_mjpeg.so
|
||||
lib/libquicktime/lqt_opendivx.la
|
||||
lib/libquicktime/lqt_opendivx.so
|
||||
lib/libquicktime/lqt_png.la
|
||||
lib/libquicktime/lqt_png.so
|
||||
lib/libquicktime/lqt_rtjpeg.la
|
||||
|
Loading…
Reference in New Issue
Block a user