Commit Graph

7 Commits

Author SHA1 Message Date
Volker Grabsch e412eb642d Move package versions from index.html back into the src/*.mk files
Most of the automatic conversion was done using the following Python script:

import os
import re
pkgs = sorted(mkfile[:-len('.mk')] for mkfile in os.listdir('src') if mkfile.endswith('.mk'))
with open('index.html', 'rb') as f:
    index = f.read()
pkgs_index = re.findall('<td class="package">([^<]*)</td>', index)
assert pkgs_index == pkgs
versions = dict(re.findall('<td id="([^"]*)-version">([^<]*)</td>', index))
assert sorted(versions.keys()) == pkgs
for pkg in pkgs:
    version = versions[pkg]
    with open('src/' + pkg + '.mk', 'rb') as f:
        mk = f.read()
    checksumpos = mk.index('\n$(PKG)_CHECKSUM ')
    versionline = '\n$(PKG)_VERSION  := %(version)s' % {'version': version}
    newmk = mk[:checksumpos] + versionline + mk[checksumpos:]
    with open('src/' + pkg + '.mk', 'wb') as f:
        f.write(newmk)
2013-07-22 01:41:31 +02:00
Tony Theodore 180ad76384 package portmidi: fix test program and enable mingw-w64 builds 2013-06-04 20:10:15 +10:00
Tony Theodore 5390e5203e various packages: enable/disable mingw-w64 builds 2013-06-01 22:28:04 +10:00
Tony Theodore c461d3ddbc package portmidi: add update macro 2013-03-23 22:28:22 +11:00
Tony Theodore 36e1bc79d2 package portmidi: add update macro placeholder 2013-02-06 14:29:32 +11:00
Tony Theodore 67d940c3c1 package portmidi: standalone test and strict compiler flags 2013-02-06 14:26:06 +11:00
Stefan Hajnoczi f5e41fcdeb add package portmidi
PortMidi is a cross-platform MIDI library.  Its webpage says:

  "It supports real-time input and output of MIDI data using a
  system-independent interface. PortMidi runs on Windows (using MME),
  Macintosh (using CoreMIDI), and Linux (using ALSA)."

The build system is cmake.  A patch was necessary to build without a
Java Native Interface dependency (only needed for Java bindings and
Java-based utilities).

The pm_test/test.c program is compiled in order to prove that building
works.

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
2013-01-27 18:42:20 +01:00