Subject: pkg/24313: New pkgsrc graphics/libdv
To: None <gnats-bugs@gnats.netbsd.org>
From: Osamu OISHI <oishi@alef.ims.ac.jp>
List: netbsd-bugs
Date: 02/04/2004 18:05:49
>Number:         24313
>Category:       pkg
>Synopsis:       New pkgsrc graphics/libdv
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 04 09:05:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Osamu OISHI
>Release:        NetBSD-current
>Organization:
	
>Environment:
	
System: NetBSD alef.ims.ac.jp 1.4.3_ALPHA NetBSD 1.4.3_ALPHA (ALEF) #0: Tue Jul 31 15:45:47 JST 2001 root@alef.ims.ac.jp:/usr/src/sys/arch/i386/compile/ALEF i386


>Description:
	1)libdv is GPL codec for DV video format of degital video camera.
	2)Installed program "playdv" is the viewer of DV formt file.
	3)graphics/transcode can compile with libdv for video code translation.
>How-To-Repeat:
        The following is shell archive of graphics/libdv
        Please extract and compile ("make; make install")

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	libdv
#	libdv/DESCR
#	libdv/Makefile
#	libdv/PLIST
#	libdv/distinfo
#	libdv/buildlink2.mk
#	libdv/patches
#	libdv/patches/patch-aa
#
echo c - libdv
mkdir -p libdv > /dev/null 2>&1
echo x - libdv/DESCR
sed 's/^X//' >libdv/DESCR << 'END-of-libdv/DESCR'
XThis is LibDV, a GPL codec for DV video.  
XSee http://libdv.sourceforge.net/
END-of-libdv/DESCR
echo x - libdv/Makefile
sed 's/^X//' >libdv/Makefile << 'END-of-libdv/Makefile'
X# $NetBSD$
X
XDISTNAME=	libdv-0.101
XCATEGORIES=	graphics
XMASTER_SITES=	http://keihanna.dl.sourceforge.net/sourceforge/libdv/
X
XMAINTAINER=	tech-pkg-ja@jp.NetBSD.org
XHOMEPAGE=	http://libdv.sourceforge.net/
XCOMMENT=	a GPL codec for DV video
X
XUSE_BUILDLINK2=	yes
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS+=--prefix=${PREFIX}
X
X.include "../../mk/bsd.prefs.mk"
X.if empty(MACHINE_PLATFORM:MNetBSD-*-i386)
XCONFIGURE_ARGS+=--disable-asm
X.endif
X
X#if Xfree86 < ver. 4.x.x, uncomment 
X#CONFIGURE_ARGS+=--disable-xv
X
X.include "../../converters/libiconv/buildlink2.mk"
X.include "../../devel/gettext-lib/buildlink2.mk"
X.include "../../devel/glib/buildlink2.mk"
X.include "../../devel/popt/buildlink2.mk"
X.include "../../x11/gtk/buildlink2.mk"
X.include "../../mk/ossaudio.buildlink2.mk"
X.include "../../mk/bsd.pkg.mk"
END-of-libdv/Makefile
echo x - libdv/PLIST
sed 's/^X//' >libdv/PLIST << 'END-of-libdv/PLIST'
X@comment $NetBSD$
Xbin/dubdv
Xbin/dvconnect
Xbin/encodedv
Xbin/playdv
Xinclude/libdv/dv.h
Xinclude/libdv/dv1394.h
Xinclude/libdv/dv_types.h
Xlib/libdv.a
Xlib/libdv.la
Xlib/libdv.so
Xlib/libdv.so.4
Xlib/libdv.so.4.0
Xlib/pkgconfig/libdv.pc
Xman/man1/dubdv.1
Xman/man1/dvconnect.1
Xman/man1/encodedv.1
Xman/man1/playdv.1
X@dirrm include/libdv
END-of-libdv/PLIST
echo x - libdv/distinfo
sed 's/^X//' >libdv/distinfo << 'END-of-libdv/distinfo'
X$NetBSD$
X
XSHA1 (libdv-0.101.tar.gz) = ecff65f2334c75820706f380dec461e9c8590165
XSize (libdv-0.101.tar.gz) = 476510 bytes
XSHA1 (patch-aa) = e65be0a4ec63b287ec519477e956f80419317083
END-of-libdv/distinfo
echo x - libdv/buildlink2.mk
sed 's/^X//' >libdv/buildlink2.mk << 'END-of-libdv/buildlink2.mk'
X# $NetBSD$
X#
X# This Makefile fragment is included by packages that use libdv.
X#
X# This file was created automatically using createbuildlink 2.9.
X#
X
X.if !defined(LIBDV_BUILDLINK2_MK)
XLIBDV_BUILDLINK2_MK=	# defined
X
XBUILDLINK_PACKAGES+=			libdv
XBUILDLINK_DEPENDS.libdv?=		libdv>=0.101
XBUILDLINK_PKGSRCDIR.libdv?=		../../developing/libdv
X
XEVAL_PREFIX+=	BUILDLINK_PREFIX.libdv=libdv
XBUILDLINK_PREFIX.libdv_DEFAULT=	${LOCALBASE}
XBUILDLINK_FILES.libdv+=	include/libdv/dv.h
XBUILDLINK_FILES.libdv+=	include/libdv/dv1394.h
XBUILDLINK_FILES.libdv+=	include/libdv/dv_types.h
XBUILDLINK_FILES.libdv+=	lib/libdv.*
X
X.include "../../converters/libiconv/buildlink2.mk"
X.include "../../devel/gettext-lib/buildlink2.mk"
X.include "../../devel/glib/buildlink2.mk"
X.include "../../devel/popt/buildlink2.mk"
X.include "../../x11/gtk/buildlink2.mk"
X
XBUILDLINK_TARGETS+=	libdv-buildlink
X
Xlibdv-buildlink: _BUILDLINK_USE
X
X.endif	# LIBDV_BUILDLINK2_MK
END-of-libdv/buildlink2.mk
echo c - libdv/patches
mkdir -p libdv/patches > /dev/null 2>&1
echo x - libdv/patches/patch-aa
sed 's/^X//' >libdv/patches/patch-aa << 'END-of-libdv/patches/patch-aa'
X+++ libdv/Makefile.in	Fri Jan 30 09:11:16 2004
X@@ -76,9 +76,9 @@
X INSTALL_PROGRAM = @INSTALL_PROGRAM@
X INSTALL_SCRIPT = @INSTALL_SCRIPT@
X INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
X-LDFLAGS = @LDFLAGS@
X+LDFLAGS += @LDFLAGS@ ${PTHREAD_LIBS} ${LIBOSSAUDIO} 
X LIBOBJS = @LIBOBJS@
X-LIBS = @LIBS@
X+LIBS += @LIBS@ ${PTHREAD_LIBS} ${LIBOSSAUDIO} 
X 
X LIBTOOL = $(SHELL) $(top_builddir)/libtool --silent
X LN_S = @LN_S@
END-of-libdv/patches/patch-aa
exit

>Fix:
	


>Release-Note:
>Audit-Trail:
>Unformatted: