alarm/xbmc-cubox bump to 12.3 fixes #537

This commit is contained in:
pepedog 2014-05-13 09:36:50 +01:00
parent 2bd347089f
commit 8ed1667d74

View file

@ -23,68 +23,78 @@ conflicts=("xbmc" "xbmc-cubox-git")
replaces=("xbmc-cubox-git")
_patches=(
"0001-dove-added-vmeta-library-loader.patch"
"0002-dove-added-vmeta-video-decoder.patch"
"0003-dove-added-dove-overlay-render.patch"
"0004-dove-hook-up-vmeta-video-decoder.patch"
"0005-dove-hook-up-dove-overlay-renderer.patch"
"0006-dove-workaround-for-eglCreateContext.patch"
"0007-dove-workaround-for-our-cpu-fpu-combination.patch"
"0008-dove-missing-typdef-leads-in-XKBlib.h-include-errors.patch"
"0009-dove-hook-up-dove-support-in-the-xbmc-build-system.patch"
"0011-dove-changed-vblank-waiting-is-only-needed-for-DOVEF.patch"
"0014-dove-workaround-for-marvell-dove.-EGL_NO_CONTEXT-cau.patch"
"0015-dove-fixed-typos.patch"
"0017-dove-fixed-exit-hang.-this-is-a-workaround-for-a-bug.patch"
"0018_add-codecs.patch"
"0019_gpu-backoff.patch"
"0020_use-ffmpeg-for-thumbnails.patch"
"0021_big-buck-bunny-480p-fix.patch"
"0032-Sync-frame-directly-on-next-vsync.patch"
"0033-Cached-buffer-allocation.patch"
"0034-Vmeta-queuing-support.patch"
"0035-Add-the-_cached-and-_writecombine-function-APIs.patch"
"0036-vsync-always-enabled.patch"
# "0037-Select-vmeta-speed.patch"
# "0038-Make-vmeta-clock-settings-correct-when-loading-xml.patch"
"0039_WinSystemX11-SDL_CreateRGBSurfaceFrom.patch"
"0040-Reworked-iLineSize-detection.patch"
"0040-hack.patch"
# "0041-Make-vmeta-clock-default-to-667MHz.patch"
"0042-mpeg4-packed-bitstream-unpacking.patch"
"0043-mpeg2-aspect-ratio-detection.patch"
"0045-performance-bitstream-converter.patch"
"0046-performance-vmeta-decoder.patch"
"0047-performance-overlay-renderer.patch"
"0048-drop-first-two-frames-from-vmeta.patch"
"0049-overlay-renderer-streamlined.patch"
# "0050-Use-Dove-hardware-graphics-scaler.patch"
# "0051-Graphics-scaling-text-English.patch"
"0052-Fixed-vmeta-cache-coherency-problem.patch"
"0052-Remove-enabling-vertical-interpolation-smoothing-in-.patch"
"0053-Configure-upscaling-also-on-refresh-adjustment.patch"
"0054-Remove-unsupported-audio-settings.patch"
"0055-vmeta-used-for-mpeg1.patch"
"0056-dove-overlay-setup-fix.patch"
# "0057-graphics-scaling-set-default-to-x1.patch"
# "0058-vmeta-set-clock-only-when-inuse.patch"
"0059-graphics-scaling-cleanup-and-subtitle-pos-fix.patch"
"0060-audioengine-fix-24bit-pcm-output.patch"
"0061-audioengine-improve-saferound.patch"
"0062-vmeta-use-writecombine-alloc.patch"
"0063-vmeta-detect-mp4-flavor.patch"
"0064-vmeta-fix-vc1-playback.patch"
"0065-vmeta-used-for-wmv3.patch"
"0066-vmeta-cleanups-after-wmv3.patch"
"0067-dove-overlay-alignment-fix.patch"
# "500_add_home_key.diff"
# "505_report-cpu-type.diff"
"0001-dove-added-vmeta-library-loader.patch"
"0002-dove-added-vmeta-video-decoder.patch"
"0003-dove-added-dove-overlay-render.patch"
"0004-dove-hook-up-vmeta-video-decoder.patch"
"0005-dove-hook-up-dove-overlay-renderer.patch"
"0006-dove-workaround-for-eglCreateContext.patch"
"0008-dove-missing-typdef-leads-in-XKBlib.h-include-errors.patch"
"0009-dove-hook-up-dove-support-in-the-xbmc-build-system.patch"
"0011-dove-changed-vblank-waiting-is-only-needed-for-DOVEF.patch"
"0014-dove-workaround-for-marvell-dove.-EGL_NO_CONTEXT-cau.patch"
"0015-dove-fixed-typos.patch"
"0017-dove-fixed-exit-hang.-this-is-a-workaround-for-a-bug.patch"
"0018_add-codecs.patch"
"0019_gpu-backoff.patch"
"0020_use-ffmpeg-for-thumbnails.patch"
"0021_big-buck-bunny-480p-fix.patch"
"0032-Sync-frame-directly-on-next-vsync.patch"
"0033-Cached-buffer-allocation.patch"
"0034-Vmeta-queuing-support.patch"
"0035-Add-the-_cached-and-_writecombine-function-APIs.patch"
"0036-vsync-always-enabled.patch"
#"0037-Select-vmeta-speed.patch"
#"0038-Make-vmeta-clock-settings-correct-when-loading-xml.patch"
"0039_WinSystemX11-SDL_CreateRGBSurfaceFrom.patch"
"0040-Reworked-iLineSize-detection.patch"
"0040-hack.patch"
#"0041-Make-vmeta-clock-default-to-667MHz.patch"
"0042-mpeg4-packed-bitstream-unpacking.patch"
"0043-mpeg2-aspect-ratio-detection.patch"
"0045-performance-bitstream-converter.patch"
"0046-performance-vmeta-decoder.patch"
"0047-performance-overlay-renderer.patch"
"0048-drop-first-two-frames-from-vmeta.patch"
"0049-overlay-renderer-streamlined.patch"
#"0050-Use-Dove-hardware-graphics-scaler.patch"
#"0051-Graphics-scaling-text-English.patch"
"0052-Fixed-vmeta-cache-coherency-problem.patch"
"0052-Remove-enabling-vertical-interpolation-smoothing-in-.patch"
"0053-Configure-upscaling-also-on-refresh-adjustment.patch"
"0054-Remove-unsupported-audio-settings.patch"
"0055-vmeta-used-for-mpeg1.patch"
"0056-dove-overlay-setup-fix.patch"
#"0057-graphics-scaling-set-default-to-x1.patch"
#"0058-vmeta-set-clock-only-when-inuse.patch"
"0059-graphics-scaling-cleanup-and-subtitle-pos-fix.patch"
"0060-audioengine-fix-24bit-pcm-output.patch"
"0061-audioengine-improve-saferound.patch"
"0062-vmeta-use-writecombine-alloc.patch"
"0063-vmeta-detect-mp4-flavor.patch"
"0064-vmeta-fix-vc1-playback.patch"
"0065-vmeta-used-for-wmv3.patch"
"0066-vmeta-cleanups-after-wmv3.patch"
"0067-dove-overlay-alignment-fix.patch"
"0068-vmeta-avoid-compiler-warnings.patch"
"0069-overlay-renderer-more-video-settings.patch"
"0070-graphics-scaling-switch-interpolation.patch"
"0071-vmeta-dont-decode-when-draining-queue.patch"
"0072-FLACcodec-improve-performance.patch"
"0073-mathutils-speedup-attempt.patch"
"0074_fix-mpeg1-aspect-ratio.patch"
"0075_avoid-flickering-line-hack.patch"
"0076-audioengine-do-not-transcode-mono.patch"
"0077-vmeta-count-submitted-buffers.patch"
"0078-vmeta-skip-stuffing-byte.patch"
#"0079_use-vmeta-for-jpeg-decoding-v4.patch"
#"505_report-cpu-type.diff"
)
_prefix=/usr
pkgver=12.1
pkgrel=9
pkgver=12.3
pkgrel=1
pkgdesc="A software media player and entertainment hub for digital media"
arch=('i686' 'x86_64')
url="http://xbmc.org"
@ -94,24 +104,23 @@ depends=('libpulse' 'hicolor-icon-theme' 'fribidi' 'lzo2' 'smbclient' 'libtiff'
'glew' 'libssh' 'libmicrohttpd' 'libxrandr' 'sdl_mixer' 'sdl_image' 'python2'
'libass' 'libmpeg2' 'libmad' 'libmodplug' 'jasper' 'rtmpdump' 'unzip' 'mesa-demos'
'xorg-xdpyinfo' 'libbluray' 'libnfs' 'afpfs-ng' 'libshairport' 'avahi' 'bluez-libs' 'glu'
'tinyxml' 'taglib' 'xf86-video-dove' 'marvell-ipp' 'ffmpeg')
'tinyxml' 'taglib' 'xf86-video-dove' 'marvell-ipp' 'ffmpeg' 'xorg-xinit' 'xorg-server' 'libcec-cubox')
makedepends=('boost' 'cmake' 'gperf' 'nasm' 'libxinerama' 'zip' 'libcec-cubox'
'udisks' 'upower' 'mesa' 'doxygen' 'swig' 'java-environment')
optdepends=('libcec-cubox: support for Pulse-Eight CEC adapter'
'pulseaudio: pulseaudio support'
optdepends=('pulseaudio: pulseaudio support'
'lirc: remote controller support'
'udisks: automount external drives'
'upower: used to trigger suspend functionality'
'unrar: access compressed files without unpacking them'
'xorg-xinit: autostart xbmc')
'unrar: access compressed files without unpacking them')
install="xbmc.install"
source=("http://mirrors.xbmc.org/releases/source/xbmc-$pkgver.tar.gz"
"xbmc.service" \
"xbmc.service"
"0050+0051+0057-Use-Dove-hardware-graphics-scaler.patch"
"505_report-cpu-type-and-temp.patch"
"${_patches[@]/#/http://hg.openbricks.org/openbricks/raw-file/default/config/platforms/arm/armada5xx/packages/xbmc/patches/}"
"0018_fix-lib-vivante.patch")
md5sums=('8955473f84cb2a0513c0f3efd7e68843'
"0018_fix-lib-vivante.patch")
md5sums=('7ae385ebf8e5cfcb917393235e6efbdb'
'1b5d4a888a375df9949e4eed1e060ce5'
'c3fec98a9a653c7d8efd6b8b159f9fde'
'a03cc7f313791631543c8fbcbf868fc2'
@ -121,9 +130,8 @@ md5sums=('8955473f84cb2a0513c0f3efd7e68843'
'12bfdd9088ff5d55ddb2ab281881d0e7'
'4dda79437b0295b90ea97693b70291e1'
'd825bbbad9cdcc74f5bb53d51c9009cc'
'4bb23235465d9f407f8bf0e15fff572d'
'b82517d1534042cfcbfb8eead00da0a5'
'9ca00038817fe9d4a115a937ce7ee9a5'
'c5bc44468663940b7e12bd68c7203b47'
'39fa2198f93f9529c20d28fbdf8e6cc1'
'5c0dd38851694d15927dad21d2b6410c'
'2d0a1b3859408c67efdf7816fc02ad4a'
@ -155,23 +163,36 @@ md5sums=('8955473f84cb2a0513c0f3efd7e68843'
'3ca61d4f8a0a36f0d64597f76a2b4fed'
'fc442d1f155cbdce2bcb1ad722670579'
'de5a153e75280b207170b699194536b3'
'3581a43fe3b6fc18dde567a8df41c844'
'b62ef58068a3b4c829e5c2139384473a'
'0fbbc4c6efbe552f2fe18b5d67d4cc02'
'38f087fb92e6d4efd87f937887a9a27e'
'43c1f47ef68e6075f2efb69a3299aa5a'
'c26eb3393e28be352eb2a472dd35307f'
'25e43b1d98169ba617ddbf866f844382'
'e71788efb5c23bca01fa190606c62234'
'2757267a5a4270ade6f07ec0c7c95d38'
'5c5ee6c0b316adf277349f6f100dea07'
'ab19f3b1c6f7436415c0ac559295aae4'
'd70663fe3ccf4b2bb1d348fb4cc08a2a'
'3668ae2f591ac60899563ce7fc480d11'
'3fc5d78ecd818d899014bc694d1d2444'
'd296079c26d2782b42170ebfca7367cd'
'd4c03833471d000f5f410e9c0c1997ac'
'0048d33a23c3bd93d5f28c7c8acbef21'
'c083036f20ef64ee680ca8b78228aa61'
'2adc790842f7e7d1026c6c425bb23926'
'8e6afeda7607975526543a55716f328d'
'2b69b0db80701aaf5276f1e5d53073e6')
build() {
cd "${srcdir}/xbmc-$pkgver"
cd "${srcdir}/xbmc-$pkgver-Frodo"
export LDFLAGS="$LDFLAGS -L/opt/marvell-libgfx/lib"
export CFLAGS="$CFLAGS -I/opt/marvell-libgfx/include"
export CXXFLAGS="$CXXFLAGS -I/opt/marvell-libgfx/include"
#export CFLAGS="$CFLAGS -I/opt/marvell-libgfx/include"
#export CXXFLAGS="$CXXFLAGS -I/opt/marvell-libgfx/include"
INCLUDES="-I/opt/fsl/include"
export CFLAGS="-Ofast -mfloat-abi=hard -mfpu=vfpv3-d16 -mtls-dialect=gnu -march=armv7-a -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 $INCLUDES -Wl,-rpath,/opt/marvell-libgfx/lib -L/opt/marvell-libgfx/lib"
export CPPFLAGS="-Ofast -mfloat-abi=hard -mfpu=vfpv3-d16 -mtls-dialect=gnu -march=armv7-a -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 $INCLUDES -Wl,-rpath,/opt/marvell-libgfx/lib -L/opt/marvell-libgfx/lib"
export CXXFLAGS="-Ofast -mfloat-abi=hard -mfpu=vfpv3-d16 -mtls-dialect=gnu -march=armv7-a -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 $INCLUDES -Wl,-rpath,/opt/marvell-libgfx/lib -L/opt/marvell-libgfx/lib"
export TEXTUREPACKER_NATIVE_ROOT="/usr"
sed "20,28d" -i "${srcdir}/0066-vmeta-cleanups-after-wmv3.patch"
@ -213,6 +234,7 @@ build() {
--enable-afpclient \
--enable-airplay \
--enable-airtunes \
--disable-external-ffmpeg \
--enable-ffmpeg-libvorbis \
--enable-dvdcss \
--disable-hal \
@ -231,7 +253,7 @@ build() {
}
package() {
cd "${srcdir}/xbmc-$pkgver"
cd "${srcdir}/xbmc-$pkgver-Frodo"
# Running make install
make DESTDIR="${pkgdir}" install
@ -243,8 +265,8 @@ package() {
sed -i -e "s/lsb_release -a 2> \/dev\/null | sed -e 's\/\^\/ \/'/cat \/etc\/arch-release/g" "${pkgdir}${_prefix}/bin/xbmc"
# Tools
install -D -m 0755 "${srcdir}/xbmc-$pkgver/xbmc-xrandr" "${pkgdir}${_prefix}/share/xbmc/xbmc-xrandr"
install -D -m 0755 "${srcdir}/xbmc-$pkgver/tools/TexturePacker/TexturePacker" "${pkgdir}${_prefix}/share/xbmc/"
# install -D -m 0755 "${srcdir}/xbmc-$pkgver/xbmc-xrandr" "${pkgdir}${_prefix}/share/xbmc/xbmc-xrandr"
install -D -m 0755 "${srcdir}/xbmc-$pkgver-Frodo/tools/TexturePacker/TexturePacker" "${pkgdir}${_prefix}/share/xbmc/"
# Licenses
install -d -m 0755 "${pkgdir}${_prefix}/share/licenses/${pkgname}"
@ -255,3 +277,4 @@ package() {
# systemd stuff
install -Dm0644 $srcdir/xbmc.service $pkgdir/usr/lib/systemd/system/xbmc.service
}