build with cmake
This commit is contained in:
parent
667ee315e8
commit
890b91b737
48
.SRCINFO
48
.SRCINFO
|
@ -1,6 +1,6 @@
|
||||||
pkgbase = audacity-git
|
pkgbase = audacity-git
|
||||||
pkgdesc = A program that lets you manipulate digital audio waveforms
|
pkgdesc = A program that lets you manipulate digital audio waveforms
|
||||||
pkgver = 2.4.1.r1.g947ed3791
|
pkgver = 2.4.2.r0.g16d52f63a
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = http://www.audacityteam.org/
|
url = http://www.audacityteam.org/
|
||||||
arch = i686
|
arch = i686
|
||||||
|
@ -30,9 +30,28 @@ pkgbase = audacity-git
|
||||||
depends = gdk-pixbuf2
|
depends = gdk-pixbuf2
|
||||||
depends = glibc
|
depends = glibc
|
||||||
depends = libmad
|
depends = libmad
|
||||||
|
depends = libFLAC++.so
|
||||||
|
depends = libFLAC.so
|
||||||
|
depends = libasound.so
|
||||||
|
depends = libgdk-3.so
|
||||||
depends = libsoxr
|
depends = libsoxr
|
||||||
depends = soundtouch
|
depends = soundtouch
|
||||||
depends = wxgtk3
|
depends = wxgtk3
|
||||||
|
depends = libglib-2.0.so
|
||||||
|
depends = libgobject-2.0.so
|
||||||
|
depends = libgtk-3.so
|
||||||
|
depends = libid3tag.so
|
||||||
|
depends = libjack.so
|
||||||
|
depends = liblilv-0.so
|
||||||
|
depends = libogg.so
|
||||||
|
depends = libportSMF.so
|
||||||
|
depends = libsndfile.so
|
||||||
|
depends = libsuil-0.so
|
||||||
|
depends = libtwolame.so
|
||||||
|
depends = libvamp-hostsdk.so
|
||||||
|
depends = libvorbis.so
|
||||||
|
depends = libvorbisenc.so
|
||||||
|
depends = libvorbisfile.so
|
||||||
optdepends = ffmpeg: additional import/export capabilities
|
optdepends = ffmpeg: additional import/export capabilities
|
||||||
optdepends = audacity-extras: nyquist plugins for audacity
|
optdepends = audacity-extras: nyquist plugins for audacity
|
||||||
provides = audacity
|
provides = audacity
|
||||||
|
@ -41,31 +60,4 @@ pkgbase = audacity-git
|
||||||
sha1sums = SKIP
|
sha1sums = SKIP
|
||||||
|
|
||||||
pkgname = audacity-git
|
pkgname = audacity-git
|
||||||
depends = expat
|
|
||||||
depends = gcc-libs
|
|
||||||
depends = gdk-pixbuf2
|
|
||||||
depends = glibc
|
|
||||||
depends = libmad
|
|
||||||
depends = libsoxr
|
|
||||||
depends = soundtouch
|
|
||||||
depends = wxgtk3
|
|
||||||
depends = libFLAC.so
|
|
||||||
depends = libFLAC++.so
|
|
||||||
depends = libasound.so
|
|
||||||
depends = libgdk-3.so
|
|
||||||
depends = libglib-2.0.so
|
|
||||||
depends = libgobject-2.0.so
|
|
||||||
depends = libgtk-3.so
|
|
||||||
depends = libid3tag.so
|
|
||||||
depends = libjack.so
|
|
||||||
depends = liblilv-0.so
|
|
||||||
depends = libogg.so
|
|
||||||
depends = libsndfile.so
|
|
||||||
depends = libsuil-0.so
|
|
||||||
depends = libtwolame.so
|
|
||||||
depends = libvamp-hostsdk.so
|
|
||||||
depends = libvorbis.so
|
|
||||||
depends = libvorbisenc.so
|
|
||||||
depends = libvorbisfile.so
|
|
||||||
depends = libportSMF.so
|
|
||||||
|
|
||||||
|
|
116
PKGBUILD
116
PKGBUILD
|
@ -1,65 +1,99 @@
|
||||||
# Maintainer: Bernhard Landauer <oberon@manjaro.org>
|
# Maintainer: Bernhard Landauer <oberon@manjaro.org>
|
||||||
# Contributor: Eric Bélanger <eric@archlinux.org>
|
# Contributor: Eric Bélanger <eric@archlinux.org>
|
||||||
|
|
||||||
pkgname=audacity-git
|
|
||||||
_pkgname=audacity
|
_pkgname=audacity
|
||||||
pkgver=2.4.1.r1.g947ed3791
|
pkgname=$_pkgname-git
|
||||||
|
pkgver=2.4.2.r0.g16d52f63a
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A program that lets you manipulate digital audio waveforms"
|
pkgdesc="A program that lets you manipulate digital audio waveforms"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://www.audacityteam.org/"
|
url="http://www.audacityteam.org/"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
depends=('expat' 'gcc-libs' 'gdk-pixbuf2' 'glibc' 'libmad'
|
depends=('expat'
|
||||||
'libsoxr' 'soundtouch' 'wxgtk3')
|
'gcc-libs'
|
||||||
makedepends=('alsa-lib' 'cmake' 'ffmpeg' 'flac' 'git' 'glib2' 'gtk3' 'jack' 'lame'
|
'gdk-pixbuf2'
|
||||||
'libid3tag' 'libogg' 'libsndfile' 'libvorbis' 'lilv' 'lv2' 'portsmf' 'suil'
|
'glibc'
|
||||||
'twolame' 'vamp-plugin-sdk')
|
'libmad'
|
||||||
|
'libFLAC++.so'
|
||||||
|
'libFLAC.so'
|
||||||
|
'libasound.so'
|
||||||
|
'libgdk-3.so'
|
||||||
|
'libsoxr'
|
||||||
|
'soundtouch'
|
||||||
|
'wxgtk3'
|
||||||
|
'libglib-2.0.so'
|
||||||
|
'libgobject-2.0.so'
|
||||||
|
'libgtk-3.so'
|
||||||
|
'libid3tag.so'
|
||||||
|
'libjack.so'
|
||||||
|
'liblilv-0.so'
|
||||||
|
'libogg.so'
|
||||||
|
'libportSMF.so'
|
||||||
|
'libsndfile.so'
|
||||||
|
'libsuil-0.so'
|
||||||
|
'libtwolame.so'
|
||||||
|
'libvamp-hostsdk.so'
|
||||||
|
'libvorbis.so'
|
||||||
|
'libvorbisenc.so'
|
||||||
|
'libvorbisfile.so')
|
||||||
|
makedepends=('alsa-lib'
|
||||||
|
'cmake'
|
||||||
|
'ffmpeg'
|
||||||
|
'flac'
|
||||||
|
'git'
|
||||||
|
'glib2'
|
||||||
|
'gtk3'
|
||||||
|
'jack'
|
||||||
|
'lame'
|
||||||
|
'libid3tag'
|
||||||
|
'libogg'
|
||||||
|
'libsndfile'
|
||||||
|
'libvorbis'
|
||||||
|
'lilv'
|
||||||
|
'lv2'
|
||||||
|
'portsmf'
|
||||||
|
'suil'
|
||||||
|
'twolame'
|
||||||
|
'vamp-plugin-sdk')
|
||||||
optdepends=('ffmpeg: additional import/export capabilities'
|
optdepends=('ffmpeg: additional import/export capabilities'
|
||||||
'audacity-extras: nyquist plugins for audacity')
|
'audacity-extras: nyquist plugins for audacity')
|
||||||
provides=('audacity')
|
provides=("$_pkgname")
|
||||||
conflicts=('audacity')
|
conflicts=("$_pkgname")
|
||||||
source=("$_pkgname::git+https://github.com/audacity/audacity.git")
|
source=("$_pkgname::git+https://github.com/$_pkgname/$_pkgname.git")
|
||||||
sha1sums=('SKIP')
|
sha1sums=('SKIP')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd "$srcdir/$_pkgname"
|
cd $_pkgname
|
||||||
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | cut -d'.' -f2-
|
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | cut -d'.' -f2-
|
||||||
}
|
}
|
||||||
|
|
||||||
prepare() {
|
|
||||||
cd $_pkgname
|
|
||||||
autoreconf -vfi
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $_pkgname
|
mkdir $_pkgname/build
|
||||||
WX_CONFIG=wx-config-gtk3 ./configure --prefix="/usr" \
|
cd $_pkgname/build
|
||||||
--with-libsndfile="system" \
|
CC=clang cmake \
|
||||||
--with-ffmpeg="system" \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
--with-expat="system" \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
--with-lame="system" \
|
audacity_use_sndfile:STRING=system \
|
||||||
--with-libsoxr="system" \
|
audacity_use_ffmpeg:STRING=loaded \
|
||||||
--with-portaudio \
|
audacity_use_expat:STRING=system \
|
||||||
--with-portmidi \
|
audacity_use_lame:STRING=local \
|
||||||
--with-libflac \
|
audacity_use_portaudio:STRING=local \
|
||||||
--with-libid3tag \
|
audacity_use_midi:STRING=local \
|
||||||
--with-libsamplerate \
|
audacity_use_flac:STRING=system \
|
||||||
--with-sbsms \
|
audacity_use_id3tag:STRING=system \
|
||||||
--with-soundtouch \
|
audacity_use_sbsms:STRING=local \
|
||||||
--with-libtwolame \
|
audacity_use_soundtouch:STRING=system \
|
||||||
--with-libvorbis \
|
audacity_use_twolame:STRING=system \
|
||||||
--with-lv2
|
audacity_use_vorbis:STRING=system \
|
||||||
make
|
audacity_use_lv2:STRING=local \
|
||||||
|
..
|
||||||
|
cmake --build .
|
||||||
|
make .
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
depends+=('libFLAC.so' 'libFLAC++.so' 'libasound.so' 'libgdk-3.so'
|
cd $_pkgname/build
|
||||||
'libglib-2.0.so' 'libgobject-2.0.so' 'libgtk-3.so' 'libid3tag.so'
|
|
||||||
'libjack.so' 'liblilv-0.so' 'libogg.so' 'libsndfile.so' 'libsuil-0.so'
|
|
||||||
'libtwolame.so' 'libvamp-hostsdk.so' 'libvorbis.so' 'libvorbisenc.so'
|
|
||||||
'libvorbisfile.so' 'libportSMF.so')
|
|
||||||
|
|
||||||
cd $_pkgname
|
|
||||||
make DESTDIR="${pkgdir}" install
|
make DESTDIR="${pkgdir}" install
|
||||||
|
cd ..
|
||||||
install -vDm 644 plug-ins/*.ny -t "${pkgdir}/usr/share/${pkgname}/plug-ins"
|
install -vDm 644 plug-ins/*.ny -t "${pkgdir}/usr/share/${pkgname}/plug-ins"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue