Date: Fri, 30 Jul 2004 19:40:40 -0400 (EDT) From: Michael Johnson <ahze@ahze.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: hendrik@scholz.net Subject: ports/69832: [PATCH] multimedia/transcode: [add jpeg-mmx support] Message-ID: <200407302340.i6UNeedV083408@gentoo.ahze.net> Resent-Message-ID: <200407302350.i6UNoSBM000888@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 69832 >Category: ports >Synopsis: [PATCH] multimedia/transcode: [add jpeg-mmx support] >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jul 30 23:50:27 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Michael Johnson >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD gentoo.ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #58: Fri Jul 23 20:15:17 EDT 2004 >Description: - add jpeg-mmx support with knob pr-69829 needs to commited first. Port maintainer (hendrik@scholz.net) is cc'd. Generated with FreeBSD Port Tools 0.50 >How-To-Repeat: >Fix: --- transcode-0.6.12_1.patch begins here --- Index: Makefile =================================================================== RCS file: /usr/opt/cvs/freebsd-src/ports/multimedia/transcode/Makefile,v retrieving revision 1.43 diff -u -r1.43 Makefile --- Makefile 26 Jun 2004 04:31:27 -0000 1.43 +++ Makefile 30 Jul 2004 23:35:12 -0000 @@ -107,6 +107,11 @@ WITH_DIVX5= yes .endif +.if exists(${LOCALBASE}/lib/libjpeg-mmx.so.62) +WITH_JPEGMMX= yes +WITH_NASM= yes +.endif + .if defined(WITH_LIBTHEORA) LIB_DEPENDS+= theora.0:${PORTSDIR}/graphics/libtheora .else @@ -245,6 +250,14 @@ .else .endif +.if defined(WITH_JPEGMMX) +LIB_DEPENDS+= jpeg-mmx.62:${PORTSDIR}/graphics/jpeg-mmx + +PLIST_SUB+= WITH_JPEGMMX="" +.else +PLIST_SUB+= WITH_JPEGMMX="@comment " +.endif + pre-everything:: .if !defined(WITH_OPTIMIZED_CFLAGS) @${ECHO_MSG} @@ -333,6 +346,10 @@ @${ECHO_MSG} @${ECHO_MSG} "You can enable experimental DivX 5 support by defining WITH_DIVX5." .endif +.if !defined(WITH_JPEGMMX) + @${ECHO_MSG} + @${ECHO_MSG} "You can enable JPEG with MMX by defining WITH_JPEGMMX." +.endif post-patch: .if ${OSVERSION} <= 500027 Index: pkg-plist =================================================================== RCS file: /usr/opt/cvs/freebsd-src/ports/multimedia/transcode/pkg-plist,v retrieving revision 1.19 diff -u -r1.19 pkg-plist --- pkg-plist 20 Jun 2004 20:03:47 -0000 1.19 +++ pkg-plist 30 Jul 2004 23:33:55 -0000 @@ -71,6 +71,7 @@ lib/transcode/filter_denoise3d.so lib/transcode/filter_detectclipping.so lib/transcode/filter_detectsilence.so +%%WITH_JPEGMMX%%lib/transcode/filter_dilyuvmmx.so lib/transcode/filter_divxkey.so lib/transcode/filter_doublefps.so lib/transcode/filter_dnr.so --- transcode-0.6.12_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407302340.i6UNeedV083408>