summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-04-14 12:07:30 +0000
committerjmmv <jmmv@pkgsrc.org>2004-04-14 12:07:30 +0000
commita29c215c7accd4714b5e38f1aa0bd054ac6fbe90 (patch)
tree078b04338d63f58512850a1b7f40d84b634fa8e2 /multimedia
parentc09d7d33d2dc174438619dc892139a37011cdfa3 (diff)
downloadpkgsrc-a29c215c7accd4714b5e38f1aa0bd054ac6fbe90.tar.gz
Move libmpeg2 from graphics to the multimedia category.
This is version 0.4.0.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libmpeg2/DESCR2
-rw-r--r--multimedia/libmpeg2/Makefile24
-rw-r--r--multimedia/libmpeg2/PLIST21
-rw-r--r--multimedia/libmpeg2/buildlink3.mk20
-rw-r--r--multimedia/libmpeg2/distinfo4
5 files changed, 71 insertions, 0 deletions
diff --git a/multimedia/libmpeg2/DESCR b/multimedia/libmpeg2/DESCR
new file mode 100644
index 00000000000..e29d25444fc
--- /dev/null
+++ b/multimedia/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/multimedia/libmpeg2/Makefile b/multimedia/libmpeg2/Makefile
new file mode 100644
index 00000000000..5b819ac46d5
--- /dev/null
+++ b/multimedia/libmpeg2/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/04/14 12:07:30 jmmv Exp $
+
+DISTNAME= mpeg2dec-0.4.0
+PKGNAME= libmpeg2-0.4.0
+CATEGORIES= multimedia
+MASTER_SITES= http://libmpeg2.sourceforge.net/files/
+
+MAINTAINER= wulf@NetBSD.org
+HOMEPAGE= http://libmpeg2.sourceforge.net/
+COMMENT= Library for decoding mpeg-2 and mpeg-1 video streams
+
+GNU_CONFIGURE= yes
+USE_GNU_TOOLS+= make
+USE_LIBTOOL= yes
+USE_BUILDLINK3= yes
+
+PKGCONFIG_OVERRIDE+= libmpeg2/convert/libmpeg2convert.pc.in
+PKGCONFIG_OVERRIDE+= libmpeg2/libmpeg2.pc.in
+
+CONFIGURE_ARGS= --enable-shared
+
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../devel/pkgconfig/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/libmpeg2/PLIST b/multimedia/libmpeg2/PLIST
new file mode 100644
index 00000000000..71ae0c1419c
--- /dev/null
+++ b/multimedia/libmpeg2/PLIST
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/04/14 12:07:30 jmmv Exp $
+bin/corrupt_mpeg2
+bin/extract_mpeg2
+bin/mpeg2dec
+include/mpeg2dec/mpeg2.h
+include/mpeg2dec/mpeg2convert.h
+lib/libmpeg2.a
+lib/libmpeg2.la
+lib/libmpeg2.so
+lib/libmpeg2.so.0
+lib/libmpeg2.so.0.0
+lib/libmpeg2convert.a
+lib/libmpeg2convert.la
+lib/libmpeg2convert.so
+lib/libmpeg2convert.so.0
+lib/libmpeg2convert.so.0.0
+lib/pkgconfig/libmpeg2.pc
+lib/pkgconfig/libmpeg2convert.pc
+man/man1/extract_mpeg2.1
+man/man1/mpeg2dec.1
+@dirrm include/mpeg2dec
diff --git a/multimedia/libmpeg2/buildlink3.mk b/multimedia/libmpeg2/buildlink3.mk
new file mode 100644
index 00000000000..83ccdbb8eba
--- /dev/null
+++ b/multimedia/libmpeg2/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/04/14 12:07:30 jmmv Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBMPEG2_BUILDLINK3_MK:= ${LIBMPEG2_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libmpeg2
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibmpeg2}
+BUILDLINK_PACKAGES+= libmpeg2
+
+.if !empty(LIBMPEG2_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libmpeg2+= libmpeg2>=0.4.0
+BUILDLINK_PKGSRCDIR.libmpeg2?= ../../multimedia/libmpeg2
+.endif # LIBMPEG2_BUILDLINK3_MK
+
+.include "../../devel/SDL/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/multimedia/libmpeg2/distinfo b/multimedia/libmpeg2/distinfo
new file mode 100644
index 00000000000..becf26d1c3b
--- /dev/null
+++ b/multimedia/libmpeg2/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/04/14 12:07:30 jmmv Exp $
+
+SHA1 (mpeg2dec-0.4.0.tar.gz) = d6e0b964e4adefeeceba10d677567b7b14d49c99
+Size (mpeg2dec-0.4.0.tar.gz) = 473690 bytes