Участник с: 08 октября 2015
|
в общем пытаюсь собрать ARDOUR дополнив параметром --windows-vst при конфигурации, в общем и целом получился такой PKGBUILD:
`--> cat PKGBUILD
# $Id$
# Maintainer: Ray Rashif <schiv@archlinux.org>
# Contributor: SpepS <dreamspepser at yahoo dot it>
# Contributor: see .contrib
pkgname=ardour
pkgver=5.12
pkgrel=2
pkgdesc="Professional-grade digital audio workstation"
arch=('i686' 'x86_64')
url="http://ardour.org/"
license=('GPL')
depends=('liblrdf' 'liblo' 'lilv' 'suil' 'taglib'
'aubio' 'rubberband' 'gtkmm')
makedepends=('git' 'python2' 'boost' 'cppunit' 'doxygen' 'graphviz')
optdepends=('xjadeo: video monitoring'
'harvid: video timeline')
source=("$pkgname-$pkgver::git+https://github.com/${pkgname^}/$pkgname.git#tag=$pkgver"
"$pkgname.desktop")
md5sums=('SKIP'
'SKIP')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
# python2 fix
sed -i 's/python ${SRC}/python2 ${SRC}/' libs/pbd/wscript
}
build() {
cd "$srcdir/$pkgname-$pkgver"
python2 ./waf configure --prefix=/usr \
--configdir=/etc \
--with-backends="jack,alsa" \
--libjack=weak \
--optimize \
--docs \
--cxx11 \
--no-phone-home \
--lv2 \
--lxvst \
--windows-vst
python2 ./waf build $MAKEFLAGS
python2 ./waf i18n_pot
python2 ./waf i18n_po
python2 ./waf i18n_mo
python2 ./waf i18n
}
package() {
cd "$srcdir/$pkgname-$pkgver"
python2 ./waf install --destdir="$pkgdir"
# install some freedesktop.org compatibility
install -Dm644 "$srcdir/$pkgname.desktop" \
"$pkgdir/usr/share/applications/$pkgname.desktop"
}
но вот траббла -- при сборке выходят ошибки:
`--> grep error ardour-5.12-2-x86_64-build.log
/usr/include/wine/windows/winsock.h:127:24: error: conflicting types for 'u_long'
/usr/include/wine/windows/winsock.h:1047:15: error: conflicting types for 'gethostname'
/usr/include/wine/windows/winsock.h:127:24: error: conflicting types for 'u_long'
/usr/include/wine/windows/winsock.h:1047:15: error: conflicting types for 'gethostname'
/usr/include/wine/windows/winsock.h:127:24: error: conflicting types for 'u_long'
/usr/include/wine/windows/winsock.h:1047:15: error: conflicting types for 'gethostname'
/usr/include/wine/windows/winsock.h:127:24: error: conflicting types for 'u_long'
/usr/include/wine/windows/winsock.h:1047:15: error: conflicting types for 'gethostname'
/usr/include/wine/windows/winsock.h:127:24: error: conflicting types for 'u_long'
/usr/include/wine/windows/winsock.h:1047:15: error: conflicting types for 'gethostname'
вот весь лог сборки
|