Ticket #32023: frei0r-plugins.diff

File frei0r-plugins.diff, 1.6 KB (added by ryandesign (Ryan Carsten Schmidt), 12 years ago)

patch to disable opencv and enable universal

  • files/patch-configure.ac.diff

     
     1--- configure.ac.orig   2011-03-09 03:02:25.000000000 -0600
     2+++ configure.ac        2011-11-11 09:28:40.000000000 -0600
     3@@ -94,7 +94,6 @@
     4 AC_CHECK_FUNCS([floor memset pow sqrt])
     5 
     6 HAVE_OPENCV=false
     7-PKG_CHECK_MODULES(OPENCV, opencv >= 1.0.0, [HAVE_OPENCV=true], [true])
     8 AM_CONDITIONAL([HAVE_OPENCV], [test x$HAVE_OPENCV = xtrue])
     9 if test x$HAVE_OPENCV = xtrue; then
     10 #    OPENCV_CFLAGS="$OPENCV_CFLAGS -DOPENCV_PREFIX=`pkg-config opencv --variable=prefix`"
  • Portfile

     
    55
    66name                frei0r-plugins
    77version             1.3
    8 revision            1
     8revision            2
    99categories          multimedia
    1010maintainers         dennedy.org:dan
    1111
     
    2525checksums           sha1    f6b463440017934d01ac3c8fdf70b93c915e3d08 \
    2626                    rmd160  abc279996bb5ffe83f796e1699c9b1cdbece60ec
    2727
    28 depends_lib         port:gavl \
    29                     port:opencv
     28depends_lib         port:gavl
    3029
    3130depends_build       port:pkgconfig
    3231
    3332worksrcdir          frei0r-${version}
    3433
    35 # opencv is not universal
    36 universal_variant   no
     34patchfiles          patch-configure.ac.diff
    3735
     36use_autoreconf      yes
     37
    3838livecheck.type      regex
    3939livecheck.url       [lindex ${master_sites} 0]
    4040livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}