invada-studio-plugins-lv2: honour our build flags
This commit is contained in:
parent
1751c4e180
commit
b3e9ac792a
|
@ -1,9 +1,8 @@
|
|||
# Template file for 'invada-studio-plugins-lv2'
|
||||
pkgname=invada-studio-plugins-lv2
|
||||
version=1.2.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-makefile
|
||||
make_use_env=yes
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="lv2 gtk+-devel"
|
||||
short_desc="Invada Studio LV2 plugins"
|
||||
|
@ -13,8 +12,16 @@ 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() {
|
||||
make_build_args="CC=${CC} LD=${CC}"
|
||||
LD=$CC
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
|
Loading…
Reference in New Issue