ports/137011: Update port: multimedia/lives to 1.0.0.p2

KATO Tsuguru tkato432 at yahoo.com
Wed Jul 22 18:10:06 UTC 2009


>Number:         137011
>Category:       ports
>Synopsis:       Update port: multimedia/lives to 1.0.0.p2
>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:   Wed Jul 22 18:10:05 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.2-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Update to version 1.0.0-pre2

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/multimedia/lives/Makefile multimedia/lives/Makefile
--- /usr/ports/multimedia/lives/Makefile	2009-07-07 21:54:11.000000000 +0900
+++ multimedia/lives/Makefile	2009-07-22 17:18:56.000000000 +0900
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	lives
-PORTVERSION=	1.0.0.p1
-PORTREVISION=	1
+PORTVERSION=	1.0.0.p2
 CATEGORIES=	multimedia
 MASTER_SITES=	http://www.xs4all.nl/~salsaman/lives/current/
 DISTNAME=	LiVES-${PORTVERSION:S/.p/-pre/}
@@ -15,7 +14,6 @@
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Video editing system
 
-BUILD_DEPENDS=	${LOCALBASE}/include/frei0r.h:${PORTSDIR}/graphics/frei0r
 LIB_DEPENDS=	jack.0:${PORTSDIR}/audio/jack \
 		oil-0.3.0:${PORTSDIR}/devel/liboil \
 		visual-0.4.0:${PORTSDIR}/graphics/libvisual04 \
@@ -26,7 +24,6 @@
 		sox:${PORTSDIR}/audio/sox \
 		ogg123:${PORTSDIR}/audio/vorbis-tools \
 		convert:${PORTSDIR}/graphics/ImageMagick \
-		${LOCALBASE}/include/frei0r.h:${PORTSDIR}/graphics/frei0r \
 		sswf:${PORTSDIR}/graphics/sswf \
 		ffmpeg:${PORTSDIR}/multimedia/ffmpeg \
 		mencoder:${PORTSDIR}/multimedia/mencoder \
@@ -37,6 +34,8 @@
 		x264:${PORTSDIR}/multimedia/x264 \
 		xmms:${PORTSDIR}/multimedia/xmms
 
+OPTIONS=	FREI0R "Enable frei0r support" off
+
 WRKSRC=		${WRKDIR}/${DISTNAME:L}
 
 USE_BZIP2=	yes
@@ -63,6 +62,17 @@
 
 PORT_VERBS=	lives LiVES _encoder.py midistart midistop smogrify sendOSC
 
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_FREI0R)
+BUILD_DEPENDS+=	${LOCALBASE}/include/frei0r.h:${PORTSDIR}/graphics/frei0r
+RUN_DEPENDS+=	${LOCALBASE}/include/frei0r.h:${PORTSDIR}/graphics/frei0r
+PLIST_SUB+=	FREI0R=""
+.else
+CONFIGURE_ENV+=	ac_cv_header_frei0r_h=no
+PLIST_SUB+=	FREI0R="@comment "
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e '/LIBS/s|-ldl ||' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's|: install-docDATA|:|g ; \
@@ -72,12 +82,14 @@
 	@${REINPLACE_CMD} -e 's|off64_t|off_t|g ; \
 		 s|lseek64|lseek|g' ${WRKSRC}/${file}
 .endfor
+	@${REINPLACE_CMD} -e 's|/usr/lib/|${LOCALBASE}/lib/|g' \
+		${WRKSRC}/lives-plugins/weed-plugins/frei0r.c
 	@${FIND} ${WRKSRC} -name "Makefile.in" -print0 | ${XARGS} -0 \
 		${REINPLACE_CMD} -e \
 		'/FLAGS/s|-O3||g ; \
 		 /FLAGS/s|-ldl||g ; \
 		 /flags/s|-L/usr/lib64||g ; \
-		 /flags/s|-W,-Bsymbolic||g ; \
+		 /flags/s|-Wl,-Bsymbolic||g ; \
 		 /flags/s|--tag=disable-static||g'
 
 post-install:
