import of libmpeg2-20030612:

libmpeg2 is a free library for decoding mpeg-2 and mpeg-1 video streams.
This commit is contained in:
jolan 2003-07-19 18:18:07 +00:00
parent 11fd439b1b
commit 6b8151c2cf
7 changed files with 156 additions and 0 deletions

View File

@ -0,0 +1,30 @@
# $OpenBSD: Makefile,v 1.1.1.1 2003/07/19 18:18:07 jolan Exp $
COMMENT= "free MPEG-2 video stream decoder"
DISTNAME= mpeg2dec-20030612
PKGNAME= libmpeg2-20030612
EXTRACT_SUFX= .tar.bz2
CATEGORIES= graphics x11
MASTER_SITES= http://www.videolan.org/pub/videolan/vlc/0.6.0/contrib/
HOMEPAGE= http://libmpeg2.sourceforge.net/
MAINTAINER= Jolan Luff <jolan@openbsd.org>
# GPL
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
USE_X11= Yes
BUILD_DEPENDS= :pkgconfig->=0.12.0p1:devel/pkgconfig
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
LIBS="-lX11 -lXext -lXv"
CONFIGURE_ARGS+=${CONFIGURE_SHARED} --disable-sdl
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (mpeg2dec-20030612.tar.bz2) = f2ea1d566f985f95f3ce0f0844721b8e
RMD160 (mpeg2dec-20030612.tar.bz2) = 560c3eeb9114703eb296d9376e71d13ab96a6ca2
SHA1 (mpeg2dec-20030612.tar.bz2) = 71f3ec4a9332be97671b8e744b9daf5ac09aee74

View File

@ -0,0 +1,30 @@
$OpenBSD: patch-autotools_config_sub,v 1.1.1.1 2003/07/19 18:18:07 jolan Exp $
--- autotools/config.sub.orig Wed Jul 9 20:31:02 2003
+++ autotools/config.sub Wed Jul 9 20:32:10 2003
@@ -179,7 +179,7 @@ case $basic_machine in
| hppa64 \
| alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \
| alphaev6[78] \
- | we32k | ns16k | clipper | i370 | sh | powerpc | powerpcle \
+ | we32k | ns16k | clipper | i370 | sh | macppc | powerpc | powerpcle \
| 1750a | dsp16xx | pdp11 | mips16 | mips64 | mipsel | mips64el \
| mips64orion | mips64orionel | mipstx39 | mipstx39el \
| mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \
@@ -216,7 +216,7 @@ case $basic_machine in
| alphaev6[78]-* \
| we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \
| clipper-* | orion-* \
- | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
+ | sparclite-* | pdp11-* | sh-* | macppc-* | powerpc-* | powerpcle-* \
| sparc64-* | sparcv9-* | sparc86x-* | mips16-* | mips64-* | mipsel-* \
| mips64el-* | mips64orion-* | mips64orionel-* \
| mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \
@@ -655,6 +655,8 @@ case $basic_machine in
;;
ppc) basic_machine=powerpc-unknown
;;
+ macppc-*) basic_machine=macppc-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
ppcle | powerpclittle | ppc-le | powerpc-little)

View File

@ -0,0 +1,75 @@
$OpenBSD: patch-configure,v 1.1.1.1 2003/07/19 18:18:07 jolan Exp $
--- configure.orig Fri Apr 18 19:04:16 2003
+++ configure Thu Jul 3 23:24:51 2003
@@ -3021,7 +3021,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- ac_cv_try_cflags_ok=yes
+ ac_cv_try_cflags_ok=no
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
@@ -3078,7 +3078,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- ac_cv_try_cflags_ok=yes
+ ac_cv_try_cflags_ok=no
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
@@ -3137,7 +3137,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- ac_cv_try_cflags_ok=yes
+ ac_cv_try_cflags_ok=no
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
@@ -3486,7 +3486,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- ac_cv_try_cflags_ok=yes
+ ac_cv_try_cflags_ok=no
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
@@ -3536,7 +3536,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- ac_cv_try_cflags_ok=yes
+ ac_cv_try_cflags_ok=no
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
@@ -3581,7 +3581,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- ac_cv_try_cflags_ok=yes
+ ac_cv_try_cflags_ok=no
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
@@ -3642,7 +3642,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- ac_cv_try_cflags_ok=yes
+ ac_cv_try_cflags_ok=no
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
@@ -7612,7 +7612,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- ac_cv_try_cflags_ok=yes
+ ac_cv_try_cflags_ok=no
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5

View File

@ -0,0 +1 @@
libmpeg2 is a free library for decoding mpeg-2 and mpeg-1 video streams.

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2003/07/19 18:18:07 jolan Exp $
lib/libmpeg2.so.0.0
DYNLIBDIR(%D/lib)

View File

@ -0,0 +1,14 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/07/19 18:18:07 jolan Exp $
bin/corrupt_mpeg2
bin/extract_mpeg2
@comment bin/mpeg2dec
include/mpeg2dec/convert.h
include/mpeg2dec/mpeg2.h
lib/libmpeg2.a
lib/libmpeg2.la
lib/pkgconfig/libmpeg2.pc
man/man1/extract_mpeg2.1
@comment man/man1/mpeg2dec.1
%%SHARED%%
@comment @dirrm lib/pkgconfig
@dirrm include/mpeg2dec