diff options
author | Anton Chernyshov <ach@rosalab.ru> | 2012-05-05 12:18:36 -0400 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2012-05-07 12:18:08 -0500 |
commit | d08a7189aefbfe1d3b72eb3b038bcfcd0e8d6a5c (patch) | |
tree | 4026100fe4bb8fd7857a2aa68eecdb9baec1fc02 /multimedia | |
parent | e25c003e93739d5c71aa9017fe324cbaa9523e21 (diff) |
multimedia/rosa-media-player: Added (Media Player)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/rosa-media-player/README | 21 | ||||
-rw-r--r-- | multimedia/rosa-media-player/doinst.sh | 10 | ||||
-rw-r--r-- | multimedia/rosa-media-player/rosa-media-player.SlackBuild | 69 | ||||
-rw-r--r-- | multimedia/rosa-media-player/rosa-media-player.info | 10 | ||||
-rw-r--r-- | multimedia/rosa-media-player/slack-desc | 19 |
5 files changed, 129 insertions, 0 deletions
diff --git a/multimedia/rosa-media-player/README b/multimedia/rosa-media-player/README new file mode 100644 index 000000000000..993df258d6fd --- /dev/null +++ b/multimedia/rosa-media-player/README @@ -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. diff --git a/multimedia/rosa-media-player/doinst.sh b/multimedia/rosa-media-player/doinst.sh new file mode 100644 index 000000000000..1f8ff67dedb2 --- /dev/null +++ b/multimedia/rosa-media-player/doinst.sh @@ -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 + diff --git a/multimedia/rosa-media-player/rosa-media-player.SlackBuild b/multimedia/rosa-media-player/rosa-media-player.SlackBuild new file mode 100644 index 000000000000..71690c3c0fd6 --- /dev/null +++ b/multimedia/rosa-media-player/rosa-media-player.SlackBuild @@ -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} diff --git a/multimedia/rosa-media-player/rosa-media-player.info b/multimedia/rosa-media-player/rosa-media-player.info new file mode 100644 index 000000000000..c187e49a8598 --- /dev/null +++ b/multimedia/rosa-media-player/rosa-media-player.info @@ -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" diff --git a/multimedia/rosa-media-player/slack-desc b/multimedia/rosa-media-player/slack-desc new file mode 100644 index 000000000000..49b0341fa757 --- /dev/null +++ b/multimedia/rosa-media-player/slack-desc @@ -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. |