================================ alsa-lib:source=1.0.20-1 (previous: 1.0.19-1) cvc rdiff alsa-lib -1 /weasel.rpath.org@wgl:3-devel/1.0.20-1 ================================ 1.0.20-1 Filip Brcic (brcha@xxxxxxx) Thu Jan 14 15:13:08 2010 version bump + metadata alsa-lib-1.0.20.tar.bz2: new alsa-lib.recipe: changed Index: alsa-lib.recipe ==================================================================== contents(size sha1) inode(mtime) --- alsa-lib.recipe /weasel.rpath.org@wgl:3-devel/1.0.19-1 +++ alsa-lib.recipe /weasel.rpath.org@wgl:3-devel/1.0.20-1 @@ -1,31 +1,50 @@ # -# Copyright (c) 2004-2006 rPath, Inc. -# This file is distributed under the terms of the MIT License. -# A copy is available at http://www.rpath.com/permanent/mit-license.html +# Copyright (c) 2010 Filip Brcic <brcha@xxxxxxxxxxxx> +# Distributed under the terms of the GNU General Public License v3 # -loadSuperClass('python') +loadInstalled('python') class AlsaLib(AutoPackageRecipe, Python.VersionMixIn): name = 'alsa-lib' - version = '1.0.19' + version = '1.0.20' - buildRequires = [ 'python:devel' ] + buildRequires = [ + 'python:devel', 'alsa-headers:devel', + ] + + shortDesc = 'Advanced Linux Sound Architecture Library' + longDesc = """ +The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI +functionality to the Linux operating system. +""" + url = 'http://www.alsa-project.org/' + licenses = [ 'LGPL-2.1' ] + categories = [ 'Media/Sound' ] def unpack(r): - r.addArchive('ftp://ftp.alsa-project.org/pub/lib/') + r.setDefaultPython() + r.addArchive('mirror://alsaproject/lib/') - r.setDefaultPython() + def configure(r): + r.alsaPcmPlugins = [ + 'copy', 'linear', 'route', 'mulaw', 'alaw', 'adpcm', + 'rate', 'plug', 'multi', 'shm', 'file', 'null', 'empty', + 'share', 'meter', 'mmap_emul', 'hooks', 'lfloat', + 'ladspa', 'dmix', 'dshare', 'dsnoop', 'asym', 'iec958', + 'softvol', 'extplug', 'ioplug', + ] - if Arch.x86_64: - # First build 32bit library - macros32 = r.macros.copy() - macros32.cc = '"gcc -m32"' - macros32.cxx = '"g++ -m32"' - macros32.libdir = '%(prefix)s/lib' - r.Configure(objDir='build32', overrideMacros=macros32) - r.Make(dir='build32', overrideMacros=macros32) - r.MakeInstall(dir='build32', overrideMacros=macros32) - r.NormalizePkgConfig(exceptions='.*') + r.macros.alsa_pcm_plugins = ' '.join(r.alsaPcmPlugins) - def policy(r): - r.AutoDoc('doc/asoundrc.txt') + r.Configure( + ' --enable-static' + ' --enable-shared' + ' --disable-resmgr' + ' --enable-rawmidi' + ' --enable-seq' + ' --enable-aload' + ' --enable-alisp' + ' --enable-python' + ' --with-pcm-plugins="%(alsa_pcm_plugins)s"' + ' --disable-dependency-tracking' + ) alsa-lib-1.0.19.tar.bz2: removed config.patch: removed Committed by: brcha