network/skype-call-recorder: Added (record Skype calls to MP3 files)

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
r3n4n 2010-12-30 00:58:15 -06:00 committed by Robby Workman
parent 3ae48f66c2
commit a20fd3c062
5 changed files with 118 additions and 0 deletions

View file

@ -0,0 +1,8 @@
Skype Call Recorder is an open source tool that allows you to
record your Skype calls on Linux. Current features include:
1. record calls to MP3, Ogg Vorbis, or WAV files
2. Automatic and manual recording
3. Configure automatic recording on per-caller basis
4. Split stereo recording
This requires lame and id3lib.

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,71 @@
#!/bin/sh
#
# Slackware build script for skype-call-recorder
#
# Written by r3n4n <renan.campos@gmail.com>.
PRGNAM=skype-call-recorder
VERSION=0.8
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-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSYSCONFDIR=/etc \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS="$SLKCFLAGS"
make
make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a INSTALL COPYING $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -0,0 +1,10 @@
PRGNAM="skype-call-recorder"
VERSION="0.8"
HOMEPAGE="http://atdot.ch/scr/"
DOWNLOAD="http://atdot.ch/scr/files/0.8/skype-call-recorder-0.8.tar.gz"
MD5SUM="937544a5245fdcfa50878d083dab706a"
DOWNLOAD_x86_64="UNSUPPORTED"
MD5SUM_x86_64=""
MAINTAINER="r3n4n"
EMAIL="renan.campos@gmail.com"
APPROVED="rworkman"

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------------------------------------------------------|
skype-call-recorder: Skype Call Recorder (Record your Skype calls to MP3 files)
skype-call-recorder:
skype-call-recorder: Skype Call Recorder is an open source tool that allows you to
skype-call-recorder: record your Skype calls on Linux. Current features include:
skype-call-recorder: * Record calls to MP3, Ogg Vorbis or WAV files
skype-call-recorder: * Automatic and manual recording
skype-call-recorder: * Configure automatic recording on per-caller basis
skype-call-recorder: * Split stereo recording
skype-call-recorder:
skype-call-recorder: Homepage: http://atdot.ch/scr/
skype-call-recorder: