Commit Graph

9 Commits

Author SHA1 Message Date
Timothy Gu 76ac846202 Update opusfile
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-05-08 20:55:27 -07:00
Timothy Gu cf9d32debf opusfile: enable shared build
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-05-04 20:28:53 -07:00
Tony Theodore 8de0584a23 many packages: explicitly disable shared builds
closes #369
2014-04-06 23:18:24 +10:00
Tony Theodore d7a8d21b8c packages opus opusfile: use $(SORT) variable 2013-09-08 01:19:27 +10:00
Timothy Gu b26bfe9e64 Update package opus and opusfile
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2013-09-05 13:44:49 -07:00
Timothy Gu 2faa8cae12 opus + opusfile: Sort versions before selecting version for updating
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2013-09-05 13:43:52 -07:00
Timothy Gu f48d0557c2 opus + opusfile: do not update to beta
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2013-09-05 13:43:04 -07: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
Ulrich Klauer b626992d4e Add package opusfile
Opusfile is a decoder for Opus files. It provides a higher-level API
than the opus library, of which it makes use.

Update function taken directly from opus.mk. Two patches are needed to
make it work, one is taken from the upstream repository (change
introduced after the latest release), the other is by myself.
2013-03-12 01:41:42 +01:00