Commit Graph

29 Commits

Author SHA1 Message Date
Tony Theodore 01e2a64d00 cross packages: replace dependency gcc with cc 2017-12-23 08:19:00 +11:00
Boris Nagaev 74163f1794 add _WEBSITE and _DESCR fields to core packages
See https://github.com/mxe/mxe/issues/1422

Automation (Python 2 code): https://gist.github.com/9f5c315e5d0cf113d41dc454b7a0eb41
2016-12-22 22:25:48 +01:00
Matthias Geier f4bbc45682 Upgrade PortAudio to version 19.6.0 2016-11-10 22:24:07 +01:00
Boris Nagaev 6adb5ade12 Copyright headers: point to LICENSE.md and shorten
The following script was applied:

    sed ':a;/part of MXE.$/{N;s/\n//;ba}' -i $(git grep -l 'part of MXE')

    sed 's/\(part of MXE\).*\(See index.html\)/\1. \2/' -i \
        $(git grep -l 'part of MXE.*See index.html')

    before='This file is part of MXE. See index.html for further information.'
    after='This file is part of MXE. See LICENSE.md for licensing information.'
    sed "s/$before/$after/" -i $(git grep -l 'part of MXE')

Then git grep 'index.html for further information' revealed two other files.
One of them was patched manually (patch.mk). Makefile has text
"See index.html for further information" unrelated to licensing.

See https://github.com/mxe/mxe/issues/1500#issuecomment-241340792
2016-08-27 12:31:29 +03:00
Boris Nagaev 17e40d3884 use $(TEST_FILE) instead of $(2).c and other
The following script was applied:

    set -xue

    find src/ plugins/ -name '*.mk' -type f > mks

    # special cases for test file:
    # ls -d src/*-test* | sed 's@-test.*@@' | sort | uniq --repeated
    sed 's@$(2).c@$(PWD)/src/$(PKG)-test.c@g' -i \
        src/{boost,freeimage,hdf5,lapack,sdl,sdl_image,sdl_sound}.mk
    sed 's@$(2).f@$(PWD)/src/$(PKG)-test.f@g' -i src/lapack.mk
    sed 's@$(PWD)/$(2).pro@$(PWD)/src/$(PKG)-test.pro@g' -i \
        src/qt.mk plugins/examples/custom-qt-min/overrides.mk
    sed 's@$(2)-CMakeLists.txt@$(PWD)/src/$(PKG)-test-CMakeLists.txt@g' \
        -i src/{sdl_image,sdl_sound}.mk

    # check
    for base in $(ls -d src/*-test* | sed 's@-test.*@@' | sort | uniq --repeated); do
        ! grep -q '$(2)' "${base}.mk"
    done

    # other $(2)
    sed 's@$(2).cpp@$(TEST_FILE)@g' -i $(cat mks)
    sed 's@$(2).cxx@$(TEST_FILE)@g' -i $(cat mks)
    sed 's@$(2).c@$(TEST_FILE)@g' -i $(cat mks)
    sed 's@$(2).ml@$(TEST_FILE)@g' -i $(cat mks)
    sed 's@$(2).f@$(TEST_FILE)@g' -i $(cat mks)

    # check
    ! grep '$(2)' $(cat mks)

See https://github.com/mxe/mxe/issues/1452
2016-07-30 22:38:45 +03:00
Tony Theodore fc0ed34fb9 all packages: really use sha256 checksums 2015-09-23 18:32:58 +10:00
Tony Theodore a228c0488f all packages: switch to sha256 checksums
closes #871
2015-09-23 17:27:16 +10:00
Timothy Gu eb65c9cdb6 Add wasapi support for portaudio
Fixes #715.
2015-06-30 18:31:41 -07:00
Matthias Geier 6456816675 Enable WDM/KS support for PortAudio
See #716.
2015-06-30 18:15:49 +02:00
Timothy Gu 7d265e6f70 Remove i686-pc-mingw32 package recipes
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-10-14 01:42:11 +00:00
Tony Theodore 7d7dd227db packages gcc libvpx openssl portaudio: use escaped substitution style
prompted by sample package recipe on @TimothyGu's wiki
2014-02-18 14:04:23 +11:00
Tony Theodore 3d88ea1d02 package portaudio: add comments and reference for shared lib workaround 2014-02-10 22:22:49 +11:00
Tony Theodore f97102a24d package portaudio: enable shared and mingw-w64 builds 2014-02-10 22:14:15 +11:00
Stefan Hajnoczi 5efd0b159b package portaudio: update to v19_20140130
A new PortAudio stable release has been made.

The mxe-specific patches in src/portaudio-1-win32.patch have changed as
follows:

  [Unchanged]  pa_win_ds.c needs a definition for DSSPEAKER_7POINT1
  from the DirectSound headers.  Mingw doesn't include this constant so
  we patch it.

  [Added] CalculateBufferSettings() mixes int and unsigned long types.
  gcc treats this sloppy use of types as an error.  Manually cast since
  we know it's safe on Windows where the LLP64 data model is used.

  [Added] configure.in mistakingly lists pa_win_wdmks_util.o instead of
  the correct filename, pa_win_wdmks_utils.o.  I have sent a patch
  upstream to PortAudio and we'll be able to drop this in the next
  update.

  [Dropped] pa_win_wdmks.c now uses special headers for mingw so we do
  not need to define _WAVEFORMATEXTENSIBLE_ anymore.

  [Dropped] configure.in now supports building multiple hostapis with
  mingw since my patch was merged upstream in PortAudio.  We no longer
  need to modify LIBS.

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
2014-02-02 15:23:32 +01:00
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 5390e5203e various packages: enable/disable mingw-w64 builds 2013-06-01 22:28:04 +10:00
Mark Brand 7468ec5a3e package portaudio: fix update macro 2012-10-11 16:34:39 +02:00
Tony Theodore 118f2c0b33 package portaudio: fix detection of $(TARGET)-ar 2012-09-17 20:07:48 +10:00
Stefan Hajnoczi 85aa9e7e56 Update PortAudio v19 from 20071207 to 20111121
This patch updates PortAudio to v19 20111121 from 20071207.

The src/portaudio-1-win32.patch ./configure hunks have been submitted upstream
and will be in the next PortAudio release.  In the meantime we must carry this
patch to build multiple audio host APIs for Windows.

This patch also enables the WASAPI, WDM Kernel Streaming, and WinMME host APIs
for a broader selection of Windows audio APIs.  WASAPI and WDM Kernel Streaming
are especially useful for low-latency audio.

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
2012-08-12 12:42:10 +01:00
Tony Theodore 4ed13a9f30 all packages: use $(WGET) portability variable 2012-05-16 17:49:40 +10:00
Volker Grabsch 00f4690d3f Move full package names from src/*.mk into package list (index.html) 2012-03-29 21:41:44 +02:00
Volker Grabsch 7badad85c9 Move doc/index.html -> index.html 2012-03-29 12:14:15 +02:00
Volker Grabsch 7e6723adb5 Move $(PKG)_VERSION and $(PKG)_WEBSITE from src/*.mk into doc/index.html 2012-03-29 11:07:07 +02:00
Volker Grabsch defdff28f0 Rebrand to new project name MXE 2012-03-28 15:46:58 +02:00
Tony Theodore 80decc9bfa package portaudio: add test program, disable built-in tests, and remove superflous shared flag 2011-03-16 21:56:00 +11:00
Volker Grabsch 95e1ec1dec bugfix: remove all dependencies to the directx package which no longer exists 2010-04-13 03:12:25 +02:00
Volker Grabsch 71f83a7e0d point consequently to "doc/index.html" instead of "doc/index.html or doc/README" 2010-02-08 00:58:06 +01:00
Volker Grabsch 224bbf9dfa improved coding style in package portaudio 2010-01-26 23:58:32 +01:00
Volker Grabsch 495333b9d8 new packages: aubio, fftw, id3lib, liblo, libsamplerate and portaudio (by David García Garzón) 2010-01-26 15:50:50 +01:00