PortMidi

From CBLFS
Jump to navigationJump to search
Download Source: http://downloads.sourceforge.net/project/portmedia/portmedia/131/portmidi-src-131.zip
Download Patch: http://svn.cross-lfs.org/svn/repos/patches/portmidi_src_zip/portmidi_src_zip-131-add_autotools-1.patch

Introduction to PortMidi

PortMidi provides a platform-independent interface for real-time MIDI I/O.

Project Homepage: http://portmedia.sourceforge.net/portmidi/


Dependencies

Required

Command Explanation

CPPFLAGS=...

This is a work-around for a bug in the version of automake used to autotoolize this package. Libtool fails to pass the value of AM_CPPFLAGS to gcc when building libraries.

Non-Multilib

Compile the package:

patch -Np1 < ../portmidi_src_zip-131-add_autotools-1.patch &&
CPPFLAGS='-DPMALSA -I$(top_srcdir)/pm_common -I$(top_srcdir)/porttime' \
    ./configure --prefix=/usr &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

patch -Np1 < ../portmidi_src_zip-131-add_autotools-1.patch &&
CPPFLAGS='-DPMALSA -I$(top_srcdir)/pm_common -I$(top_srcdir)/porttime' \
    CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package:

make install

N32

Compile the package:

todo

Install the package:

todo

64Bit

Compile the package:

patch -Np1 < ../portmidi_src_zip-131-add_autotools-1.patch &&
CPPFLAGS='-DPMALSA -I$(top_srcdir)/pm_common -I$(top_srcdir)/porttime' \
    CC="gcc ${BUILD64}" ./configure --prefix=/usr \
    --libdir=/usr/lib64 &&
make

Install the package:

make install

Contents

Installed Libraries: libportmidi.{a,so}, libporttime.{a,so}

Short Descriptions

libportmidi.{so,a} todo style="text-align: left;" libporttime.{so,a} todo
Retrieved from "?title=PortMidi&oldid=18796"