Ticket #18651: patch-mjpegtools.diff
File patch-mjpegtools.diff, 2.7 KB (added by dbevans (David B. Evans), 16 years ago) |
---|
-
Portfile
3 3 PortSystem 1.0 4 4 5 5 name mjpegtools 6 version 1.6.2 7 revision 2 6 version 1.9.0 8 7 categories multimedia 9 maintainers filippo.natali@gmail.com 8 maintainers filippo.natali@gmail.com 10 9 platforms darwin 11 description Set of tools to record/playback/edit videos in MPEG format 10 description Set of tools to record/playback/edit videos in MPEG format 12 11 long_description Programs for MJPEG recording and playback and simple cut-and-paste \ 13 editing and MPEG compression of audio and video. 12 editing and MPEG compression of audio and video. 14 13 15 homepage http://mjpeg.sourceforge.net/ 16 master_sites sourceforge:mjpeg 14 homepage http://mjpeg.sourceforge.net/ 15 master_sites sourceforge:mjpeg 17 16 18 checksums md5 01c0120b0182de67f182ef99ad855daa 17 checksums md5 309a6fcf0900a010d6a9c1e91afc2f5c \ 18 sha1 1701233354c7ea86b5b7808c4dd5d03a71118e48 \ 19 rmd160 79e0eb4bce468bb8f12da336e29abe8fab390a5f 19 20 20 depends_build port:libtool 21 depends_lib lib:libpng:libpng lib:libjpeg:jpeg 21 depends_build port:pkgconfig 22 22 23 patch.pre_args -p1 23 depends_lib port:xorg-libXxf86dga \ 24 port:gtk2 \ 25 port:libsdl_gfx \ 26 port:libpng \ 27 port:jpeg \ 28 port:libdv \ 29 port:libquicktime 24 30 25 configure.args --mandir=${prefix}/share/man -- disable-glibtest --disable-gtktest --disable-sdltest --infodir=${prefix}/share/info31 configure.args --mandir=${prefix}/share/man --infodir=${prefix}/share/info --enable-simd-accel --disable-sdltest --with-x 26 32 27 configure.cppflags-append "-L${prefix}/lib" 28 configure.cflags-append "-L${prefix}/lib" 29 30 build.args LIBTOOL=${prefix}/bin/glibtool ASFLAGS="-f macho" 31 32 platform darwin 7 { 33 configure.compiler gcc-3.3 33 variant no_x11 { 34 depends_lib-delete port:xorg-libXxf86dga 35 configure.args-delete --with-x 36 configure.args-append --without-x 34 37 } 35 38 36 platform darwin 8 { 37 patchfiles mjpegtools.patch 38 } 39 40 platform darwin 9 { 41 patchfiles mjpegtools.patch 42 } 43 44 platform i386 { 45 configure.args-append --disable-simd-accel 46 } 47 48 platform powerpc { 49 configure.args-append --enable-simd-accel 50 } 51 52 variant gtk { 53 configure.args-delete --disable-glibtest --disable-gtktest 54 depends_lib-append lib:libgtk.1:gtk1 55 } 56 57 variant sdl { 58 configure.args-delete --disable-sdltest 59 depends_lib-append lib:libSDL:libsdl 60 } 61 62 variant libdv { 63 depends_lib-append lib:libdv:libdv 64 } 65 66 variant pal requires libdv { 67 configure.args-append --with-dv-yv12 68 } 39 livecheck.regex "<title>${name} (\\d+(?:\\.\\d+)*) released.*</title>"