summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>2000-02-03 08:06:41 +0000
committerChris Piazza <cpiazza@FreeBSD.org>2000-02-03 08:06:41 +0000
commit12f1e42196872d44da1da6df99e92058b5572b51 (patch)
tree5de036f0d6c2263b037d24a931e6c4eba464534d /multimedia
parentAdd a better keyword "EPWING" about this port to pkg/COMMENT (diff)
Better DESCR and COMMENT files from Maxim Sobolev
and merge in (really dumb) things that I forgot to do. PR: 16500 Submitted by: Maxim Sobolev <sobomax@altavista.net>
Notes
Notes: svn path=/head/; revision=25451
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/smpeg/Makefile11
-rw-r--r--multimedia/smpeg/pkg-comment2
-rw-r--r--multimedia/smpeg/pkg-descr14
-rw-r--r--multimedia/smpeg/pkg-plist2
4 files changed, 24 insertions, 5 deletions
diff --git a/multimedia/smpeg/Makefile b/multimedia/smpeg/Makefile
index c4e87749ac46..8dd4b7066f40 100644
--- a/multimedia/smpeg/Makefile
+++ b/multimedia/smpeg/Makefile
@@ -12,12 +12,19 @@ MASTER_SITES= http://www.lokigames.com/development/download/smpeg/
MAINTAINER= cpiazza@FreeBSD.org
-LIB_DEPENDS= SDL-1.0.2:${PORTSDIR}/devel/sdl
+LIB_DEPENDS= SDL-1.0.2:${PORTSDIR}/devel/sdl \
+ gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
GTK_CONFIG= ${X11BASE}/bin/gtk12-config
GNU_CONFIGURE= yes
USE_GMAKE= yes
-CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}"
+CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" \
+ GLBASE="${X11BASE}" \
+ CPPFLAGS="-I${X11BASE}/include"
+
+#If you want to try the opengl player (which doesn't seem to work)
+#comment out the following line.
+CONFIGURE_ARGS= --disable-opengl-player
MAN1= gtv.1 plaympeg.1
diff --git a/multimedia/smpeg/pkg-comment b/multimedia/smpeg/pkg-comment
index 2c26ffa252d1..57381a9ed880 100644
--- a/multimedia/smpeg/pkg-comment
+++ b/multimedia/smpeg/pkg-comment
@@ -1 +1 @@
-A free MPEG player that supports video and audio.
+SMPEG is a free MPEG1 video player library with sound support
diff --git a/multimedia/smpeg/pkg-descr b/multimedia/smpeg/pkg-descr
index 34e560a04396..40372a325b4b 100644
--- a/multimedia/smpeg/pkg-descr
+++ b/multimedia/smpeg/pkg-descr
@@ -1,4 +1,14 @@
-SMPEG is a free, general purpose mpeg player that uses the
-SDL library. Combines the functionality of mpeg_play and splay.
+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, gtv, and glmovie are 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 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://www.lokigames.com/development/smpeg.php3
diff --git a/multimedia/smpeg/pkg-plist b/multimedia/smpeg/pkg-plist
index b28aad8970e9..fb21172e951b 100644
--- a/multimedia/smpeg/pkg-plist
+++ b/multimedia/smpeg/pkg-plist
@@ -13,4 +13,6 @@ lib/libsmpeg-0.3.so.0
lib/libsmpeg.a
lib/libsmpeg.la
lib/libsmpeg.so
+@exec /sbin/ldconfig -m %B
+@unexec /sbin/ldconfig -R
@dirrm include/smpeg