{send,receive}midi: respect LDFLAGS

This commit is contained in:
Đoàn Trần Công Danh 2023-09-09 21:17:49 +07:00 committed by Đoàn Trần Công Danh
parent 01e4cf698f
commit bec9d4f796
2 changed files with 8 additions and 12 deletions

View file

@ -1,10 +1,8 @@
# Template file for 'receivemidi' # Template file for 'receivemidi'
pkgname=receivemidi pkgname=receivemidi
version=1.3.1 version=1.3.1
revision=1 revision=2
build_wrksrc="Builds/LinuxMakefile" build_wrksrc="Builds/LinuxMakefile"
build_style=gnu-makefile
make_build_args="CONFIG=Release"
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
makedepends="alsa-lib-devel" makedepends="alsa-lib-devel"
short_desc="Command-line tool to monitor and receive MIDI messages" short_desc="Command-line tool to monitor and receive MIDI messages"
@ -15,10 +13,9 @@ changelog="https://github.com/gbevin/ReceiveMIDI/releases"
distfiles="https://github.com/gbevin/ReceiveMIDI/archive/refs/tags/${version}.tar.gz" distfiles="https://github.com/gbevin/ReceiveMIDI/archive/refs/tags/${version}.tar.gz"
checksum=54697ad1a723eea5e3f19ec3bf153795e765b278953dde8be7f350001637bc0a checksum=54697ad1a723eea5e3f19ec3bf153795e765b278953dde8be7f350001637bc0a
post_patch() { do_build() {
if [ -z "$XBPS_TARGET_NO_ATOMIC8" ]; then export JUCE_LDFLAGS="$LDFLAGS"
vsed -e 's/-latomic//g' -i Makefile make ${makejobs} CONFIG=Release V=1
fi
} }
do_install() { do_install() {

View file

@ -1,7 +1,7 @@
# Template file for 'sendmidi' # Template file for 'sendmidi'
pkgname=sendmidi pkgname=sendmidi
version=1.2.1 version=1.2.1
revision=1 revision=2
build_wrksrc="Builds/LinuxMakefile" build_wrksrc="Builds/LinuxMakefile"
build_style=gnu-makefile build_style=gnu-makefile
make_build_args="CONFIG=Release" make_build_args="CONFIG=Release"
@ -15,10 +15,9 @@ changelog="https://github.com/gbevin/SendMIDI/releases"
distfiles="https://github.com/gbevin/SendMIDI/archive/refs/tags/${version}.tar.gz" distfiles="https://github.com/gbevin/SendMIDI/archive/refs/tags/${version}.tar.gz"
checksum=3fb3d16ee14784e057e633b6e57fede33ac291d9af85942106fde8b431e15740 checksum=3fb3d16ee14784e057e633b6e57fede33ac291d9af85942106fde8b431e15740
post_patch() { do_build() {
if [ -z "$XBPS_TARGET_NO_ATOMIC8" ]; then export JUCE_LDFLAGS="$LDFLAGS"
vsed -e 's/-latomic//g' -i Makefile make ${makejobs} CONFIG=Release V=1
fi
} }
do_install() { do_install() {