@@ -88,4 +100,4 @@
 .endfor 
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -urN /usr/ports/multimedia/lives/distinfo multimedia/lives/distinfo
--- /usr/ports/multimedia/lives/distinfo	2009-06-18 23:16:51.000000000 +0900
+++ multimedia/lives/distinfo	2009-07-09 04:44:39.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (LiVES-1.0.0-pre1.tar.bz2) = b36ac5dfe0ad34a9bb8b9f1a393395b7
-SHA256 (LiVES-1.0.0-pre1.tar.bz2) = 2b53a09d40a8ac4f4420d3c38d359b75584afb1de5a91fe8d986977d198ca9ee
-SIZE (LiVES-1.0.0-pre1.tar.bz2) = 2448449
+MD5 (LiVES-1.0.0-pre2.tar.bz2) = 441d5e59276f4ebc0fb1d32d09a68c94
+SHA256 (LiVES-1.0.0-pre2.tar.bz2) = c0aab512b3bde6950138fbc19114b561374aa73f7d93c33c3b2e831904fdd704
+SIZE (LiVES-1.0.0-pre2.tar.bz2) = 2561811
diff -urN /usr/ports/multimedia/lives/pkg-plist multimedia/lives/pkg-plist
--- /usr/ports/multimedia/lives/pkg-plist	2009-06-18 23:16:51.000000000 +0900
+++ multimedia/lives/pkg-plist	2009-07-22 17:14:30.000000000 +0900
@@ -62,8 +62,8 @@
 lib/lives/plugins/effects/realtime/weed/fg_bg_removal.so
 lib/lives/plugins/effects/realtime/weed/fireTV.la
 lib/lives/plugins/effects/realtime/weed/fireTV.so
-lib/lives/plugins/effects/realtime/weed/frei0r.la
-lib/lives/plugins/effects/realtime/weed/frei0r.so
+%%FREI0R%%lib/lives/plugins/effects/realtime/weed/frei0r.la
+%%FREI0R%%lib/lives/plugins/effects/realtime/weed/frei0r.so
 lib/lives/plugins/effects/realtime/weed/gdk_fast_resize.la
 lib/lives/plugins/effects/realtime/weed/gdk_fast_resize.so
 lib/lives/plugins/effects/realtime/weed/haip.la
@@ -263,19 +263,15 @@
 %%DATADIR%%/plugins/effects/RFXscripts/wave.script
 %%DATADIR%%/themes/camera/frame.jpg
 %%DATADIR%%/themes/camera/main.jpg
+%%DATADIR%%/themes/crayons/frame.jpg
+%%DATADIR%%/themes/crayons/main.jpg
 %%DATADIR%%/themes/cutting_room/frame.jpg
 %%DATADIR%%/themes/cutting_room/main.jpg
-%%DATADIR%%/themes/default/frame.jpg
-%%DATADIR%%/themes/default/main.jpg
 %%DATADIR%%/themes/editor/frame.jpg
 %%DATADIR%%/themes/editor/main.jpg
-%%DATADIR%%/themes/greenish/frame.jpg
-%%DATADIR%%/themes/greenish/main.jpg
 %%DATADIR%%/themes/lives-splash.png
 %%DATADIR%%/themes/pinks/frame.jpg
 %%DATADIR%%/themes/pinks/main.jpg
-%%DATADIR%%/themes/sunburst/frame.jpg
-%%DATADIR%%/themes/sunburst/main.jpg
 share/locale/cs/LC_MESSAGES/lives.mo
 share/locale/de_DE/LC_MESSAGES/lives.mo
 share/locale/es/LC_MESSAGES/lives.mo
@@ -288,15 +284,14 @@
 share/locale/pt/LC_MESSAGES/lives.mo
 share/locale/pt_BR/LC_MESSAGES/lives.mo
 share/locale/ru/LC_MESSAGES/lives.mo
+share/locale/sk/LC_MESSAGES/lives.mo
 share/locale/tr/LC_MESSAGES/lives.mo
 share/locale/zh_CN/LC_MESSAGES/lives.mo
 share/pixmaps/lives.xpm
- at dirrm %%DATADIR%%/themes/sunburst
 @dirrm %%DATADIR%%/themes/pinks
- at dirrm %%DATADIR%%/themes/greenish
 @dirrm %%DATADIR%%/themes/editor
- at dirrm %%DATADIR%%/themes/default
 @dirrm %%DATADIR%%/themes/cutting_room
+ at dirrm %%DATADIR%%/themes/crayons
 @dirrm %%DATADIR%%/themes/camera
 @dirrm %%DATADIR%%/themes
 @dirrm %%DATADIR%%/plugins/effects/RFXscripts
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list