mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 21:37:15 +08:00
xbmc update, plus complete overhaul of what is added
This commit is contained in:
parent
8e6d2dec17
commit
c40a7e8299
@ -1,30 +1,22 @@
|
||||
#
|
||||
# Chakra Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
# python dependency or not
|
||||
_ext_python="disable"
|
||||
_prefix=/usr
|
||||
# maintainer abveritas@chakra-project.org
|
||||
|
||||
pkgname=xbmc
|
||||
pkgver=10.1
|
||||
pkgrel=8
|
||||
pkgver=11.0
|
||||
pkgrel=1
|
||||
pkgdesc="XBMC Media Center"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://xbmc.org"
|
||||
license=('GPL' 'custom')
|
||||
depends=( 'bzip2' 'curl' 'enca' 'faac' 'faad2' 'fontconfig' 'fribidi'
|
||||
'glew' 'jasper' 'libcdio' 'libgl' 'libmad' 'libmms'
|
||||
'libmpeg2' 'libmysqlclient' 'libsamplerate' 'libxinerama'
|
||||
'libxrandr' 'libxtst' 'lzo2' 'sdl_image' 'sdl_mixer'
|
||||
'smbclient' 'wavpack' 'mesa-demos' 'xorg-utils' 'libmicrohttpd'
|
||||
'libssh' 'libva' 'libmodplug' 'rtmpdump' 'lsb-release' 'sqlite3')
|
||||
if [ "$_ext_python" != "disable" ]; then
|
||||
depends=( '${depends[@]}' 'python2' )
|
||||
fi
|
||||
makedepends=('boost' 'cmake' 'gperf' 'nasm' 'libvdpau' 'unzip' 'zip' 'cvs')
|
||||
depends=( 'bzip2' 'curl' 'enca' 'faac' 'faad2' 'fontconfig' 'fribidi' 'python2' 'python-pysqlite'
|
||||
'glew' 'jasper' 'libcdio' 'libgl' 'libmad' 'libmms' 'libass' 'yajl' 'libpng12'
|
||||
'libmpeg2' 'libmysqlclient' 'libsamplerate' 'libxinerama' 'libpng' 'libbluedevil'
|
||||
'libxrandr' 'libxtst' 'lzo2' 'sdl_image' 'sdl_mixer' 'libvorbis' 'libpulse'
|
||||
'smbclient' 'wavpack' 'mesa-demos' 'xorg-utils' 'libmicrohttpd' 'libjpeg-turbo'
|
||||
'libssh' 'libva' 'libmodplug' 'rtmpdump' 'lsb-release' 'sqlite3' 'libbluray')
|
||||
makedepends=('boost' 'cmake' 'gperf' 'nasm' 'libvdpau' 'unzip' 'zip' 'cvs' 'autoconf' 'automake')
|
||||
optdepends=('lirc: remote controller support'
|
||||
'unrar: access compressed files without unpacking them'
|
||||
'udisks: automount external drives'
|
||||
@ -36,50 +28,30 @@ categories=('multimedia')
|
||||
install=("${pkgname}.install")
|
||||
options=(makeflags)
|
||||
source=("http://mirrors.xbmc.org/releases/source/xbmc-$pkgver.tar.gz"
|
||||
"FEH.sh"
|
||||
xbmc-10.1-gcc-4.6.patch
|
||||
http://trac.xbmc.org/raw-attachment/ticket/11584/xbmcplugin_int_format.patch)
|
||||
md5sums=('391398126cb86a4f6fbd0b7037997d84'
|
||||
'c3e2ab79b9965f1a4a048275d5f222c4'
|
||||
'16479d228f81cca4dc32146f1efc1838'
|
||||
'f42aa74a982ca854491a74e960f13804')
|
||||
"FEH.sh")
|
||||
md5sums=('9e8a26ee25173c7268abea7f1d82d428'
|
||||
'c3e2ab79b9965f1a4a048275d5f222c4')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/xbmc-$pkgver"
|
||||
|
||||
patch -p1 <$srcdir/xbmc-10.1-gcc-4.6.patch
|
||||
(cd xbmc/lib/libPython/xbmcmodule && patch -p5 <$srcdir/xbmcplugin_int_format.patch)
|
||||
|
||||
pacman -Q libass && { msg "Remove libass"; return 1; }
|
||||
|
||||
# remove "--as-needed" from LDFLAGS
|
||||
unset LDFLAGS; LDFLAGS="-Wl,--hash-style=gnu"
|
||||
|
||||
msg "Bootstrapping XBMC"
|
||||
./bootstrap
|
||||
|
||||
msg "Configuring XBMC"
|
||||
./configure --prefix=/usr \
|
||||
./configure --prefix=${_prefix} \
|
||||
--enable-vdpau \
|
||||
--disable-pulse \
|
||||
--enable-pulse \
|
||||
--disable-hal \
|
||||
--disable-avahi \
|
||||
--disable-external-liba52 \
|
||||
--disable-external-libdts \
|
||||
--enable-external-libmpeg2 \
|
||||
--enable-external-libogg \
|
||||
--enable-external-libwavpack \
|
||||
--disable-external-libass \
|
||||
--disable-external-ffmpeg \
|
||||
--enable-rtmp \
|
||||
--disable-external-python \
|
||||
--enable-libbluray \
|
||||
--disable-debug
|
||||
|
||||
# Now (finally) build
|
||||
msg "Running make"
|
||||
make ${MAKEFLAGS}
|
||||
make
|
||||
make -C lib/addons/script.module.pil
|
||||
make -C lib/addons/script.module.pysqlite
|
||||
}
|
||||
|
||||
package() {
|
||||
|
Loading…
Reference in New Issue
Block a user