diff options
author | André Fabian Silva Delgado <andre@pc-01.localdomain> | 2012-04-09 02:00:13 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <andre@pc-01.localdomain> | 2012-04-09 02:00:13 -0300 |
commit | 6ab56d6a9a2b564fcdbd5738a6609b20cd265eda (patch) | |
tree | 14c7b899c8c3d6457bb0004d7ab5df54fb4648ef | |
parent | 45e1a284e0ad2dbefe6abdd55791cecc88488300 (diff) | |
download | abslibre-6ab56d6a9a2b564fcdbd5738a6609b20cd265eda.tar.gz abslibre-6ab56d6a9a2b564fcdbd5738a6609b20cd265eda.tar.bz2 abslibre-6ab56d6a9a2b564fcdbd5738a6609b20cd265eda.zip |
audacious-plugins-libre: fixing some parts
-rw-r--r-- | libre/audacious-plugins-libre/PKGBUILD | 52 |
1 files changed, 51 insertions, 1 deletions
diff --git a/libre/audacious-plugins-libre/PKGBUILD b/libre/audacious-plugins-libre/PKGBUILD index 5c870cf08..996d72dbf 100644 --- a/libre/audacious-plugins-libre/PKGBUILD +++ b/libre/audacious-plugins-libre/PKGBUILD @@ -8,11 +8,21 @@ _pkgname=audacious-plugins pkgname=audacious-plugins-libre pkgver=3.2.2 -pkgrel=1 +pkgrel=1.1 pkgdesc='Plugins for Audacious without unfree plugins' url='http://audacious-media-player.org/' arch=('i686' 'x86_64') license=('GPL' 'GPL3' 'LGPL' 'custom') + +-# Licensing issues: +-# The plugins 'scrobbler', stereoplugin', 'wavepack' and 'plugin_echo' have no license notice +-# but I've been informed by an upstream dev, nenolod, that they are all GPL. I don't know what version +-# +-# The plugin 'psf' is currently (Nov 2011) BSD+noncommercial, but is apparently being changed to GPL. +-# However, 'psf' is apparently an emulator for running non-free code, so I'm not rushing to fix it. +-# +-# All the other custom licensed plugins I think are mostly modified BSD or ISC. + provides=("audacious-plugins=$pkgver") replaces=("${pkgname%-libre}") conflicts=("${pkgname%-libre}") @@ -52,8 +62,48 @@ optdepends=('oss: Open Sound System v4 output' source=("http://distfiles.audacious-media-player.org/${_pkgname}-${pkgver}.tar.bz2") sha1sums=('4518a6fdcba0c1b496e048b45ce5d87a46326c9b') build() { + # Retrieve upstream & remove plugin 'psf' due to issues mentioned above. + sed -i s/enable_psf=yes/enable_psf=no/ ${_pkgname}-$pkgver/configure + cd "${srcdir}/${_pkgname}-${pkgver}" + # Get license notices out of custom-licensed packages + cd src + tmpdir=$(mktemp -d /tmp/${_pkgname}-${pkgver}-XXXX) + head -n 18 albumart/albumart.c | cut -c 4- | tail -n 17 > ${tmpdir}/LICENSE.albumart + head -n 17 alsa/alsa.c | cut -c 4- | tail -n 16 > ${tmpdir}/LICENSE.alsa + head -n 17 audpl/audpl.c | cut -c 4- | tail -n 16 > ${tmpdir}/LICENSE.audpl + head -n 18 cairo-spectrum/cairo-spectrum.c | cut -c 4- | tail -n 17 > ${tmpdir}/LICENSE.cairo-spectrum + head -n 17 compressor/compressor.c | cut -c 4- | tail -n 16 > ${tmpdir}/LICENSE.compressor + head -n 17 crossfade/crossfade.c | cut -c 4- | tail -n 16 > ${tmpdir}/LICENSE.crossfade + head -n 18 crystalizer/crystalizer.c | cut -c 4- | tail -n 17 > ${tmpdir}/LICENSE.crystalizer + head -n 18 lyricwiki/lyricwiki.c | cut -c 4- | tail -n 17 > ${tmpdir}/LICENSE.lyricwiki + head -n 19 mpg123/mpg123.c | cut -c 4- | tail -n 18 > ${tmpdir}/LICENSE.mpg123 + head -n 17 mpris2/plugin.c | cut -c 4- | tail -n 16 > ${tmpdir}/LICENSE.mpris2 + head -n 17 resample/resample.c | cut -c 4- | tail -n 16 > ${tmpdir}/LICENSE.resample + head -n 17 unix-io/unix-io.c | cut -c 4- | tail -n 16 > ${tmpdir}/LICENSE.unix-io + head -n 18 voice_removal/voice_removal.c | cut -c 4- | tail -n 17 > ${tmpdir}/LICENSE.voice_removal + head -n 25 xsf/corlett.c | cut -c 2- | tail -n 23 > ${tmpdir}/LICENSE.xfs + l=${pkgdir}/usr/share/licenses/${pkgname}/ + install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname} + cd .. + pushd $tmpdir + install -m644 LICENSE.albumart $l + install -m644 LICENSE.alsa $l + install -m644 LICENSE.audpl $l + install -m644 LICENSE.cairo-spectrum $l + install -m644 LICENSE.compressor $l + install -m644 LICENSE.crossfade $l + install -m644 LICENSE.crystalizer $l + install -m644 LICENSE.lyricwiki $l + install -m644 LICENSE.mpg123 $l + install -m644 LICENSE.mpris2 $l + install -m644 LICENSE.resample $l + install -m644 LICENSE.unix-io $l + install -m644 LICENSE.voice_removal $l + install -m644 LICENSE.xfs $l + popd + ./configure \ --prefix=/usr \ --enable-amidiplug \ |