new package: portmidi
This commit is contained in:
parent
40b64ad316
commit
dadb03b260
|
@ -0,0 +1,10 @@
|
|||
TERMUX_PKG_HOMEPAGE=https://github.com/PortMidi/portmidi
|
||||
TERMUX_PKG_DESCRIPTION="A cross-platform MIDI input/output library"
|
||||
TERMUX_PKG_LICENSE="MIT"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=2.0.3
|
||||
TERMUX_PKG_SRCURL=https://github.com/PortMidi/portmidi/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=934f80e1b09762664d995e7ab5a9932033bc70639e8ceabead817183a54c60d0
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
||||
-DLINUX_DEFINES=PMNULL
|
||||
"
|
|
@ -0,0 +1,12 @@
|
|||
--- a/porttime/ptlinux.c
|
||||
+++ b/porttime/ptlinux.c
|
||||
@@ -31,7 +31,9 @@
|
||||
#include "porttime.h"
|
||||
#include "time.h"
|
||||
#include "sys/resource.h"
|
||||
+#ifndef __ANDROID__
|
||||
#include "sys/timeb.h"
|
||||
+#endif
|
||||
#include "pthread.h"
|
||||
|
||||
#define TRUE 1
|
Loading…
Reference in New Issue