mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
aur/xbmc-rbp-git misc optimizations
This commit is contained in:
parent
2603b1c92a
commit
564bd448d5
1 changed files with 11 additions and 11 deletions
|
@ -2,7 +2,7 @@
|
|||
# Contributor WarheadsSE <max@warheads.net>
|
||||
_gitname="xbmc"
|
||||
pkgname=xbmc-rbp-git
|
||||
pkgver=13.359.g795a693
|
||||
pkgver=13.377.gd38b14e
|
||||
#xbmc Gotham is version 13
|
||||
_cycle_version=13
|
||||
pkgver() {
|
||||
|
@ -45,8 +45,8 @@ prepare() {
|
|||
# fix lsb_release dependency
|
||||
sed -i -e 's:/usr/bin/lsb_release -d:cat /etc/arch-release:' xbmc/utils/SystemInfo.cpp
|
||||
|
||||
#fix autoconf 1.13 deprecated macros
|
||||
sed -i 's/^AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' lib/libdvd/libdvdcss/configure.ac
|
||||
# Change outdated macro use
|
||||
find . -name 'configure*' | xargs grep -l AM_CONFIG_HEADER | xargs sed -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g'
|
||||
|
||||
# Patch to fix TexturePacker build.
|
||||
git apply ${srcdir}/xbmc-ae04d99-321-texturepacker-hostflags-and-rework.patch
|
||||
|
@ -67,17 +67,17 @@ build() {
|
|||
# Configuring XBMC
|
||||
export PYTHON_VERSION=2 # external python v2
|
||||
# we need to compile for armv6 instead of armv5 to avoid problems compiling assembler code
|
||||
export CFLAGS="-O3 -mcpu=arm1176jzf-s -mtune=arm1176jzf-s -mfloat-abi=hard -mfpu=vfp -mabi=aapcs-linux -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/opt/vc/include/ -I/opt/vc/include/IL -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux"
|
||||
export CXXFLAGS="-O3 -mcpu=arm1176jzf-s -mtune=arm1176jzf-s -mfloat-abi=hard -mfpu=vfp -mabi=aapcs-linux -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/opt/vc/include/ -I/opt/vc/include/IL -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux"
|
||||
export CFLAGS="-O3 -mcpu=arm1176jzf-s -mtune=arm1176jzf-s -fexcess-precision=fast -ffast-math -mfloat-abi=hard -mfpu=vfp -mabi=aapcs-linux -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/opt/vc/include/ -I/opt/vc/include/IL -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux"
|
||||
export CXXFLAGS="-O3 -mcpu=arm1176jzf-s -mtune=arm1176jzf-s -fexcess-precision=fast -ffast-math -mfloat-abi=hard -mfpu=vfp -mabi=aapcs-linux -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/opt/vc/include/ -I/opt/vc/include/IL -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux"
|
||||
export LDFLAGS="$LDFLAGS -L/opt/vc/lib"
|
||||
# export MAKEFLAGS="-j1"
|
||||
./configure --prefix=$_prefix --exec-prefix=$_prefix \
|
||||
--enable-gles --disable-sdl --disable-x11 --disable-xrandr --disable-openmax \
|
||||
--disable-optical-drive --disable-dvdcss --disable-joystick --disable-debug \
|
||||
--disable-crystalhd --disable-vtbdecoder --disable-vaapi --disable-vdpau \
|
||||
--disable-pulse --disable-projectm --with-platform=raspberry-pi --enable-optimizations \
|
||||
--enable-libcec --enable-player=omxplayer
|
||||
|
||||
--with-platform=raspberry-pi --disable-gl --enable-gles --disable-x11 --disable-sdl \
|
||||
--enable-ccache --enable-optimizations --disable-external-libraries --disable-goom --disable-hal \
|
||||
--disable-pulse --disable-vaapi --disable-vdpau --disable-xrandr --enable-airplay --disable-alsa \
|
||||
--enable-avahi --enable-libbluray --enable-dvdcss --disable-debug --disable-joystick --disable-mid \
|
||||
--enable-nfs --disable-profiling --disable-projectm --enable-rsxs --enable-rtmp --disable-vaapi \
|
||||
--disable-vdadecoder --disable-external-ffmpeg --enable-optical-drive --enable-player=omxplayer
|
||||
make
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue