zita-at1: fix resource location.
It install resources in /usr/share, but was built with PREFIX=/usr/local/share. This commit passes PREFIX=/usr during build time to fix that. Also: - Use vsed instead of sed - Remove unnecessary sed for -march=native, issue now fixed in the gnu-makefile style Fixes #27002.
This commit is contained in:
parent
2325ae153b
commit
f3d06c1c23
1 changed files with 3 additions and 3 deletions
|
@ -1,9 +1,10 @@
|
|||
# Template file for 'zita-at1'
|
||||
pkgname=zita-at1
|
||||
version=0.6.2
|
||||
revision=1
|
||||
revision=2
|
||||
build_wrksrc=source
|
||||
build_style=gnu-makefile
|
||||
make_build_args="PREFIX=/usr"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="clxclient-devel clthreads-devel zita-resampler-devel cairo-devel
|
||||
freetype-devel fftw-devel jack-devel libpng-devel libXft-devel libX11-devel"
|
||||
|
@ -15,7 +16,6 @@ distfiles="https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${
|
|||
checksum=19bb3ddc02b32d6ad15fdd928ee66c2e5bb5e4c7fe465c431e98c2fd83b1ae57
|
||||
|
||||
pre_build() {
|
||||
sed -i '/march=native/d' Makefile
|
||||
# change pkgconf to pkg-config
|
||||
sed -i 's/pkgconf/pkg-config/' Makefile
|
||||
vsed -e 's/pkgconf/pkg-config/' -i Makefile
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue