summaryrefslogtreecommitdiffstats
path: root/graphics/smpeg
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>2000-02-03 08:06:41 +0000
committercpiazza <cpiazza@FreeBSD.org>2000-02-03 08:06:41 +0000
commit1a3bb49e0b45a233e0132096704d9a546930dbdc (patch)
treef6ed2e27642f03be697ef6b87178196bf901fdb0 /graphics/smpeg
parentdee988245533d85172ca865b67582f143e438664 (diff)
downloadFreeBSD-ports-1a3bb49e0b45a233e0132096704d9a546930dbdc.zip
FreeBSD-ports-1a3bb49e0b45a233e0132096704d9a546930dbdc.tar.gz
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>
Diffstat (limited to 'graphics/smpeg')
-rw-r--r--graphics/smpeg/Makefile11
-rw-r--r--graphics/smpeg/pkg-comment2
-rw-r--r--graphics/smpeg/pkg-descr14
-rw-r--r--graphics/smpeg/pkg-plist2
4 files changed, 24 insertions, 5 deletions
diff --git a/graphics/smpeg/Makefile b/graphics/smpeg/Makefile
index c4e8774..8dd4b70 100644
--- a/graphics/smpeg/Makefile
+++ b/graphics/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/graphics/smpeg/pkg-comment b/graphics/smpeg/pkg-comment
index 2c26ffa..57381a9 100644
--- a/graphics/smpeg/pkg-comment
+++ b/graphics/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/graphics/smpeg/pkg-descr b/graphics/smpeg/pkg-descr
index 34e560a..40372a3 100644
--- a/graphics/smpeg/pkg-descr
+++ b/graphics/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/graphics/smpeg/pkg-plist b/graphics/smpeg/pkg-plist
index b28aad8..fb21172 100644
--- a/graphics/smpeg/pkg-plist
+++ b/graphics/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
OpenPOWER on IntegriCloud