30 lines
818 B
Bash
30 lines
818 B
Bash
# Template file for 'invada-studio-plugins-lv2'
|
|
pkgname=invada-studio-plugins-lv2
|
|
version=1.2.0
|
|
revision=2
|
|
build_style=gnu-makefile
|
|
hostmakedepends="pkg-config"
|
|
makedepends="lv2 gtk+-devel"
|
|
short_desc="Invada Studio LV2 plugins"
|
|
maintainer="Olga Ustuzhanina <me@laserbat.pw>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://launchpad.net/invada-studio/"
|
|
distfiles="https://launchpad.net/invada-studio/lv2/1.2/+download/${pkgname}_${version}-nopkg.tgz"
|
|
checksum=c6cac7c32effc6b3052e3b017133244f385ef8e053147859d88eae6facaf7d12
|
|
|
|
post_patch() {
|
|
find . -name Makefile -exec \
|
|
sed -i -e '
|
|
/CFLAGS/{s/CFLAGS/ALL_CFLAGS/;s/=/= $(CFLAGS)/; s/-O3//}
|
|
/LDFLAGS/{s/LDFLAGS/ALL_LDFLAGS/;s/=/= $(LDFLAGS)/}
|
|
' {} +
|
|
}
|
|
|
|
pre_build() {
|
|
LD=$CC
|
|
}
|
|
|
|
do_install() {
|
|
make INSTALL_SYS_PLUGINS_DIR="$DESTDIR/usr/lib/lv2" install-sys
|
|
}
|