Hi all!

The following diff updates ffmpegthumbnailer to the latest version.

OK?

ciao,
david

Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/ffmpegthumbnailer/Makefile,v
retrieving revision 1.15
diff -u -p -r1.15 Makefile
--- Makefile    24 Jun 2011 11:17:05 -0000      1.15
+++ Makefile    28 Jun 2011 12:31:05 -0000
@@ -2,12 +2,11 @@
 
 COMMENT=       lightweight video thumbnailer for file managers
 
-DISTNAME=      ffmpegthumbnailer-2.0.2
-REVISION=      4
+DISTNAME=      ffmpegthumbnailer-2.0.6
 CATEGORIES=    graphics multimedia
 MASTER_SITES=  http://ffmpegthumbnailer.googlecode.com/files/
 
-SHARED_LIBS=   ffmpegthumbnailer       4.0
+SHARED_LIBS=   ffmpegthumbnailer       4.1
 
 HOMEPAGE=      http://code.google.com/p/ffmpegthumbnailer
 
@@ -29,8 +28,10 @@ WANTLIB=     avcodec avformat avutil bz2 c g
                swscale theoradec theoraenc vorbis vorbisenc vpx x264 \
                z
 
-CONFIGURE_STYLE=gnu
+CONFIGURE_STYLE=autoconf
+AUTOCONF_VERSION=2.67
 CONFIGURE_ENV+=        LDFLAGS="-L${LOCALBASE}/lib" \
                CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng"
+CONFIGURE_ARGS= --disable-as-needed
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/graphics/ffmpegthumbnailer/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo    26 May 2010 12:30:19 -0000      1.4
+++ distinfo    28 Jun 2011 12:31:05 -0000
@@ -1,5 +1,5 @@
-MD5 (ffmpegthumbnailer-2.0.2.tar.gz) = 7kc6Jufo2iFuZLuzPod3LA==
-RMD160 (ffmpegthumbnailer-2.0.2.tar.gz) = B3WZq8XfMLBP6ZeNV/MQN7XMOJo=
-SHA1 (ffmpegthumbnailer-2.0.2.tar.gz) = cQJK+1DiYhfcXeWaNPKZVRy2gWo=
-SHA256 (ffmpegthumbnailer-2.0.2.tar.gz) = 
OJvWDQcj3559hCGeIUllAL1PqzIFdNVUYruOiAw1d4A=
-SIZE (ffmpegthumbnailer-2.0.2.tar.gz) = 339386
+MD5 (ffmpegthumbnailer-2.0.6.tar.gz) = UAPOqtwcWhvh27NHOaErqw==
+RMD160 (ffmpegthumbnailer-2.0.6.tar.gz) = jGNcbTW2meqdLvdT/HCqI4J8Clc=
+SHA1 (ffmpegthumbnailer-2.0.6.tar.gz) = xWXrMZEOoDgBBF4ZIwhwx+dysaY=
+SHA256 (ffmpegthumbnailer-2.0.6.tar.gz) = 
6XUsD9PJu+IDgrUnoR1dSr8jhtChiud/wOax7rALfc0=
+SIZE (ffmpegthumbnailer-2.0.6.tar.gz) = 340052
Index: patches/patch-configure_ac
===================================================================
RCS file: patches/patch-configure_ac
diff -N patches/patch-configure_ac
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-configure_ac  28 Jun 2011 12:31:05 -0000
@@ -0,0 +1,33 @@
+$OpenBSD$
+--- configure.ac.orig  Thu Jan  6 20:03:14 2011
++++ configure.ac       Tue Jun 28 14:14:08 2011
+@@ -46,6 +46,11 @@ if test "x$enable_as_needed" != "xno"; then
+   esac
+ fi
+ 
++AC_CHECK_HEADER(pthread.h, have_pthread_h=yes)
++if test "X$have_pthread_h" = "Xyes" ; then
++      LDFLAGS="${LDFLAGS} -pthread"
++fi
++
+ #########################################################################
+ # Check ffmpeg libraries
+ #########################################################################
+@@ -106,7 +111,7 @@ fi
+ ########################################################################
+ # Compiler flags
+ ########################################################################
+-CXXFLAGS=-D__STDC_CONSTANT_MACROS
++CXXFLAGS="${CXXFLAGS} -D__STDC_CONSTANT_MACROS"
+ 
+ ########################################################################
+ # Check debug mode
+@@ -118,7 +123,7 @@ AC_ARG_ENABLE(debug,
+ AM_CONDITIONAL(DEBUG, test "$enable_debug" = "yes")
+ if test "$DEBUG" = "yes"; then
+     AC_DEFINE(ENABLE_DEBUG, [], "Enable debug mode")
+-    CXXFLAGS+=" -g -O1 -Wall -Werror -Wfatal-errors"
++    CXXFLAGS="${CXXFLAGS} -g -Wall -Werror -Wfatal-errors"
+ fi
+ 
+ AC_ARG_ENABLE(unittests,
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/graphics/ffmpegthumbnailer/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST   27 Aug 2009 01:09:29 -0000      1.3
+++ pkg/PLIST   28 Jun 2011 12:31:05 -0000
@@ -3,7 +3,6 @@
 @bin bin/ffmpegthumbnailer
 include/libffmpegthumbnailer/
 include/libffmpegthumbnailer/filmstripfilter.h
-include/libffmpegthumbnailer/histogram.h
 include/libffmpegthumbnailer/ifilter.h
 include/libffmpegthumbnailer/imagetypes.h
 include/libffmpegthumbnailer/videoframe.h

Reply via email to