mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 21:56:42 +00:00
fix alsa
This commit is contained in:
parent
6efd73de02
commit
cca768929b
@ -16,7 +16,8 @@ cd $BUILD/$1*
|
|||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--disable-python \
|
--disable-python \
|
||||||
--disable-dependency-tracking
|
--disable-dependency-tracking \
|
||||||
|
--with-versioned=no \
|
||||||
|
|
||||||
sed -i 's/.*PKGLIBDIR.*/#define PKGLIBDIR ""/' include/config.h
|
sed -i 's/.*PKGLIBDIR.*/#define PKGLIBDIR ""/' include/config.h
|
||||||
|
|
||||||
|
@ -2,19 +2,16 @@
|
|||||||
|
|
||||||
. config/options
|
. config/options
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/bin
|
|
||||||
cp -PR $BUILD/$1*/aserver/.libs/aserver $INSTALL/usr/bin
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
mkdir -p $INSTALL/usr/lib
|
||||||
cp -PR $BUILD/$1*/src/.libs/libasound.so* $INSTALL/usr/lib
|
cp -PR $BUILD/$1*/src/.libs/libasound.so* $INSTALL/usr/lib
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib/alsa-lib/smixer
|
#mkdir -p $INSTALL/usr/lib/alsa-lib/smixer
|
||||||
cp -PR $BUILD/$1*/modules/mixer/simple/.libs/*.so $INSTALL/usr/lib/alsa-lib/smixer
|
#cp -PR $BUILD/$1*/modules/mixer/simple/.libs/*.so $INSTALL/usr/lib/alsa-lib/smixer
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/share/alsa
|
mkdir -p $INSTALL/usr/share/alsa
|
||||||
sed 's%.*~/\.asoundrc.*%%' $BUILD/$1*/src/conf/alsa.conf > $INSTALL/usr/share/alsa/alsa.conf
|
sed 's%.*~/\.asoundrc.*%%' $BUILD/$1*/src/conf/alsa.conf > $INSTALL/usr/share/alsa/alsa.conf
|
||||||
cp -PR $BUILD/$1*/src/conf/smixer.conf $INSTALL/usr/share/alsa
|
#cp -PR $BUILD/$1*/src/conf/smixer.conf $INSTALL/usr/share/alsa
|
||||||
cp -PR $BUILD/$1*/src/conf/*.alisp $INSTALL/usr/share/alsa
|
#cp -PR $BUILD/$1*/src/conf/*.alisp $INSTALL/usr/share/alsa
|
||||||
|
|
||||||
cp -rf $BUILD/$1*/src/conf/cards $INSTALL/usr/share/alsa/
|
cp -rf $BUILD/$1*/src/conf/cards $INSTALL/usr/share/alsa/
|
||||||
cp -rf $BUILD/$1*/src/conf/pcm $INSTALL/usr/share/alsa/
|
cp -rf $BUILD/$1*/src/conf/pcm $INSTALL/usr/share/alsa/
|
||||||
|
@ -13,6 +13,7 @@ options snd-usb-audio index=-2
|
|||||||
options snd-usb-usx2y index=-2
|
options snd-usb-usx2y index=-2
|
||||||
options snd-usb-caiaq index=-2
|
options snd-usb-caiaq index=-2
|
||||||
options snd-cmipci mpu_port=0x330 fm_port=0x388
|
options snd-cmipci mpu_port=0x330 fm_port=0x388
|
||||||
|
options snd-hda-intel probe_mask=1
|
||||||
|
|
||||||
# Some Toshiba laptops might require this
|
# Some Toshiba laptops might require this
|
||||||
# options snd-hda-intel model=toshiba
|
# options snd-hda-intel model=toshiba
|
||||||
|
@ -8,5 +8,5 @@ $SCRIPTS/install alsa-lib
|
|||||||
$SCRIPTS/install alsa-utils
|
$SCRIPTS/install alsa-utils
|
||||||
|
|
||||||
mkdir -p $INSTALL/etc/modprobe.d
|
mkdir -p $INSTALL/etc/modprobe.d
|
||||||
#cp $PKG_DIR/config/alsa-base $INSTALL/etc/modprobe.d
|
cp $PKG_DIR/config/alsa-base $INSTALL/etc/modprobe.d
|
||||||
#cp $PKG_DIR/config/audio $INSTALL/etc
|
cp $PKG_DIR/config/audio $INSTALL/etc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user