From 7ce475920c6ad1c52b0fc1544ae94b5caeee4ca0 Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Tue, 11 May 2010 20:30:44 +0200 Subject: audio/audacity: Moved from multimedia --- audio/audacity/README | 13 ++++ audio/audacity/audacity.SlackBuild | 103 ++++++++++++++++++++++++++++++++ audio/audacity/audacity.desktop | 79 ++++++++++++++++++++++++ audio/audacity/audacity.info | 8 +++ audio/audacity/doinst.sh | 9 +++ audio/audacity/slack-desc | 19 ++++++ multimedia/audacity/README | 8 --- multimedia/audacity/audacity.SlackBuild | 79 ------------------------ multimedia/audacity/audacity.desktop | 79 ------------------------ multimedia/audacity/audacity.info | 8 --- multimedia/audacity/doinst.sh | 9 --- multimedia/audacity/slack-desc | 19 ------ 12 files changed, 231 insertions(+), 202 deletions(-) create mode 100644 audio/audacity/README create mode 100644 audio/audacity/audacity.SlackBuild create mode 100644 audio/audacity/audacity.desktop create mode 100644 audio/audacity/audacity.info create mode 100644 audio/audacity/doinst.sh create mode 100644 audio/audacity/slack-desc delete mode 100644 multimedia/audacity/README delete mode 100644 multimedia/audacity/audacity.SlackBuild delete mode 100644 multimedia/audacity/audacity.desktop delete mode 100644 multimedia/audacity/audacity.info delete mode 100644 multimedia/audacity/doinst.sh delete mode 100644 multimedia/audacity/slack-desc diff --git a/audio/audacity/README b/audio/audacity/README new file mode 100644 index 0000000000..66f16a8a45 --- /dev/null +++ b/audio/audacity/README @@ -0,0 +1,13 @@ +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 wxPython or wxGTK and libsndfile, both of which are +available at 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. Finally, one can also optionally +enable soundtouch or twolame support in the SlackBuild if the +soundtouch or twolame dependencies (available at SBo) have been built +and installed prior to compiling Audacity. See the Audacity +SlackBuild itself for more information. diff --git a/audio/audacity/audacity.SlackBuild b/audio/audacity/audacity.SlackBuild new file mode 100644 index 0000000000..498019a9b4 --- /dev/null +++ b/audio/audacity/audacity.SlackBuild @@ -0,0 +1,103 @@ +#!/bin/sh + +# Slackware build script for Audacity + +# Written by Chess Griffin +# Thanks to Eric Hameleers for adding the audacity.desktop +# file and other tweaks and bug fixes. Thanks to Heinz +# Wiesinger for bug fixes and and the soundtouch and twolame +# improvements. + +# Modified by the SlackBuilds.org project + +PRGNAM=audacity +VERSION=1.3.6 +ARCH=${ARCH:-i486} +BUILD=${BUILD:-2} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +SOUNDTOUCH=${SOUNDTOUCH:-no} +TWOLAME=${TWOLAME:-no} + +if [ "$SOUNDTOUCH" = "no" ]; then + do_soundtouch="without" +else + do_soundtouch="with" +fi + +if [ "$TWOLAME" = "no" ]; then + do_twolame="without" +else + do_twolame="with" +fi + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" +fi + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP || exit 1 +rm -rf $PRGNAM-src-$VERSION +tar -xvf $CWD/$PRGNAM-src-$VERSION.tar.bz2 || exit 1 +cd $PRGNAM-src-$VERSION || exit 1 +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +# The following is needed until Slackware officially ships +# autotools-1.10. +sed -i "s|am__api_version='1.10'|am__api_version='1.9'|" lib-src/portsmf/configure + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --enable-unicode \ + --enable-nyquist \ + --enable-vamp \ + --with-expat \ + --with-libvorbis \ + --with-libmad \ + --with-libflac \ + --with-libsndfile \ + --with-libid3tag \ + --with-libresample \ + --$do_soundtouch-soundtouch \ + --$do_twolame-libtwolame \ + || exit 1 + +make || exit 1 +make install DESTDIR=$PKG || exit 1 + +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +# 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 +cp LICENSE.txt README.txt $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/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 diff --git a/audio/audacity/audacity.desktop b/audio/audacity/audacity.desktop new file mode 100644 index 0000000000..3a39217470 --- /dev/null +++ b/audio/audacity/audacity.desktop @@ -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 bạo +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 soạn âm thanh +GenericName[wa]=Aspougneu d' sons +GenericName[zh_CN]=音频编辑器 +GenericName[zh_TW]=Audio 編輯器 +StartupNotify=true +Type=Application +Categories=AudioVideo; diff --git a/audio/audacity/audacity.info b/audio/audacity/audacity.info new file mode 100644 index 0000000000..8b82bb2c69 --- /dev/null +++ b/audio/audacity/audacity.info @@ -0,0 +1,8 @@ +PRGNAM="audacity" +VERSION="1.3.6" +HOMEPAGE="http://audacity.sourceforge.net" +DOWNLOAD="http://downloads.sourceforge.net/sourceforge/audacity/audacity-src-1.3.6.tar.bz2" +MD5SUM="a59d30bcedd017c5b3ac7bcecf7a1628" +MAINTAINER="Chess Griffin" +EMAIL="chess@chessgriffin.com" +APPROVED="dsomero" diff --git a/audio/audacity/doinst.sh b/audio/audacity/doinst.sh new file mode 100644 index 0000000000..32f491d262 --- /dev/null +++ b/audio/audacity/doinst.sh @@ -0,0 +1,9 @@ + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications +fi + +if [ -x /usr/bin/update-mime-database ]; then + /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 +fi + diff --git a/audio/audacity/slack-desc b/audio/audacity/slack-desc new file mode 100644 index 0000000000..b546d29e06 --- /dev/null +++ b/audio/audacity/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------------------------------------------------------| +audacity: Audacity (sound editor 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: diff --git a/multimedia/audacity/README b/multimedia/audacity/README deleted file mode 100644 index 843882bc58..0000000000 --- a/multimedia/audacity/README +++ /dev/null @@ -1,8 +0,0 @@ -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. diff --git a/multimedia/audacity/audacity.SlackBuild b/multimedia/audacity/audacity.SlackBuild deleted file mode 100644 index dc21ca18b3..0000000000 --- a/multimedia/audacity/audacity.SlackBuild +++ /dev/null @@ -1,79 +0,0 @@ -#!/bin/sh - -# Slackware build script for Audacity - -# Written by Chess Griffin -# 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.3 -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 diff --git a/multimedia/audacity/audacity.desktop b/multimedia/audacity/audacity.desktop deleted file mode 100644 index 3a39217470..0000000000 --- a/multimedia/audacity/audacity.desktop +++ /dev/null @@ -1,79 +0,0 @@ -[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 bạo -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 soạn âm thanh -GenericName[wa]=Aspougneu d' sons -GenericName[zh_CN]=音频编辑器 -GenericName[zh_TW]=Audio 編輯器 -StartupNotify=true -Type=Application -Categories=AudioVideo; diff --git a/multimedia/audacity/audacity.info b/multimedia/audacity/audacity.info deleted file mode 100644 index 4d5e878360..0000000000 --- a/multimedia/audacity/audacity.info +++ /dev/null @@ -1,8 +0,0 @@ -PRGNAM="audacity" -VERSION="1.3.3" -HOMEPAGE="http://audacity.sourceforge.net" -DOWNLOAD="http://dl.sourceforge.net/audacity/audacity-src-1.3.3.tar.gz" -MD5SUM="72a9e3239f3b5af63030a1e1b07e40e7" -MAINTAINER="Chess Griffin" -EMAIL="chess@chessgriffin.com" -APPROVED="rworkman" diff --git a/multimedia/audacity/doinst.sh b/multimedia/audacity/doinst.sh deleted file mode 100644 index 4daa83bcfa..0000000000 --- a/multimedia/audacity/doinst.sh +++ /dev/null @@ -1,9 +0,0 @@ - -if [ -x usr/bin/update-desktop-database ]; then - usr/bin/update-desktop-database -q usr/share/applications -fi - -if [ -x usr/bin/update-mime-database ]; then - usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 -fi - diff --git a/multimedia/audacity/slack-desc b/multimedia/audacity/slack-desc deleted file mode 100644 index 97983a734a..0000000000 --- a/multimedia/audacity/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# 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------------------------------------------------------| -audacity: Audacity sound editor (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: -- cgit v1.2.3-65-gdbad