diff options
author | wiz <wiz@pkgsrc.org> | 2013-01-22 11:45:56 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2013-01-22 11:45:56 +0000 |
commit | 23120d22c4e956bb4c85f5c6a5e62cd60dccdd62 (patch) | |
tree | fb5cb22de1b07067cc14fb118fa9f230aacae573 | |
parent | 7c840025e8609df1f5e12fd656e3a35a35a899a4 (diff) | |
download | pkgsrc-23120d22c4e956bb4c85f5c6a5e62cd60dccdd62.tar.gz |
Add libdvbpsi0 -- the world isn't ready for libdvbpsi 1.x yet.
-rw-r--r-- | multimedia/Makefile | 3 | ||||
-rw-r--r-- | multimedia/libdvbpsi0/DESCR | 19 | ||||
-rw-r--r-- | multimedia/libdvbpsi0/Makefile | 20 | ||||
-rw-r--r-- | multimedia/libdvbpsi0/PLIST | 47 | ||||
-rw-r--r-- | multimedia/libdvbpsi0/buildlink3.mk | 13 | ||||
-rw-r--r-- | multimedia/libdvbpsi0/distinfo | 7 | ||||
-rw-r--r-- | multimedia/libdvbpsi0/patches/patch-aa | 13 | ||||
-rw-r--r-- | multimedia/libdvbpsi0/patches/patch-ab | 13 |
8 files changed, 134 insertions, 1 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile index 921ad4fba09..9fb1d187ff1 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.200 2013/01/22 11:41:19 wiz Exp $ +# $NetBSD: Makefile,v 1.201 2013/01/22 11:45:56 wiz Exp $ # COMMENT= Multimedia utilities @@ -91,6 +91,7 @@ SUBDIR+= libassetml SUBDIR+= libdv SUBDIR+= libdv-tools SUBDIR+= libdvbpsi +SUBDIR+= libdvbpsi0 SUBDIR+= libdvdcss SUBDIR+= libdvdnav SUBDIR+= libdvdplay diff --git a/multimedia/libdvbpsi0/DESCR b/multimedia/libdvbpsi0/DESCR new file mode 100644 index 00000000000..8f4346cc905 --- /dev/null +++ b/multimedia/libdvbpsi0/DESCR @@ -0,0 +1,19 @@ +libdvbpsi is a simple library designed for decoding and generation of MPEG TS +and DVB PSI tables. + +Current features + + Program Association Table (PAT), decoder and generator. + Program Map Table (PMT), decoder and generator. + All MPEG 2 descriptors, decoders and generators. + +The libdvbpsi is part of the VideoLAN project, a full MPEG2 +client/server solution. The libdvbpsi can also be used with extra +programs that need DVB and PSI decoders and generators. + +The VideoLAN team decided to write the libdvbpsi to make the VideoLAN +Client and the VideoLAN Server capable of demultiplexing a satellite +DVB stream. The library aims at making it easy to decode PSI tables +(such as PAT, PMT etc.) present in a TS/DVB stream. + +This package contains the old 0.x version of the library. diff --git a/multimedia/libdvbpsi0/Makefile b/multimedia/libdvbpsi0/Makefile new file mode 100644 index 00000000000..fc2a8bef747 --- /dev/null +++ b/multimedia/libdvbpsi0/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1 2013/01/22 11:45:57 wiz Exp $ + +DISTNAME= libdvbpsi-0.2.2 +CATEGORIES= multimedia +MASTER_SITES= http://www.videolan.org/pub/libdvbpsi/${PKGVERSION_NOREV}/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.videolan.org/ +COMMENT= PSI decoder and generator library for MPEG2 and DVB streams (v0.x) +LICENSE= gnu-lgpl-v2.1 + +USE_TOOLS+= gmake +USE_LIBTOOL= yes +GNU_CONFIGURE= yes +PKGCONFIG_OVERRIDE= libdvbpsi.pc.in + +LIBS.SunOS+= -lsocket -lnsl + +.include "../../mk/bsd.pkg.mk" diff --git a/multimedia/libdvbpsi0/PLIST b/multimedia/libdvbpsi0/PLIST new file mode 100644 index 00000000000..47d0d4b142b --- /dev/null +++ b/multimedia/libdvbpsi0/PLIST @@ -0,0 +1,47 @@ +@comment $NetBSD: PLIST,v 1.1 2013/01/22 11:45:57 wiz Exp $ +include/dvbpsi/bat.h +include/dvbpsi/cat.h +include/dvbpsi/demux.h +include/dvbpsi/descriptor.h +include/dvbpsi/dr.h +include/dvbpsi/dr_02.h +include/dvbpsi/dr_03.h +include/dvbpsi/dr_04.h +include/dvbpsi/dr_05.h +include/dvbpsi/dr_06.h +include/dvbpsi/dr_07.h +include/dvbpsi/dr_08.h +include/dvbpsi/dr_09.h +include/dvbpsi/dr_0a.h +include/dvbpsi/dr_0b.h +include/dvbpsi/dr_0c.h +include/dvbpsi/dr_0d.h +include/dvbpsi/dr_0e.h +include/dvbpsi/dr_0f.h +include/dvbpsi/dr_42.h +include/dvbpsi/dr_43.h +include/dvbpsi/dr_44.h +include/dvbpsi/dr_45.h +include/dvbpsi/dr_47.h +include/dvbpsi/dr_48.h +include/dvbpsi/dr_4d.h +include/dvbpsi/dr_4e.h +include/dvbpsi/dr_52.h +include/dvbpsi/dr_55.h +include/dvbpsi/dr_56.h +include/dvbpsi/dr_58.h +include/dvbpsi/dr_59.h +include/dvbpsi/dr_5a.h +include/dvbpsi/dr_69.h +include/dvbpsi/dr_8a.h +include/dvbpsi/dvbpsi.h +include/dvbpsi/eit.h +include/dvbpsi/nit.h +include/dvbpsi/pat.h +include/dvbpsi/pmt.h +include/dvbpsi/psi.h +include/dvbpsi/sdt.h +include/dvbpsi/sis.h +include/dvbpsi/tot.h +lib/libdvbpsi.la +lib/pkgconfig/libdvbpsi.pc diff --git a/multimedia/libdvbpsi0/buildlink3.mk b/multimedia/libdvbpsi0/buildlink3.mk new file mode 100644 index 00000000000..024261c3e72 --- /dev/null +++ b/multimedia/libdvbpsi0/buildlink3.mk @@ -0,0 +1,13 @@ +# $NetBSD: buildlink3.mk,v 1.1 2013/01/22 11:45:57 wiz Exp $ + +BUILDLINK_TREE+= libdvbpsi0 + +.if !defined(LIBDVBPSI0_BUILDLINK3_MK) +LIBDVBPSI0_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.libdvbpsi0+= libdvbpsi>=0.1.3<1.0 +BUILDLINK_ABI_DEPENDS.libdvbpsi0+= libdvbpsi>=0.1.6<1.0 +BUILDLINK_PKGSRCDIR.libdvbpsi0?= ../../multimedia/libdvbpsi0 +.endif # LIBDVBPSI0_BUILDLINK3_MK + +BUILDLINK_TREE+= -libdvbpsi0 diff --git a/multimedia/libdvbpsi0/distinfo b/multimedia/libdvbpsi0/distinfo new file mode 100644 index 00000000000..bc7d30647b2 --- /dev/null +++ b/multimedia/libdvbpsi0/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2013/01/22 11:45:57 wiz Exp $ + +SHA1 (libdvbpsi-0.2.2.tar.bz2) = 562d46ce256a678309f7c39be8cf31eea4bf6757 +RMD160 (libdvbpsi-0.2.2.tar.bz2) = 46fa5a96fff3a0648554a74ada30962a742b9e7f +Size (libdvbpsi-0.2.2.tar.bz2) = 330403 bytes +SHA1 (patch-aa) = dc8c3b5a99e5e6dd73f0d0461e0924bcbdfbeb7d +SHA1 (patch-ab) = eea9e53dac6982d1681ccd005960ceef3a0d74e8 diff --git a/multimedia/libdvbpsi0/patches/patch-aa b/multimedia/libdvbpsi0/patches/patch-aa new file mode 100644 index 00000000000..68e710b6663 --- /dev/null +++ b/multimedia/libdvbpsi0/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2013/01/22 11:45:57 wiz Exp $ + +--- examples/connect.c.orig 2011-05-19 13:04:02.000000000 +0000 ++++ examples/connect.c +@@ -38,7 +38,7 @@ + # include <netinet/if_ether.h> + #endif + #include <netdb.h> +-#ifndef BSD ++#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__) + # include <netinet/ip.h> + #endif + #include <netinet/udp.h> diff --git a/multimedia/libdvbpsi0/patches/patch-ab b/multimedia/libdvbpsi0/patches/patch-ab new file mode 100644 index 00000000000..71dd499f8fc --- /dev/null +++ b/multimedia/libdvbpsi0/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 2013/01/22 11:45:57 wiz Exp $ + +--- configure.orig 2011-09-01 08:45:08.000000000 +0000 ++++ configure +@@ -11643,8 +11643,6 @@ fi + if test "$release" = "true" + then + CFLAGS="${CFLAGS} -O6" +-else +- CFLAGS="${CFLAGS} -O2" + fi + + for ac_header in stdint.h inttypes.h |