From b40aba1cda9babb055d7b3da725e883e466c05f4 Mon Sep 17 00:00:00 2001
From: Michael Johnson <ahze@FreeBSD.org>
Date: Fri, 25 May 2007 15:47:41 +0000
Subject: [PATCH] Update to 1.0.0

---
 multimedia/libquicktime/Makefile  | 19 ++++++-------------
 multimedia/libquicktime/distinfo  |  6 +++---
 multimedia/libquicktime/pkg-plist |  2 ++
 3 files changed, 11 insertions(+), 16 deletions(-)

diff --git a/multimedia/libquicktime/Makefile b/multimedia/libquicktime/Makefile
index 1bb1c51da308..d25afbcf1af7 100644
--- a/multimedia/libquicktime/Makefile
+++ b/multimedia/libquicktime/Makefile
@@ -1,4 +1,3 @@
-# ex:ts=8
 # Ports collection makefile for:	libquicktime
 # Date Created:			Jul 17, 2002
 # Whom:				ijliao
@@ -7,8 +6,7 @@
 #
 
 PORTNAME=	libquicktime
-PORTVERSION=	0.9.10
-PORTREVISION=	1
+PORTVERSION=	1.0.0
 CATEGORIES=	multimedia
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -22,14 +20,16 @@ LIB_DEPENDS=	vorbis.3:${PORTSDIR}/audio/libvorbis \
 		dv.4:${PORTSDIR}/multimedia/libdv
 
 USE_LDCONFIG=	yes
+USE_GETTEXT=	yes
 USE_GL=		yes
 USE_GNOME=	gnometarget gnomehack pkgconfig
 WANT_GNOME=	yes
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
+USE_AUTOTOOLS=	autoconf:259
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
-		LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}"
-CONFIGURE_ARGS=	--disable-firewire --with-x
+		LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS} -lintl"
+CONFIGURE_ARGS=	--disable-firewire --with-x --enable-gpl
 CFLAGS+=	-fPIC
 MAN1=		lqtplay.1
 
@@ -38,7 +38,7 @@ OPTIONS=	LAME "Enable Lame mp3 encoding support" Off \
 		OPTIMIZED_CFLAGS "Enable Optimized CFLAGS" Off
 
 PORTDOCS=	api_usage.html codecs.html qt4l_building.html \
-		qt4l_codecs.html qt4l_firewire.html qt4l_index.html \
+		qt4l_codecs.html qt4l_index.html \
 		qt4l_license.html qt4l_opening.html qt4l_positioning.html \
 		qt4l_reading.html qt4l_util.html qt4l_writing.html
 
@@ -81,13 +81,6 @@ post-patch:
 		${WRKSRC}/plugins/audiocodec/* \
 		${WRKSRC}/plugins/videocodec/*
 	@${REINPLACE_CMD} -e '/objformat=/s|=.*|=elf|' ${WRKSRC}/configure
-.if !defined(WITH_OPTIMIZED_CFLAGS)
-	@${REINPLACE_CMD} -e 's|-O3 -funroll-all-loops -fomit-frame-pointer|${CFLAGS}|' \
-		${WRKSRC}/configure
-.else
-	@${REINPLACE_CMD} -e 's|-O3|${CFLAGS} -O3|' \
-		${WRKSRC}/configure
-.endif
 
 post-install:
 .if !defined(NOPORTDOCS)
diff --git a/multimedia/libquicktime/distinfo b/multimedia/libquicktime/distinfo
index 02bea26df15e..bf54139d098d 100644
--- a/multimedia/libquicktime/distinfo
+++ b/multimedia/libquicktime/distinfo
@@ -1,3 +1,3 @@
-MD5 (libquicktime-0.9.10.tar.gz) = 5ff99f1a7b22f9e1ed85240f736fd14c
-SHA256 (libquicktime-0.9.10.tar.gz) = 7b7335721957a2e37dbc427daa2753f1c16b7e7f8877e6e9b629b1dd011d1ecd
-SIZE (libquicktime-0.9.10.tar.gz) = 851578
+MD5 (libquicktime-1.0.0.tar.gz) = 2f609e3ef5e760f44022f6c4b66d6a01
+SHA256 (libquicktime-1.0.0.tar.gz) = 60c478fd81450e18a1fcf1bcee672d5cd04c4ca5871ffb709ef6a635111141a4
+SIZE (libquicktime-1.0.0.tar.gz) = 998950
diff --git a/multimedia/libquicktime/pkg-plist b/multimedia/libquicktime/pkg-plist
index 9c011f7c6e07..7848a99d5d78 100644
--- a/multimedia/libquicktime/pkg-plist
+++ b/multimedia/libquicktime/pkg-plist
@@ -2,6 +2,7 @@
 bin/lqt-config
 bin/lqt_transcode
 bin/lqtplay
+bin/qt2text
 bin/qtdechunk
 bin/qtdump
 bin/qtinfo
@@ -39,5 +40,6 @@ lib/libquicktime/lqt_vorbis.la
 lib/libquicktime/lqt_vorbis.so
 libdata/pkgconfig/libquicktime.pc
 share/aclocal/lqt.m4
+share/locale/de/LC_MESSAGES/libquicktime.mo
 @dirrm lib/libquicktime
 @dirrm include/lqt