diff options
author | r3n4n <renan.campos@gmail.com> | 2010-12-30 00:58:15 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-12-30 00:58:15 -0600 |
commit | a20fd3c06297744d5783e47a88bec85860499245 (patch) | |
tree | fa97b567404868ad9fc2c0822b208d5fdeea49c4 /network | |
parent | 3ae48f66c2e080a54e80d75f4ba984e3f826cc80 (diff) | |
download | slackbuilds-a20fd3c06297744d5783e47a88bec85860499245.tar.gz |
network/skype-call-recorder: Added (record Skype calls to MP3 files)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/skype-call-recorder/README | 8 | ||||
-rw-r--r-- | network/skype-call-recorder/doinst.sh | 10 | ||||
-rw-r--r-- | network/skype-call-recorder/skype-call-recorder.SlackBuild | 71 | ||||
-rw-r--r-- | network/skype-call-recorder/skype-call-recorder.info | 10 | ||||
-rw-r--r-- | network/skype-call-recorder/slack-desc | 19 |
5 files changed, 118 insertions, 0 deletions
diff --git a/network/skype-call-recorder/README b/network/skype-call-recorder/README new file mode 100644 index 0000000000..98d471d1a6 --- /dev/null +++ b/network/skype-call-recorder/README @@ -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. diff --git a/network/skype-call-recorder/doinst.sh b/network/skype-call-recorder/doinst.sh new file mode 100644 index 0000000000..1f8ff67ded --- /dev/null +++ b/network/skype-call-recorder/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/network/skype-call-recorder/skype-call-recorder.SlackBuild b/network/skype-call-recorder/skype-call-recorder.SlackBuild new file mode 100644 index 0000000000..56b6e03bb0 --- /dev/null +++ b/network/skype-call-recorder/skype-call-recorder.SlackBuild @@ -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} diff --git a/network/skype-call-recorder/skype-call-recorder.info b/network/skype-call-recorder/skype-call-recorder.info new file mode 100644 index 0000000000..9754b96713 --- /dev/null +++ b/network/skype-call-recorder/skype-call-recorder.info @@ -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" diff --git a/network/skype-call-recorder/slack-desc b/network/skype-call-recorder/slack-desc new file mode 100644 index 0000000000..13cc9a6700 --- /dev/null +++ b/network/skype-call-recorder/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------------------------------------------------------| +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: |