[LAU] Ardour3

fons at kokkinizita.net fons at kokkinizita.net
Tue Dec 21 17:29:57 UTC 2010


On Tue, Dec 21, 2010 at 09:17:24AM -0500, Dave Phillips wrote:

> Honestly, did the designers of the Arch script confer with PD before
> they made the decision to release the script ? It seems to me that
> it would have been the civil thing to do. They can't have been
> unaware of Paul's previous statements regarding A3's distribution,
> or am I wrong about that ?

The package contains 3 files:

PKGBUILD
ardour3-svn.desktop
ardour3-svn.install

'ardour3-svn.desktop' is what you think it is.
'ardour3-svn.install' displays the warning messages.
The file PKGBUILD is reproduced below for you to inspect.

If you care to read it, you will discover that 

1. it performs an 'svn update' when run for the second
   and later times it is run,

2. it builds a debug version.

Running makepkg on it will also install dependencies.

* It is just a convenient way to do what has to be done *
in order to build ardour3 from svn, including updating
your local copy as many times as required.

If the intention is that _nobody_ should do this, then access
to the code should be controlled. In the other case, it doesn't
matter if people do it using the PKGBUILD or manually. If you
want to bash Arch users for using this package, at least be
consistent and bash everyone building ardour3.


PKGBUILD
---8<------------------------------------------------------------
# Maintainer: Bernardo Barros <bernardobarros at gmail.com>
# Contributor: Uli Armbruster <uli_armbruster at web.de>
pkgname=ardour3-svn
_realname=ardour3
pkgver=8319
pkgrel=2
pkgdesc="A multichannel hard disk recorder and digital audio workstation. Version 3 with lv2 support (pre-release)."
arch=('i686' 'x86_64')
url="http://www.ardour.org"
license=('GPL')
depends=("util-linux-ng" "liblrdf>=0.4.0" "liblo" "libgnomecanvasmm>=2.12.0" "slv2>=0.6.4" "aubio")
makedepends=("boost>=1.39" "cppunit>=1.12.0" "soundtouch" "libvorbis>=1.1.2" "flac>=1.2.1" "python2>=2.3" "glib" "cppunit" "jack-audio-connection-kit")
provides=('ardour3')
conflicts=('ardour3')
source=(${pkgname}.desktop)
md5sums=('2736c648e452ae45c703e48cf64f75e7')
install=ardour3-svn.install

_svntrunk=http://subversion.ardour.org/svn/ardour2/branches/3.0
_svnmod=${_realname}

build() {
  cd ${srcdir}

  rm -rf ${_svnmod}-build

  if [ -d $_svnmod ] ; then
    (cd $_svnmod && svn update)
    msg "The local files are updated."
  else
    svn co ${_svntrunk} ${_svnmod}
  fi
  
  cp -rf ${_svnmod} ${_svnmod}-build

  cd ${_svnmod}-build

  python2 waf configure --prefix=/usr --configdir=/etc --tranzport --freesound --freedesktop --lv2 -p --debug
  python2 waf build

  DESTDIR="${pkgdir}" python2 waf install
  
  # install some freedesktop.org compatibility
  install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${_realname}.desktop"
}
---8<------------------------------------------------------------

Ciao,

-- 
FA

There are three of them, and Alleline.



More information about the Linux-audio-user mailing list