extra/calf to 0.90.4-1

This commit is contained in:
Kevin Mihelich 2024-11-19 11:34:45 +00:00
parent 46fa741827
commit fa584dcd28
2 changed files with 19 additions and 40 deletions

View file

@ -1,12 +1,13 @@
pkgbase = calf
pkgdesc = LV2 plug-in suite and standalone Jack host
pkgver = 0.90.3
pkgrel = 7
pkgver = 0.90.4
pkgrel = 1
url = https://calf-studio-gear.org
arch = x86_64
groups = lv2-plugins
groups = pro-audio
license = LGPL2.1
makedepends = git
makedepends = lv2
depends = cairo
depends = expat
@ -18,8 +19,7 @@ pkgbase = calf
depends = gtk2
depends = hicolor-icon-theme
depends = jack
source = https://calf-studio-gear.org/files/calf-0.90.3.tar.gz
sha512sums = a17be4f2e753c5426ff6995ebf4e88f1d4916629f624fcb576e09e5cafd56474fc8944d9defba31561a3476c55d78dd69189cedb11197a09cc3af6e59aa2a867
b2sums = c34eebe4a80492f54f4af0ce136f489554959a0a605cd729a3138e368976aafb0fcf4827050aea6de3b276d1e6d5a67283eed88dd342aa8cf65ffcb3ff1cd86f
source = git+https://github.com/calf-studio-gear/calf#tag=0.90.4
b2sums = a5d2ccca675c21e807b4851d26e519beafce5ce159be8e5c711d1dd1febbf17f164dd9e6bc4e776295bfc2132c6ccb67bf4dc0a975acf49f6094bd0ef8f914b1
pkgname = calf

View file

@ -6,53 +6,32 @@
# - remove --enable-sse from configure
pkgname=calf
pkgver=0.90.3
pkgrel=7
pkgver=0.90.4
pkgrel=1
pkgdesc='LV2 plug-in suite and standalone Jack host'
arch=(x86_64)
url="https://calf-studio-gear.org"
groups=(
lv2-plugins
pro-audio
)
url='https://calf-studio-gear.org'
groups=(lv2-plugins pro-audio)
license=(LGPL2.1)
depends=(
cairo
expat
fluidsynth
gcc-libs
gdk-pixbuf2
glib2
glibc
gtk2
hicolor-icon-theme
jack
)
makedepends=(lv2)
source=(https://calf-studio-gear.org/files/$pkgname-$pkgver.tar.gz)
sha512sums=('a17be4f2e753c5426ff6995ebf4e88f1d4916629f624fcb576e09e5cafd56474fc8944d9defba31561a3476c55d78dd69189cedb11197a09cc3af6e59aa2a867')
b2sums=('c34eebe4a80492f54f4af0ce136f489554959a0a605cd729a3138e368976aafb0fcf4827050aea6de3b276d1e6d5a67283eed88dd342aa8cf65ffcb3ff1cd86f')
depends=(cairo expat fluidsynth gcc-libs gdk-pixbuf2 glib2 glibc gtk2 hicolor-icon-theme jack)
makedepends=(git lv2)
source=("git+https://github.com/calf-studio-gear/calf#tag=$pkgver")
b2sums=('a5d2ccca675c21e807b4851d26e519beafce5ce159be8e5c711d1dd1febbf17f164dd9e6bc4e776295bfc2132c6ccb67bf4dc0a975acf49f6094bd0ef8f914b1')
prepare(){
cd $pkgname-$pkgver
prepare() {
cd $pkgname
autoreconf -fiv
}
build() {
local configure_options=(
--enable-experimental
--prefix=/usr
--with-lv2
)
cd $pkgname-$pkgver
./configure "${configure_options[@]}"
cd $pkgname
./configure --enable-experimental --prefix=/usr --with-lv2
# prevent libtool from overlinking
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
make DESTDIR="$pkgdir" install -C $pkgname-$pkgver
install -vDm 644 $pkgname-$pkgver/{AUTHORS,ChangeLog,README} -t "$pkgdir/usr/share/doc/$pkgname"
make DESTDIR="$pkgdir" install -C $pkgname
install -Dm644 $pkgname/{AUTHORS,ChangeLog,README} -t "$pkgdir/usr/share/doc/$pkgname"
}