summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libmpeg2/DESCR2
-rw-r--r--graphics/libmpeg2/Makefile21
-rw-r--r--graphics/libmpeg2/PLIST15
-rw-r--r--graphics/libmpeg2/buildlink2.mk28
-rw-r--r--graphics/libmpeg2/distinfo4
5 files changed, 70 insertions, 0 deletions
diff --git a/graphics/libmpeg2/DESCR b/graphics/libmpeg2/DESCR
new file mode 100644
index 00000000000..e29d25444fc
--- /dev/null
+++ b/graphics/libmpeg2/DESCR
@@ -0,0 +1,2 @@
+libmpeg2 is a free library for decoding mpeg-2 and mpeg-1 video streams
+acclaimed to be the fasted around.
diff --git a/graphics/libmpeg2/Makefile b/graphics/libmpeg2/Makefile
new file mode 100644
index 00000000000..1ec7a1a9993
--- /dev/null
+++ b/graphics/libmpeg2/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/08/05 07:13:42 wulf Exp $
+
+DISTNAME= mpeg2dec-${PKGNAME:S/libmpeg2-//}
+PKGNAME= libmpeg2-20030612
+CATEGORIES= graphics
+MASTER_SITES= http://www.videolan.org/pub/vlc/0.6.1/contrib/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= wulf@netbsd.org
+HOMEPAGE= http://libmpeg2.sourceforge.net/
+COMMENT= library for decoding mpeg-2 and mpeg-1 video streams
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_LIBTOOL= yes
+USE_BUILDLINK2= yes
+
+CONFIGURE_ARGS= --enable-shared
+
+.include "../../devel/SDL/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/libmpeg2/PLIST b/graphics/libmpeg2/PLIST
new file mode 100644
index 00000000000..6a6dd45c1b3
--- /dev/null
+++ b/graphics/libmpeg2/PLIST
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/08/05 07:13:42 wulf Exp $
+include/mpeg2dec/mpeg2.h
+include/mpeg2dec/convert.h
+lib/libmpeg2.la
+lib/libmpeg2.so.0.0
+lib/libmpeg2.so.0
+lib/libmpeg2.so
+lib/libmpeg2.a
+lib/pkgconfig/libmpeg2.pc
+bin/mpeg2dec
+bin/extract_mpeg2
+bin/corrupt_mpeg2
+man/man1/mpeg2dec.1
+man/man1/extract_mpeg2.1
+@dirrm include/mpeg2dec
diff --git a/graphics/libmpeg2/buildlink2.mk b/graphics/libmpeg2/buildlink2.mk
new file mode 100644
index 00000000000..bd95c1eac8b
--- /dev/null
+++ b/graphics/libmpeg2/buildlink2.mk
@@ -0,0 +1,28 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/08/05 07:13:42 wulf Exp $
+#
+# This Makefile fragment is included by packages that use libmpeg2.
+#
+# This file was created automatically using createbuildlink 2.6.
+#
+
+.if !defined(LIBMPEG2_BUILDLINK2_MK)
+LIBMPEG2_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= libmpeg2
+BUILDLINK_DEPENDS.libmpeg2?= libmpeg2>=20030612
+BUILDLINK_PKGSRCDIR.libmpeg2?= ../../graphics/libmpeg2
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.libmpeg2=libmpeg2
+BUILDLINK_PREFIX.libmpeg2_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.libmpeg2+= include/mpeg2dec/mpeg2.h
+BUILDLINK_FILES.libmpeg2+= include/mpeg2dec/convert.h
+BUILDLINK_FILES.libmpeg2+= lib/libmpeg2.*
+BUILDLINK_FILES.libmpeg2+= lib/pkgconfig/libmpeg2.pc
+
+.include "../../devel/SDL/buildlink2.mk"
+
+BUILDLINK_TARGETS+= libmpeg2-buildlink
+
+libmpeg2-buildlink: _BUILDLINK_USE
+
+.endif # LIBMPEG2_BUILDLINK2_MK
diff --git a/graphics/libmpeg2/distinfo b/graphics/libmpeg2/distinfo
new file mode 100644
index 00000000000..c72a2ea6bfb
--- /dev/null
+++ b/graphics/libmpeg2/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/08/05 07:13:42 wulf Exp $
+
+SHA1 (mpeg2dec-20030612.tar.bz2) = 7d6b9cdf25e96bb5b424d26f735b0efa6f695672
+Size (mpeg2dec-20030612.tar.bz2) = 374723 bytes