mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
xbmc: fix i686 build
This commit is contained in:
parent
698ba97a26
commit
322a76d5c6
@ -34,10 +34,12 @@ optdepends=('lirc: remote controller support'
|
||||
'lcms'
|
||||
'tk')
|
||||
install=("${pkgname}.install")
|
||||
options=(makeflags)
|
||||
options=(makeflags sign)
|
||||
source=("http://mirrors.xbmc.org/releases/source/xbmc-$pkgver.tar.gz"
|
||||
"http://chakra-project.org/sources/xbmc/xbmc-10.1-skin.confluence-Textures.xbt"
|
||||
"FEH.sh")
|
||||
md5sums=('391398126cb86a4f6fbd0b7037997d84'
|
||||
'238f26501bd1e0c73ebb3050a48131f2'
|
||||
'c3e2ab79b9965f1a4a048275d5f222c4')
|
||||
|
||||
build() {
|
||||
@ -69,14 +71,12 @@ build() {
|
||||
--disable-debug
|
||||
|
||||
# Fix textures bug in i686
|
||||
#if [ "${CARCH}" = "i686" ]; then
|
||||
# msg "Fixing Textures.xbt in i686"
|
||||
# cp -v ${srcdir}/xbmc-10.0-skin.confluence-Textures.xbt ${srcdir}/xbmc-${pkgver}/addons/skin.confluence/media/Textures.xbt
|
||||
# sed -i -e 's~$(MAKE) -C $(CONFLUENCE_MEDIA)~echo "SKIPPING Textures.xbt"~g' ${srcdir}/xbmc-${pkgver}/Makefile.in
|
||||
# sed -i -e 's~$(MAKE) -C $(CONFLUENCE_MEDIA)~echo "SKIPPING Textures.xbt"~g' ${srcdir}/xbmc-${pkgver}/Makefile
|
||||
#fi
|
||||
|
||||
|
||||
if [ "${CARCH}" = "i686" ]; then
|
||||
msg "Fixing Textures.xbt in i686"
|
||||
cp -v ${srcdir}/xbmc-10.1-skin.confluence-Textures.xbt ${srcdir}/xbmc-${pkgver}/addons/skin.confluence/media/Textures.xbt
|
||||
sed -i -e 's~$(MAKE) -C $(CONFLUENCE_MEDIA)~echo "SKIPPING Textures.xbt"~g' ${srcdir}/xbmc-${pkgver}/Makefile.in
|
||||
sed -i -e 's~$(MAKE) -C $(CONFLUENCE_MEDIA)~echo "SKIPPING Textures.xbt"~g' ${srcdir}/xbmc-${pkgver}/Makefile
|
||||
fi
|
||||
|
||||
# Now (finally) build
|
||||
msg "Running make"
|
||||
|
Loading…
Reference in New Issue
Block a user