From a4525a4c5afe9cc03889d5ad762e93612c2feec5 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Thu, 30 Jan 2014 22:21:27 +0100 Subject: [PATCH] alsa: add package.mk and install via scripts/image Signed-off-by: Stephan Raue --- packages/audio/alsa/package.mk | 33 +++++++++++++++++++++++++++++++++ scripts/image | 3 +++ 2 files changed, 36 insertions(+) create mode 100644 packages/audio/alsa/package.mk diff --git a/packages/audio/alsa/package.mk b/packages/audio/alsa/package.mk new file mode 100644 index 0000000000..0743b6b0b9 --- /dev/null +++ b/packages/audio/alsa/package.mk @@ -0,0 +1,33 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv) +# +# OpenELEC is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# OpenELEC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC. If not, see . +################################################################################ + +PKG_NAME="alsa" +PKG_VERSION="" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://www.alsa-project.org/" +PKG_URL="" +PKG_DEPENDS_TARGET="toolchain alsa-lib alsa-utils" +PKG_PRIORITY="optional" +PKG_SECTION="virtual" +PKG_SHORTDESC="alsa: Matapackage to install all alsa components" +PKG_LONGDESC="ALSA (Advanced Linux Sound Architecture) is the next generation Linux Sound API. It provides much finer (->better) access to the sound hardware, has a unbeatable mixer API and supports stuff like multi channel hardware, digital outs and ins, uninterleaved sound data access, and an oss emulation layer (for the old applications). It is the prefered API for professional sound apps under Linux." + +PKG_IS_ADDON="no" +PKG_AUTORECONF="no" diff --git a/scripts/image b/scripts/image index cd0f605ba5..41a15f33ec 100755 --- a/scripts/image +++ b/scripts/image @@ -124,6 +124,9 @@ IMAGE_NAME="$DISTRONAME-$TARGET_VERSION" # Multimedia support [ ! "$MEDIACENTER" = "no" ] && $SCRIPTS/install mediacenter +# Sound support + [ "$ALSA_SUPPORT" = "yes" ] && $SCRIPTS/install alsa + # Automounter support [ "$UDEVIL" = "yes" ] && $SCRIPTS/install udevil