mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
{send,receive}midi: respect LDFLAGS
This commit is contained in:
parent
01e4cf698f
commit
bec9d4f796
2 changed files with 8 additions and 12 deletions
|
@ -1,10 +1,8 @@
|
|||
# Template file for 'receivemidi'
|
||||
pkgname=receivemidi
|
||||
version=1.3.1
|
||||
revision=1
|
||||
revision=2
|
||||
build_wrksrc="Builds/LinuxMakefile"
|
||||
build_style=gnu-makefile
|
||||
make_build_args="CONFIG=Release"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="alsa-lib-devel"
|
||||
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"
|
||||
checksum=54697ad1a723eea5e3f19ec3bf153795e765b278953dde8be7f350001637bc0a
|
||||
|
||||
post_patch() {
|
||||
if [ -z "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||
vsed -e 's/-latomic//g' -i Makefile
|
||||
fi
|
||||
do_build() {
|
||||
export JUCE_LDFLAGS="$LDFLAGS"
|
||||
make ${makejobs} CONFIG=Release V=1
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'sendmidi'
|
||||
pkgname=sendmidi
|
||||
version=1.2.1
|
||||
revision=1
|
||||
revision=2
|
||||
build_wrksrc="Builds/LinuxMakefile"
|
||||
build_style=gnu-makefile
|
||||
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"
|
||||
checksum=3fb3d16ee14784e057e633b6e57fede33ac291d9af85942106fde8b431e15740
|
||||
|
||||
post_patch() {
|
||||
if [ -z "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||
vsed -e 's/-latomic//g' -i Makefile
|
||||
fi
|
||||
do_build() {
|
||||
export JUCE_LDFLAGS="$LDFLAGS"
|
||||
make ${makejobs} CONFIG=Release V=1
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
|
Loading…
Add table
Reference in a new issue