aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-12 17:42:47 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:42:47 +0200
commite085666eecf31235f86020afad879db02788bbe0 (patch)
tree7581517492edbaa6ee9117032f5a404ef47ad5bc
parent15ec87e7111bd3562fe549556a097bacc8d884c3 (diff)
multimedia/smpeg: Updated for version r374
-rw-r--r--multimedia/smpeg/slack-desc17
-rw-r--r--multimedia/smpeg/smpeg.SlackBuild12
-rw-r--r--multimedia/smpeg/smpeg.info10
3 files changed, 25 insertions, 14 deletions
diff --git a/multimedia/smpeg/slack-desc b/multimedia/smpeg/slack-desc
index d9e41833f16ed..c5278eeebce38 100644
--- a/multimedia/smpeg/slack-desc
+++ b/multimedia/smpeg/slack-desc
@@ -1,10 +1,17 @@
- |-----handy-ruler------------------------------------------------------|
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler-------------------------------------------------------|
smpeg: smpeg (SDL MPEG Player Library)
smpeg:
-smpeg: SMPEG is a free MPEG1 video player library with sound support. Video
-smpeg: playback is based on the ubiquitous Berkeley MPEG player, mpeg_play.
-smpeg: Audio is played through a slightly modified mpegsound library, part
-smpeg: of Splay v0.8.2. SMPEG supports MPEG audio (MP3), MPEG-1 video, and
+smpeg: SMPEG is a free MPEG1 video player library with sound support. Video
+smpeg: playback is based on the ubiquitous Berkeley MPEG player, mpeg_play.
+smpeg: Audio is played through a slightly modified mpegsound library, part
+smpeg: of Splay v0.8.2. SMPEG supports MPEG audio (MP3), MPEG-1 video, and
smpeg: MPEG system streams.
smpeg:
smpeg:
diff --git a/multimedia/smpeg/smpeg.SlackBuild b/multimedia/smpeg/smpeg.SlackBuild
index 4b714397fe7f4..a717debcf3236 100644
--- a/multimedia/smpeg/smpeg.SlackBuild
+++ b/multimedia/smpeg/smpeg.SlackBuild
@@ -1,9 +1,8 @@
#!/bin/sh
# Slackware build script for smpeg
-# Written by ppr:kut <hmwiesinger@gmx.at>
-# Copyright 2007 Heinz Wiesinger
+# Copyright 2007-2009 Heinz Wiesinger <pprkut@liwjatan.at>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,10 +23,11 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=smpeg
-VERSION=r370_20071015
+VERSION=r374
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -37,6 +37,8 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
set -e
@@ -59,7 +61,9 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
- --disable-static
+ --disable-static \
+ --build=$ARCH-slackware-linux \
+ --host=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
diff --git a/multimedia/smpeg/smpeg.info b/multimedia/smpeg/smpeg.info
index 973873a31302b..1d810a21ee79f 100644
--- a/multimedia/smpeg/smpeg.info
+++ b/multimedia/smpeg/smpeg.info
@@ -1,8 +1,8 @@
PRGNAM="smpeg"
-VERSION="r370_20071015"
+VERSION="r374"
HOMEPAGE="http://icculus.org/smpeg/"
-DOWNLOAD="http://slackbuilds.org/sources/12.1/smpeg-r370_20071015.tar.bz2"
-MD5SUM="860b951f64bc2c5e214a85634435f1cf"
+DOWNLOAD="http://www.liwjatan.at/files/src/smpeg-r374.tar.bz2"
+MD5SUM="10b4b5e015a745c51fdbb05451e9916f"
MAINTAINER="ppr:kut"
-EMAIL="HMWiesinger@gmx.at"
-APPROVED="rworkman"
+EMAIL="pprkut@liwjatan.at"
+APPROVED="dsomero"