multimedia/rosa-media-player: Added (Media Player)

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Anton Chernyshov 2012-05-05 12:18:36 -04:00 committed by Erik Hanson
parent e25c003e93
commit d08a7189ae
5 changed files with 129 additions and 0 deletions

View file

@ -0,0 +1,21 @@
ROMP (ROSA Media Player)
Rosa Media Player (ROMP) - multimedia player that supports most of
audio and video formats such as Audio CD, DVD, Video CD,
multimedia files in AVi, ASF/WMV/WMA, MOV/MP4, RealMedia, Ogg Vorbis,
NUT, NSV, VIVO, FLI, NuppelVideo, yuv4mpeg, FILM (.cpk),
RoQ, PVA and Matroska formats recorded with video codecs - DivX ,
MPEG-1, MPEG-2, MPEG-4, Sorenson, WMV, RealVideo, x264
and audio codecs MP3, Musepack, Vorbis, RealAudio, AC3/A52 (Dolby Digital),
AAC (MPEG-4 audio), QuickTime, VIVO audio and WMA
and many other less widespread video and audio codecs.
It also supports streaming via HTTP/FTP, RTP/RTSP, MMS/MMST, MPST,
SDP, capture and record (via mencoder) of television signal.
ROMP allows you to trim a particular piece of video, extract audio
from multimedia files and record screen presentations and
many other things.
This requires: mencoder and ffmpeg.
Please see docs directory inside package sources.

View file

@ -0,0 +1,10 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
fi
fi

View file

@ -0,0 +1,69 @@
#!/bin/sh
# Slackware build script for romp (ROSA Media Player)
# Written by Anton Chernyshov <ach@rosalab.ru>
PRGNAM=rosa-media-player
VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM
chown -R root:root .
chmod -R a-s,u+rw,go-w .
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
make PREFIX=/usr \
DOC_PATH=\\\"/usr/doc/$PRGNAM-$VERSION\\\"
make \
PREFIX=/usr \
DOC_PATH=/usr/doc/$PRGNAM-$VERSION \
DESTDIR=$PKG install
find $PKG | xargs file | grep -e "executable" -e "shared object"| grep ELF | \
cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -0,0 +1,10 @@
PRGNAM="rosa-media-player"
VERSION="1.0"
HOMEPAGE="http://www.rosalab.com/"
DOWNLOAD="https://abf.rosalinux.ru/projects/52972/raw/rosa2012lts/rosa-media-player-1.0.tar.gz"
MD5SUM="8c3877fc2fd1cecb146ef6bbbaed6823"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Anton Chernyshov"
EMAIL="ach@rosalab.ru"
APPROVED="dsomero"

View file

@ -0,0 +1,19 @@
# 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------------------------------------------------------|
rosa-media-player: Rosa Media Player (Media Player)
rosa-media-player:
rosa-media-player: Rosa Media Player (rosa-media-player) - multimedia player that
rosa-media-player: supports most of audio and video formats such as Audio CD, DVD,
rosa-media-player: Video CD, multimedia files in AVi, ASF/WMV/WMA, MOV/MP4, RealMedia,
rosa-media-player: Ogg Vorbis, NUT, NSV, VIVO, FLI, NuppelVideo, yuv4mpeg, FILM (.cpk),
rosa-media-player: RoQ, PVA and Matroska formats recorded with video codecs - DivX ,
rosa-media-player: MPEG-1, MPEG-2, MPEG-4, Sorenson, WMV, RealVideo, x264 and audio
rosa-media-player: codecs MP3, Musepack, Vorbis, RealAudio, AC3/A52 (Dolby Digital),
rosa-media-player: AAC (MPEG-4 audio), QuickTime, VIVO audio and WMA and many other
rosa-media-player: less widespread video and audio codecs. It also supports streaming.