svn commit: r333613 - in head/multimedia: . smpeg2 smpeg2/files
Marcus von Appen
mva at FreeBSD.org
Tue Nov 12 20:10:08 UTC 2013
Author: mva
Date: Tue Nov 12 20:10:06 2013
New Revision: 333613
URL: http://svnweb.freebsd.org/changeset/ports/333613
Log:
Version 2 of the smpeg library.
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.
WWW: http://icculus.org/smpeg/
PR: ports/183360
Submitted by: Vladimir Kondratiev <wulf at corp.infotel.ru>
Added:
head/multimedia/smpeg2/
head/multimedia/smpeg2/Makefile (contents, props changed)
head/multimedia/smpeg2/distinfo (contents, props changed)
head/multimedia/smpeg2/files/
head/multimedia/smpeg2/files/patch-Makefile.in (contents, props changed)
head/multimedia/smpeg2/pkg-descr (contents, props changed)
head/multimedia/smpeg2/pkg-plist (contents, props changed)
Modified:
head/multimedia/Makefile
Modified: head/multimedia/Makefile
==============================================================================
--- head/multimedia/Makefile Tue Nov 12 20:03:21 2013 (r333612)
+++ head/multimedia/Makefile Tue Nov 12 20:10:06 2013 (r333613)
@@ -314,6 +314,7 @@
SUBDIR += shell-fm
SUBDIR += smile
SUBDIR += smpeg
+ SUBDIR += smpeg2
SUBDIR += smplayer
SUBDIR += smplayer-skins
SUBDIR += smplayer-themes
Added: head/multimedia/smpeg2/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/smpeg2/Makefile Tue Nov 12 20:10:06 2013 (r333613)
@@ -0,0 +1,38 @@
+# Created by: Vladimir Kondratiev <wulf at mail.mipt.ru>
+# $FreeBSD$
+
+PORTNAME= smpeg2
+PORTVERSION= 2.0.0
+CATEGORIES= multimedia
+MASTER_SITES= http://www.libsdl.org/projects/smpeg/release/ \
+ http://rsync.macports.org/smpeg2/
+
+MAINTAINER= wulf at mail.mipt.ru
+COMMENT= Free MPEG1 video player library with sound support
+
+LICENSE= GPLv2
+
+GNU_CONFIGURE= yes
+USE_SDL= sdl2
+USE_LDCONFIG= yes
+
+OPTIONS_DEFINE= PLAYMPEG
+OPTIONS_DEFAULT=
+PLAYMPEG_DESC= Build plaympeg binary (conficts with smpeg)
+OPTIONS_SUB= yes
+
+CONFIGURE_ARGS= --enable-mmx
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MPLAYMPEG}
+CONFLICTS+= smpeg
+.endif
+
+post-patch:
+.if ! ${PORT_OPTIONS:MPLAYMPEG}
+ @${REINPLACE_CMD} -e '/^bin_PROGRAMS =/s/plaympeg$$(EXEEXT)// ; \
+ /^man_MANS =/s/plaympeg\.1//' ${WRKSRC}/Makefile.in
+.endif
+
+.include <bsd.port.mk>
Added: head/multimedia/smpeg2/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/smpeg2/distinfo Tue Nov 12 20:10:06 2013 (r333613)
@@ -0,0 +1,2 @@
+SHA256 (smpeg2-2.0.0.tar.gz) = 979a65b211744a44fa641a9b6e4d64e64a12ff703ae776bafe3c4c4cd85494b3
+SIZE (smpeg2-2.0.0.tar.gz) = 482322
Added: head/multimedia/smpeg2/files/patch-Makefile.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/smpeg2/files/patch-Makefile.in Tue Nov 12 20:10:06 2013 (r333613)
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2013-06-01 21:07:34.000000000 +0400
++++ Makefile.in 2013-07-07 10:10:56.035849523 +0400
+@@ -432,7 +432,6 @@
+ smpeg.h
+
+ libsmpeg2_la_LDFLAGS = \
+- -release $(LT_RELEASE) \
+ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
+
+ EXTRA_DIST = \
+
Added: head/multimedia/smpeg2/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/smpeg2/pkg-descr Tue Nov 12 20:10:06 2013 (r333613)
@@ -0,0 +1,14 @@
+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.
+
+WWW: http://icculus.org/smpeg/
Added: head/multimedia/smpeg2/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/smpeg2/pkg-plist Tue Nov 12 20:10:06 2013 (r333613)
@@ -0,0 +1,20 @@
+%%PLAYMPEG%%bin/plaympeg
+bin/smpeg2-config
+include/smpeg2/MPEG.h
+include/smpeg2/MPEGaction.h
+include/smpeg2/MPEGaudio.h
+include/smpeg2/MPEGerror.h
+include/smpeg2/MPEGframe.h
+include/smpeg2/MPEGlist.h
+include/smpeg2/MPEGring.h
+include/smpeg2/MPEGstream.h
+include/smpeg2/MPEGsystem.h
+include/smpeg2/MPEGvideo.h
+include/smpeg2/smpeg.h
+lib/libsmpeg2.a
+lib/libsmpeg2.la
+lib/libsmpeg2.so
+lib/libsmpeg2.so.0
+%%PLAYMPEG%%man/man1/plaympeg.1.gz
+share/aclocal/smpeg2.m4
+ at dirrm include/smpeg2
More information about the svn-ports-all
mailing list