Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Oct 2013 13:19:25 GMT
From:      Vladimir Kondratiev <wulf@corp.infotel.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/183360: [new port] multimedia/smpeg2 A free MPEG1 video player library with sound support
Message-ID:  <201310271319.r9RDJPf1013822@oldred.freebsd.org>
Resent-Message-ID: <201310271320.r9RDK0So086804@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         183360
>Category:       ports
>Synopsis:       [new port] multimedia/smpeg2 A free MPEG1 video player library with sound support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 27 13:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Vladimir Kondratiev
>Release:        
>Organization:
>Environment:
>Description:
SMPEG is a free MPEG1 video player library with sound support.  Video playback
is based on the ubiquitous Berkeley MPEG player, mpeg_play v2.2.  Audio is
played through a slightly modified mpegsound library, part of Splay v0.8.2.
SMPEG supports MPEG audio (MP3), MPEG-1 video, and MPEG system streams.

plaympeg is simple video players provided to test the library.  The C library
interface is 'documented' in smpeg.h, and the C++ library interface is spread
out over the MPEG*.h files.

This is a work in progress.  Only 16 or 32 bit color depth is supported.
The player will dynamically conver to other color depths, but playback
will be much faster if your display is already set to 16 bit color depth.

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	smpeg2
#	smpeg2/files
#	smpeg2/files/patch-Makefile.in
#	smpeg2/pkg-descr
#	smpeg2/distinfo
#	smpeg2/Makefile
#	smpeg2/pkg-plist
#
echo c - smpeg2
mkdir -p smpeg2 > /dev/null 2>&1
echo c - smpeg2/files
mkdir -p smpeg2/files > /dev/null 2>&1
echo x - smpeg2/files/patch-Makefile.in
sed 's/^X//' >smpeg2/files/patch-Makefile.in << '8ff3d0a99e698b382dfed8eb386d5398'
X--- Makefile.in.orig	2013-06-01 21:07:34.000000000 +0400
X+++ Makefile.in	2013-07-07 10:10:56.035849523 +0400
X@@ -432,7 +432,6 @@
X 	smpeg.h
X 
X libsmpeg2_la_LDFLAGS = \
X-        -release $(LT_RELEASE)	\
X 	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
X 
X EXTRA_DIST = \
X 
8ff3d0a99e698b382dfed8eb386d5398
echo x - smpeg2/pkg-descr
sed 's/^X//' >smpeg2/pkg-descr << '88271a0b99725f79ad5204b937fc2445'
XSMPEG is a free MPEG1 video player library with sound support.  Video playback
Xis based on the ubiquitous Berkeley MPEG player, mpeg_play v2.2.  Audio is
Xplayed through a slightly modified mpegsound library, part of Splay v0.8.2.
XSMPEG supports MPEG audio (MP3), MPEG-1 video, and MPEG system streams.
X
Xplaympeg is simple video players provided to test the library.  The C library
Xinterface is 'documented' in smpeg.h, and the C++ library interface is spread
Xout over the MPEG*.h files.
X
XThis is a work in progress.  Only 16 or 32 bit color depth is supported.
XThe player will dynamically conver to other color depths, but playback
Xwill be much faster if your display is already set to 16 bit color depth.
X
XWWW: http://icculus.org/smpeg/
88271a0b99725f79ad5204b937fc2445
echo x - smpeg2/distinfo
sed 's/^X//' >smpeg2/distinfo << '55782ef117a518d4c4f08fea022e0c25'
XSHA256 (smpeg2-2.0.0.tar.gz) = 979a65b211744a44fa641a9b6e4d64e64a12ff703ae776bafe3c4c4cd85494b3
XSIZE (smpeg2-2.0.0.tar.gz) = 482322
55782ef117a518d4c4f08fea022e0c25
echo x - smpeg2/Makefile
sed 's/^X//' >smpeg2/Makefile << 'f9766f8d3af6ea04656521eb5d0a9690'
X# Created by: Vladimir Kondratiev <wulf@mail.mipt.ru>
X# $FreeBSD$
X
XPORTNAME=	smpeg2
XPORTVERSION=	2.0.0
XCATEGORIES=	multimedia
XMASTER_SITES=	http://www.libsdl.org/projects/smpeg/release/ \
X		http://rsync.macports.org/smpeg2/
X
XMAINTAINER=	wulf@mail.mipt.ru
XCOMMENT=	A free MPEG1 video player library with sound support
X
XLICENSE=	GPLv2
X
XGNU_CONFIGURE=	yes
XUSE_SDL=	sdl2
XUSE_LDCONFIG=	yes
X
XOPTIONS_DEFINE=	PLAYMPEG
XOPTIONS_DEFAULT=
XPLAYMPEG_DESC=	Build plaympeg binary (conficts with smpeg)
XOPTIONS_SUB=	yes
X
XCONFIGURE_ARGS=	--enable-mmx
X
X.include <bsd.port.options.mk>
X
X.if ${PORT_OPTIONS:MPLAYMPEG}
XCONFLICTS+=	smpeg
X.endif
X
Xpost-patch:
X.if ! ${PORT_OPTIONS:MPLAYMPEG}
X	@${REINPLACE_CMD} -e '/^bin_PROGRAMS =/s/plaympeg$$(EXEEXT)// ; \
X		/^man_MANS =/s/plaympeg\.1//' ${WRKSRC}/Makefile.in
X.endif
X
X.include <bsd.port.mk>
f9766f8d3af6ea04656521eb5d0a9690
echo x - smpeg2/pkg-plist
sed 's/^X//' >smpeg2/pkg-plist << 'df5c99d32ec29dfd6418191a6a651724'
X%%PLAYMPEG%%bin/plaympeg
Xbin/smpeg2-config
Xinclude/smpeg2/MPEG.h
Xinclude/smpeg2/MPEGaction.h
Xinclude/smpeg2/MPEGaudio.h
Xinclude/smpeg2/MPEGerror.h
Xinclude/smpeg2/MPEGframe.h
Xinclude/smpeg2/MPEGlist.h
Xinclude/smpeg2/MPEGring.h
Xinclude/smpeg2/MPEGstream.h
Xinclude/smpeg2/MPEGsystem.h
Xinclude/smpeg2/MPEGvideo.h
Xinclude/smpeg2/smpeg.h
Xlib/libsmpeg2.a
Xlib/libsmpeg2.la
Xlib/libsmpeg2.so
Xlib/libsmpeg2.so.0
X%%PLAYMPEG%%man/man1/plaympeg.1.gz
Xshare/aclocal/smpeg2.m4
X@dirrm include/smpeg2
df5c99d32ec29dfd6418191a6a651724
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310271319.r9RDJPf1013822>