From 01d8698b41a2c711632f9995ea0da38f356ca80f Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Fri, 19 Nov 2021 17:27:07 +0100 Subject: [PATCH] alsa-lib: new module for version 1.2.5.1 --- Libraries/alsa-lib/build | 10 ++++++++++ Libraries/alsa-lib/files/variants.rhel6 | 1 + Libraries/alsa-lib/files/variants.rhel7 | 1 + Libraries/alsa-lib/modulefile | 21 +++++++++++++++++++++ 4 files changed, 33 insertions(+) create mode 100755 Libraries/alsa-lib/build create mode 100644 Libraries/alsa-lib/files/variants.rhel6 create mode 100644 Libraries/alsa-lib/files/variants.rhel7 create mode 100644 Libraries/alsa-lib/modulefile diff --git a/Libraries/alsa-lib/build b/Libraries/alsa-lib/build new file mode 100755 index 0000000..fbd15d4 --- /dev/null +++ b/Libraries/alsa-lib/build @@ -0,0 +1,10 @@ +#!/usr/bin/env modbuild + +pbuild::set_download_url "http://www.alsa-project.org/files/pub/lib/$P-${V_PKG}.tar.bz2" +pbuild::add_to_group 'Libraries' + +pbuild::pre_configure() { + pbuild::add_configure_args '--with-pic' + pbuild::add_configure_args '--enable-shared' + pbuild::add_configure_args 'CFLAGS=-fPIC' +} diff --git a/Libraries/alsa-lib/files/variants.rhel6 b/Libraries/alsa-lib/files/variants.rhel6 new file mode 100644 index 0000000..783c8dd --- /dev/null +++ b/Libraries/alsa-lib/files/variants.rhel6 @@ -0,0 +1 @@ +alsa-lib/1.2.5.1 unstable diff --git a/Libraries/alsa-lib/files/variants.rhel7 b/Libraries/alsa-lib/files/variants.rhel7 new file mode 100644 index 0000000..783c8dd --- /dev/null +++ b/Libraries/alsa-lib/files/variants.rhel7 @@ -0,0 +1 @@ +alsa-lib/1.2.5.1 unstable diff --git a/Libraries/alsa-lib/modulefile b/Libraries/alsa-lib/modulefile new file mode 100644 index 0000000..7281f77 --- /dev/null +++ b/Libraries/alsa-lib/modulefile @@ -0,0 +1,21 @@ +#%Module1.0 + +module-whatis "Advanced Linux Sound Architecture (ALSA) libraries" +module-url "https://alsa-project.org/" +module-license "GNU GPL v3" +module-maintainer "Achim Gsell " + +module-help " +The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI +functionality to the Linux operating system. ALSA has the following +significant features: +o Efficient support for all types of audio interfaces, from consumer + sound cards to professional multichannel audio interfaces. +o Fully modularized sound drivers. +o SMP and thread-safe design. +o User space library (alsa-lib) to simplify application programming + and provide higher level functionality. +o Support for the older Open Sound System (OSS) API, providing + binary compatibility for most OSS programs. +" +