mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
xbmc-rpi: add option to enable/disable LAME and VORBIS encoder support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
ed95ff51b5
commit
7ed69370a4
@ -110,6 +110,18 @@ else
|
|||||||
XBMC_DVDCSS="--disable-dvdcss"
|
XBMC_DVDCSS="--disable-dvdcss"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$ENCODER_LAME" = yes ]; then
|
||||||
|
XBMC_LAMEENC="--enable-libmp3lame"
|
||||||
|
else
|
||||||
|
XBMC_LAMEENC="--disable-libmp3lame"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$ENCODER_VORBIS" = yes ]; then
|
||||||
|
XBMC_VORBISENC="--enable-libvorbisenc"
|
||||||
|
else
|
||||||
|
XBMC_VORBISENC="--disable-libvorbisenc"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$BLURAY_SUPPORT" = yes ]; then
|
if [ "$BLURAY_SUPPORT" = yes ]; then
|
||||||
XBMC_BLURAY="--enable-libbluray"
|
XBMC_BLURAY="--enable-libbluray"
|
||||||
else
|
else
|
||||||
@ -254,8 +266,9 @@ cd $PKG_BUILD
|
|||||||
$XBMC_SAMBA \
|
$XBMC_SAMBA \
|
||||||
$XBMC_NFS \
|
$XBMC_NFS \
|
||||||
$XBMC_AFP \
|
$XBMC_AFP \
|
||||||
|
$XBMC_VORBISENC \
|
||||||
--enable-ffmpeg-libvorbis \
|
--enable-ffmpeg-libvorbis \
|
||||||
--enable-lame \
|
$XBMC_LAMEENC \
|
||||||
$XBMC_DVDCSS \
|
$XBMC_DVDCSS \
|
||||||
--disable-mid \
|
--disable-mid \
|
||||||
--disable-hal \
|
--disable-hal \
|
||||||
|
@ -25,8 +25,8 @@ PKG_ARCH="any"
|
|||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="http://www.xbmc.org"
|
PKG_SITE="http://www.xbmc.org"
|
||||||
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
|
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||||
PKG_DEPENDS="boost Python zlib bzip2 lzo pcre libass enca curl libssh rtmpdump fontconfig fribidi tinyxml libjpeg-turbo libpng tiff freetype jasper libmad libsamplerate libogg libvorbis libcdio libmodplug faad2 flac lame libmpeg2 yajl sqlite mysql bc xbmc-addon-settings"
|
PKG_DEPENDS="boost Python zlib bzip2 lzo pcre libass enca curl libssh rtmpdump fontconfig fribidi tinyxml libjpeg-turbo libpng tiff freetype jasper libmad libsamplerate libogg libcdio libmodplug faad2 flac libmpeg2 yajl sqlite mysql bc xbmc-addon-settings"
|
||||||
PKG_BUILD_DEPENDS="toolchain boost Python zlib bzip2 lzo pcre libass enca curl libssh rtmpdump fontconfig fribidi tinyxml libjpeg-turbo libpng tiff freetype jasper libmad libsamplerate libogg libvorbis libcdio libmodplug faad2 flac lame libmpeg2 yajl sqlite mysql"
|
PKG_BUILD_DEPENDS="toolchain boost Python zlib bzip2 lzo pcre libass enca curl libssh rtmpdump fontconfig fribidi tinyxml libjpeg-turbo libpng tiff freetype jasper libmad libsamplerate libogg libcdio libmodplug faad2 flac libmpeg2 yajl sqlite mysql"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="mediacenter"
|
PKG_SECTION="mediacenter"
|
||||||
PKG_SHORTDESC="xbmc: XBMC Mediacenter"
|
PKG_SHORTDESC="xbmc: XBMC Mediacenter"
|
||||||
@ -90,6 +90,16 @@ if [ "$FAAC_SUPPORT" = yes ]; then
|
|||||||
PKG_DEPENDS="$PKG_DEPENDS faac"
|
PKG_DEPENDS="$PKG_DEPENDS faac"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$ENCODER_LAME" = yes ]; then
|
||||||
|
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS lame"
|
||||||
|
PKG_DEPENDS="$PKG_DEPENDS lame"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$ENCODER_VORBIS" = yes ]; then
|
||||||
|
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS libvorbis"
|
||||||
|
PKG_DEPENDS="$PKG_DEPENDS libvorbis"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$BLURAY_SUPPORT" = yes ]; then
|
if [ "$BLURAY_SUPPORT" = yes ]; then
|
||||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS libbluray"
|
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS libbluray"
|
||||||
PKG_DEPENDS="$PKG_DEPENDS libbluray"
|
PKG_DEPENDS="$PKG_DEPENDS libbluray"
|
||||||
|
@ -150,6 +150,12 @@
|
|||||||
# (DVD decryption support in XBMC) (yes / no)
|
# (DVD decryption support in XBMC) (yes / no)
|
||||||
DVDCSS_SUPPORT="yes"
|
DVDCSS_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install with LAME cdrip encoder support
|
||||||
|
ENCODER_LAME="yes"
|
||||||
|
|
||||||
|
# build and install with VORBIS cdrip encoder support
|
||||||
|
ENCODER_VORBIS="yes"
|
||||||
|
|
||||||
# build and install with BluRay support (yes / no)
|
# build and install with BluRay support (yes / no)
|
||||||
BLURAY_SUPPORT="yes"
|
BLURAY_SUPPORT="yes"
|
||||||
|
|
||||||
|
@ -149,6 +149,12 @@
|
|||||||
# (DVD decryption support in XBMC) (yes / no)
|
# (DVD decryption support in XBMC) (yes / no)
|
||||||
DVDCSS_SUPPORT="yes"
|
DVDCSS_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install with LAME cdrip encoder support
|
||||||
|
ENCODER_LAME="yes"
|
||||||
|
|
||||||
|
# build and install with VORBIS cdrip encoder support
|
||||||
|
ENCODER_VORBIS="yes"
|
||||||
|
|
||||||
# build and install with BluRay support (yes / no)
|
# build and install with BluRay support (yes / no)
|
||||||
BLURAY_SUPPORT="yes"
|
BLURAY_SUPPORT="yes"
|
||||||
|
|
||||||
|
@ -149,6 +149,12 @@
|
|||||||
# (DVD decryption support in XBMC) (yes / no)
|
# (DVD decryption support in XBMC) (yes / no)
|
||||||
DVDCSS_SUPPORT="yes"
|
DVDCSS_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install with LAME cdrip encoder support
|
||||||
|
ENCODER_LAME="yes"
|
||||||
|
|
||||||
|
# build and install with VORBIS cdrip encoder support
|
||||||
|
ENCODER_VORBIS="yes"
|
||||||
|
|
||||||
# build and install with BluRay support (yes / no)
|
# build and install with BluRay support (yes / no)
|
||||||
BLURAY_SUPPORT="yes"
|
BLURAY_SUPPORT="yes"
|
||||||
|
|
||||||
|
@ -149,6 +149,12 @@
|
|||||||
# (DVD decryption support in XBMC) (yes / no)
|
# (DVD decryption support in XBMC) (yes / no)
|
||||||
DVDCSS_SUPPORT="yes"
|
DVDCSS_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install with LAME cdrip encoder support
|
||||||
|
ENCODER_LAME="yes"
|
||||||
|
|
||||||
|
# build and install with VORBIS cdrip encoder support
|
||||||
|
ENCODER_VORBIS="yes"
|
||||||
|
|
||||||
# build and install with BluRay support (yes / no)
|
# build and install with BluRay support (yes / no)
|
||||||
BLURAY_SUPPORT="yes"
|
BLURAY_SUPPORT="yes"
|
||||||
|
|
||||||
|
@ -149,6 +149,12 @@
|
|||||||
# (DVD decryption support in XBMC) (yes / no)
|
# (DVD decryption support in XBMC) (yes / no)
|
||||||
DVDCSS_SUPPORT="yes"
|
DVDCSS_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install with LAME cdrip encoder support
|
||||||
|
ENCODER_LAME="yes"
|
||||||
|
|
||||||
|
# build and install with VORBIS cdrip encoder support
|
||||||
|
ENCODER_VORBIS="yes"
|
||||||
|
|
||||||
# build and install with BluRay support (yes / no)
|
# build and install with BluRay support (yes / no)
|
||||||
BLURAY_SUPPORT="yes"
|
BLURAY_SUPPORT="yes"
|
||||||
|
|
||||||
|
@ -149,6 +149,12 @@
|
|||||||
# (DVD decryption support in XBMC) (yes / no)
|
# (DVD decryption support in XBMC) (yes / no)
|
||||||
DVDCSS_SUPPORT="yes"
|
DVDCSS_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install with LAME cdrip encoder support
|
||||||
|
ENCODER_LAME="yes"
|
||||||
|
|
||||||
|
# build and install with VORBIS cdrip encoder support
|
||||||
|
ENCODER_VORBIS="yes"
|
||||||
|
|
||||||
# build and install with BluRay support (yes / no)
|
# build and install with BluRay support (yes / no)
|
||||||
BLURAY_SUPPORT="yes"
|
BLURAY_SUPPORT="yes"
|
||||||
|
|
||||||
|
@ -153,6 +153,12 @@
|
|||||||
# (DVD decryption support in XBMC) (yes / no)
|
# (DVD decryption support in XBMC) (yes / no)
|
||||||
DVDCSS_SUPPORT="yes"
|
DVDCSS_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install with LAME cdrip encoder support
|
||||||
|
ENCODER_LAME="yes"
|
||||||
|
|
||||||
|
# build and install with VORBIS cdrip encoder support
|
||||||
|
ENCODER_VORBIS="yes"
|
||||||
|
|
||||||
# build and install with BluRay support (yes / no)
|
# build and install with BluRay support (yes / no)
|
||||||
BLURAY_SUPPORT="yes"
|
BLURAY_SUPPORT="yes"
|
||||||
|
|
||||||
|
@ -149,6 +149,12 @@
|
|||||||
# (DVD decryption support in XBMC) (yes / no)
|
# (DVD decryption support in XBMC) (yes / no)
|
||||||
DVDCSS_SUPPORT="yes"
|
DVDCSS_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install with LAME cdrip encoder support
|
||||||
|
ENCODER_LAME="yes"
|
||||||
|
|
||||||
|
# build and install with VORBIS cdrip encoder support
|
||||||
|
ENCODER_VORBIS="yes"
|
||||||
|
|
||||||
# build and install with BluRay support (yes / no)
|
# build and install with BluRay support (yes / no)
|
||||||
BLURAY_SUPPORT="yes"
|
BLURAY_SUPPORT="yes"
|
||||||
|
|
||||||
|
@ -144,6 +144,12 @@
|
|||||||
# (DVD decryption support in XBMC) (yes / no)
|
# (DVD decryption support in XBMC) (yes / no)
|
||||||
DVDCSS_SUPPORT="yes"
|
DVDCSS_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install with LAME cdrip encoder support
|
||||||
|
ENCODER_LAME="yes"
|
||||||
|
|
||||||
|
# build and install with VORBIS cdrip encoder support
|
||||||
|
ENCODER_VORBIS="yes"
|
||||||
|
|
||||||
# build and install with BluRay support (yes / no)
|
# build and install with BluRay support (yes / no)
|
||||||
BLURAY_SUPPORT="yes"
|
BLURAY_SUPPORT="yes"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user