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