pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/bsdav Import the bsdav package, a BSD audio...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7b0cc8438f42
branches:  trunk
changeset: 538159:7b0cc8438f42
user:      bjs <bjs%pkgsrc.org@localhost>
date:      Wed Jan 30 19:21:08 2008 +0000

description:
Import the bsdav package, a BSD audio/video I/O library and assorted
utilities.  Blurb:


The bsdav package contains programs for reading and writing audio
and video.  The programs use BSD-native devices.  Naturally, the
source code is BSD-licensed as well.  These programs depend on
the libbsdav library for both accessing audio(4) and bktr(4) devices.
(Hopefully, more documentation will be written soon on how to use
the functions libbsdav contains!)

While one of the goals of the bsdav project is simplicity, another
goal is to make A/V processing on BSD systems easily accessible.
Moreover, to ease the storage and synchronization of both audio
and video streams, bsdav has it's own, very simple, A/V container
format.

Hopefully the bsdav programs are clear and correct enough such that
they help others understand how to use audio(4) and bktr(4).

diffstat:

 multimedia/bsdav/DESCR         |  15 +++++++++++++++
 multimedia/bsdav/Makefile      |  42 ++++++++++++++++++++++++++++++++++++++++++
 multimedia/bsdav/PLIST         |  24 ++++++++++++++++++++++++
 multimedia/bsdav/PLIST.x11     |  10 ++++++++++
 multimedia/bsdav/buildlink3.mk |  29 +++++++++++++++++++++++++++++
 multimedia/bsdav/distinfo      |   5 +++++
 6 files changed, 125 insertions(+), 0 deletions(-)

diffs (149 lines):

diff -r 73d71e95ec32 -r 7b0cc8438f42 multimedia/bsdav/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/bsdav/DESCR    Wed Jan 30 19:21:08 2008 +0000
@@ -0,0 +1,15 @@
+The bsdav package contains programs for reading and writing audio
+and video.  The programs use BSD-native devices.  Naturally, the
+source code is BSD-licensed as well.  These programs depend on
+the libbsdav library for both accessing audio(4) and bktr(4) devices.
+(Hopefully, more documentation will be written soon on how to use
+the functions libbsdav contains!)
+
+While one of the goals of the bsdav project is simplicity, another
+goal is to make A/V processing on BSD systems easily accessible.
+Moreover, to ease the storage and synchronization of both audio
+and video streams, bsdav has it's own, very simple, A/V container
+format.
+
+Hopefully the bsdav programs are clear and correct enough such that
+they help others understand how to use audio(4) and bktr(4).
diff -r 73d71e95ec32 -r 7b0cc8438f42 multimedia/bsdav/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/bsdav/Makefile Wed Jan 30 19:21:08 2008 +0000
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/01/30 19:21:08 bjs Exp $
+#
+
+DISTNAME=      bsdav-1.4
+CATEGORIES=    multimedia
+MASTER_SITES=  http://www.NetBSD.org/~bjs/distfiles/
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    bjs%NetBSD.org@localhost
+HOMEPAGE=      http://jakemsr.trancell.org/
+COMMENT=       BSD Audio/Video library and tools by <jakemsr%openbsd.org@localhost>
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+ONLY_FOR_PLATFORM=     FreeBSD-*-* NetBSD-*-* OpenBSD-*-* DragonFly-*-*
+
+USE_BSD_MAKEFILE=      yes
+NO_CONFIGURE=          yes
+
+MAKE_ENV+=             DIST=${WRKSRC}
+MAKE_ENV+=             MKPICINSTALL=no
+MAKE_ENV+=             MKSTATIC=no
+
+AUTO_MKDIRS=           yes
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.bsdav
+PKG_SUPPORTED_OPTIONS= x11
+
+PLIST_SRC=             ${WRKDIR}/.PLIST_SRC
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mx11)
+MAKE_ENV+=             BUILD_X11PROGS=yes
+PLIST_SRC+=            PLIST.x11
+.  include "../../x11/libXv/buildlink3.mk"
+.endif
+
+post-extract:
+       ${CP} ${PKGDIR}/PLIST ${WRKDIR}/.PLIST_SRC
+
+.include "../../mk/bsd.pkg.mk"
diff -r 73d71e95ec32 -r 7b0cc8438f42 multimedia/bsdav/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/bsdav/PLIST    Wed Jan 30 19:21:08 2008 +0000
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/01/30 19:21:08 bjs Exp $
+bin/audiorec
+bin/bktrrec
+bin/bsdavdemux
+bin/bsdavrec
+bin/btv
+bin/tunerctl
+lib/libbsdav.a
+lib/libbsdav.so
+lib/libbsdav.so.2
+lib/libbsdav.so.2.0
+lib/libbsdav_p.a
+man/cat1/audiorec.0
+man/cat1/bktrrec.0
+man/cat1/bsdavdemux.0
+man/cat1/bsdavrec.0
+man/cat1/tunerctl.0
+man/cat5/bsdav.0
+man/man1/audiorec.1
+man/man1/bktrrec.1
+man/man1/bsdavdemux.1
+man/man1/bsdavrec.1
+man/man1/tunerctl.1
+man/man5/bsdav.5
diff -r 73d71e95ec32 -r 7b0cc8438f42 multimedia/bsdav/PLIST.x11
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/bsdav/PLIST.x11        Wed Jan 30 19:21:08 2008 +0000
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST.x11,v 1.1.1.1 2008/01/30 19:21:08 bjs Exp $
+bin/avplay
+bin/bktrplay
+bin/bsdavplay
+man/cat1/avplay.0
+man/cat1/bktrplay.0
+man/cat1/bsdavplay.0
+man/man1/avplay.1
+man/man1/bktrplay.1
+man/man1/bsdavplay.1
diff -r 73d71e95ec32 -r 7b0cc8438f42 multimedia/bsdav/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/bsdav/buildlink3.mk    Wed Jan 30 19:21:08 2008 +0000
@@ -0,0 +1,29 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/01/30 19:21:08 bjs Exp $
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+BSDAV_BUILDLINK3_MK:=  ${BSDAV_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+=    bsdav
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nbsdav}
+BUILDLINK_PACKAGES+=   bsdav
+BUILDLINK_ORDER:=      ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}bsdav
+
+.if ${BSDAV_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.bsdav+=  bsdav>=1.4
+BUILDLINK_PKGSRCDIR.bsdav?=    ../../multimedia/bsdav
+BUILDLINK_LDADD.bsdav=         -lbsdav
+BUILDLINK_FILES.bsdav=                 include/bsdav.h
+LIBBSDAV?= ${BUILDLINK_LDADD.bsdav}
+
+pkgbase := bsdav
+.  include "../../mk/pkg-build-options.mk"
+.endif # BSDAV_BUILDLINK3_MK
+
+.if !empty(PKG_BUILD_OPTIONS.bsdav:Mx11)
+.  include "../../x11/libXv/buildlink3.mk"
+.endif
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH:S/+$//}
diff -r 73d71e95ec32 -r 7b0cc8438f42 multimedia/bsdav/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/bsdav/distinfo Wed Jan 30 19:21:08 2008 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/01/30 19:21:08 bjs Exp $
+
+SHA1 (bsdav-1.4.tar.bz2) = 89cc652951bd4e1761fe8b2b065f7dd07abd3c29
+RMD160 (bsdav-1.4.tar.bz2) = 686c4d79e580dda1eb9b2be1bfe46ce5d6a9a154
+Size (bsdav-1.4.tar.bz2) = 60807 bytes



Home | Main Index | Thread Index | Old Index