multimedia/audacity: Initial import

This commit is contained in:
Chess Griffin 2010-05-11 15:00:25 +02:00 committed by Robby Workman
parent 4e4b652823
commit c1ce7970c0
6 changed files with 190 additions and 0 deletions

View file

@ -0,0 +1,9 @@
Audacity is free, open source software for recording and editing sounds.
With Audacity one can record live audio, convert tapes and records into
digital recordings, edit Ogg, MP3, and WAV sound files, and much more.
Audacity requires wxGTK2.6 and libsndfile, both of which are available on
SlackBuilds.org. This script builds with support for libmad, libvorbis,
id3tag, and libflac (all of which are included in stock Slackware), but
they can be removed in the "configure" section of the build script if desired.

View file

@ -0,0 +1,79 @@
#!/bin/sh
# Slackware build script for Audacity
# Written by Chess Griffin <chess at chessgriffin dot com>
# Thanks to Eric Hameleers for adding the audacity.desktop
# file and other tweaks and bug fixes.
# Modified by the SlackBuilds.org project
PRGNAM=audacity
VERSION=1.3.2
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP || exit 1
rm -rf $PRGNAM-$VERSION
tar -xzvf $CWD/$PRGNAM-src-$VERSION.tar.gz || exit 1
cd $PRGNAM-src-$VERSION-beta || exit 1
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--enable-unicode \
--with-vorbis=system \
--with-libmad=system \
--with-flac=system \
--with-libsndfile=system \
--with-id3tag=system \
--with-libresample=local \
--without-soundtouch \
|| exit 1
make || exit 1
make install DESTDIR=$PKG || exit 1
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
# We're going to overwrite the include audacity.desktop file with ours,
# and the icon isn't added at all by upstream, so we'll do that here
install -D -m 0644 $CWD/audacity.desktop $PKG/usr/share/applications/audacity.desktop
install -D -m 0644 images/AudacityLogo48x48.xpm $PKG/usr/share/pixmaps/audacity.xpm
# Move manpage directory to proper loacation; pages are gzipped already
mv $PKG/usr/share/man $PKG/usr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/share/doc/audacity/* $PKG/usr/doc/$PRGNAM-$VERSION
rm -r $PKG/usr/share/doc
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/usr/share/locale/
mv $TMP/$PRGNAM-src-$VERSION-beta/locale/* $PKG/usr/share/locale/
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.tgz

View file

@ -0,0 +1,79 @@
[Desktop Entry]
Encoding=UTF-8
Exec=audacity
Icon=/usr/share/pixmaps/audacity.xpm
Name=Audacity
Name[bn]=িি
Name[eo]=Aŭdaco
Name[hi]=ि
Name[pa]=ਿ
Name[rw]=Ukudahungabana
Name[vi]=Táo bo
GenericName=Audio Editor
GenericName[af]=Klank Redigeerder
GenericName[az]=Audio Editoru
GenericName[be]=Рэдактар аўдыё
GenericName[bg]=Аудио редактор
GenericName[bn]=ি
GenericName[br]=Un Aozer Klevet
GenericName[bs]=Audio editor
GenericName[ca]=Editor d'àudio
GenericName[cs]=Audio editor
GenericName[cy]=Golygydd Sain
GenericName[da]=Lyd-editor
GenericName[de]=Audio-Editor
GenericName[el]=Επεξεργαστής ήχου
GenericName[eo]=Sonora redaktilo
GenericName[es]=Editor de audio
GenericName[et]=Audioredaktor
GenericName[eu]=Audio editorea
GenericName[fi]=Äänieditori
GenericName[fr]=Éditeur audio
GenericName[fy]=lûdsbewurker
GenericName[ga]=Eagarthóir Fuaime
GenericName[gl]=Editor de Son
GenericName[he]=עורך שמע
GenericName[hi]=ि
GenericName[hr]=Uređivač zvuka
GenericName[hu]=Hangszerkesztő
GenericName[is]=Hljóðritillinn
GenericName[it]=Editor audio
GenericName[ja]=
GenericName[km]=
GenericName[ko]=
GenericName[lt]=Audio rengyklė
GenericName[lv]=Audio redaktors
GenericName[mk]=Аудиоуредувач
GenericName[ms]=Penyunting Audio
GenericName[mt]=Editur awdjo
GenericName[nb]=Lydredigering
GenericName[nds]=Audio-Editor
GenericName[nl]=Geluidsbewerker
GenericName[nn]=Lydredigering
GenericName[pa]=
GenericName[pl]=Edytor plików dźwiękowych
GenericName[pt]=Editor de Áudio
GenericName[pt_BR]=Editor de Som
GenericName[ro]=Editor audio
GenericName[ru]=Звуковой редактор
GenericName[rw]=Muhinduzi w'Inyumvo
GenericName[se]=Jietnadoaimmaheaddji
GenericName[sk]=Zvukový editor
GenericName[sl]=Urejevalnik zvoka
GenericName[sr]=Аудио уређивач
GenericName[sr@Latn]=Audio uređivač
GenericName[sv]=Ljudeditor
GenericName[ta]=ி ிி
GenericName[tg]=Муҳаррири садо
GenericName[th]=
GenericName[tr]=Ses Düzenleyicisi
GenericName[tt]=Tawış Tözätkeç
GenericName[uk]=Редактор аудіо записів
GenericName[uz]=Аудио таҳрирчи
GenericName[vi]=Trình biên son âm thanh
GenericName[wa]=Aspougneu d' sons
GenericName[zh_CN]=
GenericName[zh_TW]=Audio
StartupNotify=true
Type=Application
Categories=AudioVideo;

View file

@ -0,0 +1,8 @@
PRGNAM="audacity"
VERSION="1.3.2"
HOMEPAGE="http://audacity.sourceforge.net"
DOWNLOAD="http://dl.sourceforge.net/audacity/audacity-src-1.3.2.tar.gz"
MD5SUM="bf63673140254f1283dfd55b61ff2422"
MAINTAINER="Chess Griffin"
EMAIL="chess@chessgriffin.com"
APPROVED="robw810"

View file

@ -0,0 +1,4 @@
if [ -x usr/bin/update-desktop-database ]; then
usr/bin/update-desktop-database -q usr/share/applications
fi

View file

@ -0,0 +1,11 @@
audacity: Audacity sound editor (1.3.2 GTK2 development version)
audacity:
audacity: Audacity is free, open source software for recording and editing
audacity: sounds. With Audacity one can record live audio, convert tapes
audacity: and records into digital recordings, edit Ogg Vorbis, MP3, and
audacity: WAV sound files, and much, much more.
audacity:
audacity: Homepage: http://audacity.sourceforge.net
audacity:
audacity:
audacity: