Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 2010 03:00:31 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/151548: Update port: graphics/enfle to 20101006
Message-ID:  <20101019030031.2b0c86e2.tkato432@yahoo.com>
Resent-Message-ID: <201010181810.o9IIAAhn069895@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         151548
>Category:       ports
>Synopsis:       Update port: graphics/enfle to 20101006
>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:   Mon Oct 18 18:10:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.3-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update to version 20101006

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/enfle/Makefile graphics/enfle/Makefile
--- /usr/ports/graphics/enfle/Makefile	2010-06-07 16:12:23.000000000 +0900
+++ graphics/enfle/Makefile	2010-10-14 06:08:03.000000000 +0900
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	enfle
-PORTVERSION=	20071024
-PORTREVISION=	5
+PORTVERSION=	20101006
 CATEGORIES=	graphics
 MASTER_SITES=	http://enfle.fennel.org/files/stable/
 
@@ -24,7 +23,8 @@
 		theora.0:${PORTSDIR}/multimedia/libtheora
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
-OPTIONS=	SIMD "Enable x86 SIMD (MMX/SSE)" off
+OPTIONS=	SIMD "Enable x86 SIMD (MMX/SSE)" off \
+		AVCODEC "Enable libavcodec support" off
 
 USE_BZIP2=	yes
 USE_XORG=	ice x11 xext xv
@@ -37,7 +37,7 @@
 		ac_cv_header_libmpeg3_h=no \
 		ac_cv_header_decore_h=no \
 		ac_cv_header_avifile_h=no
-CONFIGURE_ARGS=	--with-ungif --disable-avcodec
+CONFIGURE_ARGS=	--with-ungif
 
 PKGDEINSTALL=	${PKGINSTALL}
 
@@ -63,6 +63,14 @@
 PLIST_SUB+=	DISABLED=""
 .endif
 
+.if defined(WITH_AVCODEC)
+LIB_DEPENDS+=	avcodec:${PORTSDIR}/multimedia/ffmpeg
+PLIST_SUB+=	AVCODEC=""
+.else
+CONFIGURE_ARGS+=	--disable-system-avcodec
+PLIST_SUB+=	AVCODEC="@comment "
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|/usr/local/|${LOCALBASE}/|g ; \
@@ -70,14 +78,12 @@
 		 /LIB/s|-lpthread|${PTHREAD_LIBS}|g ; \
 		 /LIB/s|-lc_r|${PTHREAD_LIBS}|g ; \
 		 /CFLAGS/s|-pthread|${PTHREAD_CFLAGS}|g ; \
-		 /LIB/s|-ldl||g' ${WRKSRC}/configure
+		 /DLOPEN/s|-ldl||g' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e \
 		'/enfle -N/s|^|#|g' ${WRKSRC}/src/Makefile.in
 	@${REINPLACE_CMD} -e \
 		's|/usr/share/X11|${LOCALBASE}/lib/X11|g ; \
 		 /X11R6/d' ${WRKSRC}/plugins/loader/xpm/xpm.c
-	@${REINPLACE_CMD} -e \
-		's|arciver_|archiver_|g' ${WRKSRC}/plugins/archiver/rar/unrar.c
 .if ${OSVERSION} < 700000
 	@${REINPLACE_CMD} -e \
 		'/^SUBDIRS/s|effect|| ; \
diff -urN /usr/ports/graphics/enfle/distinfo graphics/enfle/distinfo
--- /usr/ports/graphics/enfle/distinfo	2009-05-01 19:28:05.000000000 +0900
+++ graphics/enfle/distinfo	2010-10-07 23:37:05.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (enfle-20071024.tar.bz2) = 947de0d1dcc143e8f19ccace8ecfff0e
-SHA256 (enfle-20071024.tar.bz2) = 093381d78bb1c9551ec74c5aba954e215babadb99a7247d86c7af05f5cfb1207
-SIZE (enfle-20071024.tar.bz2) = 2284883
+MD5 (enfle-20101006.tar.bz2) = cf433e138f9c17c35f11d3077f743451
+SHA256 (enfle-20101006.tar.bz2) = 69a5a7311f8531da6e3f2e7193cb3da0222ca524539684548dfcdf512a6418af
+SIZE (enfle-20101006.tar.bz2) = 2599311
diff -urN /usr/ports/graphics/enfle/pkg-plist graphics/enfle/pkg-plist
--- /usr/ports/graphics/enfle/pkg-plist	2009-05-01 19:28:06.000000000 +0900
+++ graphics/enfle/pkg-plist	2010-10-08 00:03:02.000000000 +0900
@@ -14,6 +14,9 @@
 lib/enfle/plugins/audio/audio_oss.a
 lib/enfle/plugins/audio/audio_oss.la
 lib/enfle/plugins/audio/audio_oss.so
+%%AVCODEC%%lib/enfle/plugins/audiodecoder/audiodecoder_avcodec.a
+%%AVCODEC%%lib/enfle/plugins/audiodecoder/audiodecoder_avcodec.la
+%%AVCODEC%%lib/enfle/plugins/audiodecoder/audiodecoder_avcodec.so
 %%DISABLED%%lib/enfle/plugins/audiodecoder/audiodecoder_mad.a
 %%DISABLED%%lib/enfle/plugins/audiodecoder/audiodecoder_mad.la
 %%DISABLED%%lib/enfle/plugins/audiodecoder/audiodecoder_mad.so
@@ -101,6 +104,9 @@
 lib/enfle/plugins/streamer/streamer_gz.a
 lib/enfle/plugins/streamer/streamer_gz.la
 lib/enfle/plugins/streamer/streamer_gz.so
+lib/enfle/plugins/streamer/streamer_xz.a
+lib/enfle/plugins/streamer/streamer_xz.la
+lib/enfle/plugins/streamer/streamer_xz.so
 lib/enfle/plugins/ui/ui_convert.a
 lib/enfle/plugins/ui/ui_convert.la
 lib/enfle/plugins/ui/ui_convert.so
@@ -113,6 +119,9 @@
 lib/enfle/plugins/video/video_Xlib.a
 lib/enfle/plugins/video/video_Xlib.la
 lib/enfle/plugins/video/video_Xlib.so
+%%AVCODEC%%lib/enfle/plugins/videodecoder/videodecoder_avcodec.a
+%%AVCODEC%%lib/enfle/plugins/videodecoder/videodecoder_avcodec.la
+%%AVCODEC%%lib/enfle/plugins/videodecoder/videodecoder_avcodec.so
 %%DISABLED%%lib/enfle/plugins/videodecoder/videodecoder_libmpeg2.a
 %%DISABLED%%lib/enfle/plugins/videodecoder/videodecoder_libmpeg2.la
 %%DISABLED%%lib/enfle/plugins/videodecoder/videodecoder_libmpeg2.so
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101019030031.2b0c86e2.tkato432>