PKGBUILDs/extra/calf/PKGBUILD

59 lines
1.4 KiB
Bash
Raw Normal View History

2018-06-06 12:51:17 +00:00
# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
2019-02-18 15:13:19 +00:00
# Contributor: David Runge <dave@sleepmap.de>
2014-01-20 19:50:59 +00:00
# Contributor: Ray Rashif <schiv@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
2016-02-07 21:33:15 +00:00
# - remove --enable-sse from configure
2014-01-20 19:50:59 +00:00
pkgname=calf
2019-07-18 12:42:57 +00:00
pkgver=0.90.3
2024-07-12 03:12:00 +00:00
pkgrel=7
2019-04-16 00:19:47 +00:00
pkgdesc='LV2 plug-in suite and standalone Jack host'
2020-12-22 14:58:38 +00:00
arch=(x86_64)
2019-04-16 00:19:47 +00:00
url="https://calf-studio-gear.org"
2023-03-21 18:06:17 +00:00
groups=(
lv2-plugins
pro-audio
)
2020-12-22 14:58:38 +00:00
license=(LGPL2.1)
2023-03-21 18:06:17 +00:00
depends=(
cairo
expat
fluidsynth
gcc-libs
gdk-pixbuf2
glib2
glibc
gtk2
hicolor-icon-theme
jack
)
2020-12-22 14:58:38 +00:00
makedepends=(lv2)
2023-03-21 18:06:17 +00:00
source=(https://calf-studio-gear.org/files/$pkgname-$pkgver.tar.gz)
sha512sums=('a17be4f2e753c5426ff6995ebf4e88f1d4916629f624fcb576e09e5cafd56474fc8944d9defba31561a3476c55d78dd69189cedb11197a09cc3af6e59aa2a867')
b2sums=('c34eebe4a80492f54f4af0ce136f489554959a0a605cd729a3138e368976aafb0fcf4827050aea6de3b276d1e6d5a67283eed88dd342aa8cf65ffcb3ff1cd86f')
2014-01-20 19:50:59 +00:00
2019-02-18 15:13:19 +00:00
prepare(){
2020-12-22 14:58:38 +00:00
cd $pkgname-$pkgver
2023-03-21 18:06:17 +00:00
autoreconf -fiv
2019-02-18 15:13:19 +00:00
}
2015-04-12 02:06:08 +00:00
2019-02-18 15:13:19 +00:00
build() {
2023-03-21 18:06:17 +00:00
local configure_options=(
--enable-experimental
--prefix=/usr
2020-12-22 14:58:38 +00:00
--with-lv2
2023-03-21 18:06:17 +00:00
)
cd $pkgname-$pkgver
./configure "${configure_options[@]}"
# prevent libtool from overlinking
2021-08-02 23:17:13 +00:00
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
2014-01-20 19:50:59 +00:00
make
}
package() {
2023-03-21 18:06:17 +00:00
make DESTDIR="$pkgdir" install -C $pkgname-$pkgver
install -vDm 644 $pkgname-$pkgver/{AUTHORS,ChangeLog,README} -t "$pkgdir/usr/share/doc/$pkgname"
2014-01-20 19:50:59 +00:00
}