summaryrefslogtreecommitdiff
path: root/libre/audacity-libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre/audacity-libre')
-rw-r--r--libre/audacity-libre/PKGBUILD50
-rw-r--r--libre/audacity-libre/audacity-libre.install13
-rw-r--r--libre/audacity-libre/remove-unfree-nyquist.patch24
3 files changed, 0 insertions, 87 deletions
diff --git a/libre/audacity-libre/PKGBUILD b/libre/audacity-libre/PKGBUILD
deleted file mode 100644
index 876c9e71b..000000000
--- a/libre/audacity-libre/PKGBUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-# $Id: PKGBUILD 153455 2012-03-14 17:15:15Z eric $
-# Maintainer: Eric BĂ©langer <eric@archlinux.org>
-# Contributor (Parabola): André Silva <emulatorman@parabola.nu>
-
-_pkgname=audacity
-pkgname=audacity-libre
-pkgver=2.0.0
-pkgrel=1
-pkgdesc="A program that lets you manipulate digital audio waveforms, libre"
-arch=('i686' 'x86_64')
-url="http://audacity.sourceforge.net/"
-license=('GPL')
-depends=('libmad' 'libid3tag' 'wxgtk' 'lame-libre' 'hicolor-icon-theme'
- 'desktop-file-utils' 'jack' 'soundtouch' 'ffmpeg')
-options=('!makeflags')
-install=audacity-libre.install
-source=(http://audacity.googlecode.com/files/${_pkgname}-minsrc-${pkgver}.tar.bz2
- remove-unfree-nyquist.patch
- audacity-libre.install)
-sha1sums=('0175474e63c51aaa97df9b45574f7f307f1d3bc8'
- 'cda4587458aecf15c41102f86c3b466f80acd0f3'
- '59e511af919f62b07dd62bab251c56bef6344d70')
-provides=("audacity=$pkgver")
-replaces=('audacity')
-conflicts=('audacity')
-
-build() {
- cd "${srcdir}/${_pkgname}-src-${pkgver}"
-
-# Removing nyquist
- rm -rfv {,lib-src/lib}nyquist
- find -iname '*nyquist*' -print0 | xargs -0 \
- rm -rfv
- patch -Np0 -i ../remove-unfree-nyquist.patch || return 1
-
- WX_CONFIG=/usr/bin/wx-config ./configure --prefix=/usr \
- --with-portaudio --with-libsamplerate \
- --without-libresample --with-libmad \
- --with-ffmpeg --with-id3tag --with-libflac \
- --with-vorbis --with-libexpat \
- --with-libsndfile --with-soundtouch \
- --enable-unicode --without-taglib \
- --disable-nyquist #unfree
- make
-}
-
-package() {
- cd "${srcdir}/${_pkgname}-src-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
diff --git a/libre/audacity-libre/audacity-libre.install b/libre/audacity-libre/audacity-libre.install
deleted file mode 100644
index 028c9f62a..000000000
--- a/libre/audacity-libre/audacity-libre.install
+++ /dev/null
@@ -1,13 +0,0 @@
-post_install() {
- update-desktop-database -q
- update-mime-database usr/share/mime &> /dev/null
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}
diff --git a/libre/audacity-libre/remove-unfree-nyquist.patch b/libre/audacity-libre/remove-unfree-nyquist.patch
deleted file mode 100644
index b2f9f31e3..000000000
--- a/libre/audacity-libre/remove-unfree-nyquist.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- Makefile.in.orig 2011-07-01 13:27:11.000000000 -0300
-+++ Makefile.in 2011-07-01 13:27:39.000000000 -0300
-@@ -41,12 +41,6 @@ install: audacity $(EXTRAINSTALLTARGETS)
- $(INSTALL) -m 644 help/audacity.1.gz \
- $(DESTDIR)$(MANDIR)/man1/$(AUDACITY_NAME).1.gz
-
-- # install nyquist
-- $(INSTALL) -d $(DESTDIR)$(DATADIR)/$(AUDACITY_NAME)/nyquist
-- $(INSTALL) -m 644 nyquist/*.lsp nyquist/nyquist-plot.txt $(DESTDIR)$(DATADIR)/$(AUDACITY_NAME)/nyquist
-- $(INSTALL) -d $(DESTDIR)$(DATADIR)/$(AUDACITY_NAME)/nyquist/rawwaves
-- $(INSTALL) -m 644 nyquist/rawwaves/*.raw $(DESTDIR)$(DATADIR)/$(AUDACITY_NAME)/nyquist/rawwaves
--
- # install plug-ins
- $(INSTALL) -d $(DESTDIR)$(DATADIR)/$(AUDACITY_NAME)/plug-ins
- $(INSTALL) -m 644 plug-ins/*.ny $(DESTDIR)$(DATADIR)/$(AUDACITY_NAME)/plug-ins
-@@ -103,8 +97,6 @@ uninstall: $(EXTRAUNINSTALLTARGETS)
- rm -rf $(DESTDIR)$(DATADIR)/doc/$(AUDACITY_NAME)
- # remove man page
- rm -rf $(DESTDIR)$(MANDIR)/man1/$(AUDACITY_NAME).1.gz
-- # remove nyquist
-- rm -rf $(DESTDIR)$(DATADIR)/$(AUDACITY_NAME)/nyquist
- # remove plug-ins
- rm -rf $(DESTDIR)$(DATADIR)/$(AUDACITY_NAME)/plug-ins
- # remove locales