xbmc: refine configure options; set java/jre paths properly.
This commit is contained in:
parent
94e9d14b60
commit
27038837e3
|
@ -2,12 +2,6 @@
|
|||
pkgname=xbmc
|
||||
version=12.0
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-debug --enable-sdl --enable-vdpau --enable-vaapi
|
||||
--disable-crystalhd --disable-tegra --disable-nfs --disable-afpclient
|
||||
--disable-hal --disable-webserver --enable-udev --disable-ccache
|
||||
--enable-external-libraries --disable-external-ffmpeg --enable-pulse
|
||||
--disable-ssh ac_cv_path_JAVA_EXE=/usr/share/jre/java/bin/java"
|
||||
short_desc="XBMC Media Center"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://www.xbmc.org"
|
||||
|
@ -17,7 +11,8 @@ checksum=53018cd014b5203df5e5ef4080931ef499d3740815f32d17dce92ef7d050c16f
|
|||
|
||||
disable_debug=yes
|
||||
broken_as_needed=yes
|
||||
# XXX add support for afp, libnfs, libcec and libbluray.
|
||||
|
||||
# XXX add support for webserver (microhttpd), afp, libnfs, libcec and libbluray.
|
||||
depends="udisks upower hicolor-icon-theme desktop-file-utils mesa-demos"
|
||||
makedepends="pkg-config gperf cmake zip unzip nasm yasm libudev-devel>=183
|
||||
pcre-devel>=8.30 expat-devel libpng-devel>=1.5.10 libjpeg-turbo-devel tiff-devel
|
||||
|
@ -30,12 +25,30 @@ makedepends="pkg-config gperf cmake zip unzip nasm yasm libudev-devel>=183
|
|||
libbluetooth-devel yajl-devel libplist-devel librtmp-devel tinyxml-devel
|
||||
taglib-devel libssh2-devel libcap-devel lame-devel swig jre which"
|
||||
|
||||
pre_configure() {
|
||||
do_build() {
|
||||
. /etc/profile.d/jre.sh
|
||||
|
||||
# fix lsb_release dependency
|
||||
sed -i -e 's:/usr/bin/lsb_release -d:/bin/true:' xbmc/utils/SystemInfo.cpp
|
||||
|
||||
./configure ${CONFIGURE_SHARED_ARGS} \
|
||||
--disable-debug --enable-optimizations --enable-gl
|
||||
--enable-sdl --enable-vdpau --enable-vaapi --enable-joystick
|
||||
--enable-xrandr --enable-rsxs --enable-projectm --enable-x11
|
||||
--enable-pulse --enable-dvdcss --enable-optical-drive
|
||||
--enable-rtmp --enable-samba --disable-nfs --disable-afpclient
|
||||
--enable-airplay --disable-airtunes --enable-ffmpeg-libvorbis
|
||||
--disable-hal --enable-avahi --disable-webserver
|
||||
--disable-libbluray --enable-texturepacker --enable-udev
|
||||
--disable-libcec --enable-external-libraries
|
||||
--disable-external-ffmpeg --disable-ssh
|
||||
|
||||
make ${makejobs}
|
||||
}
|
||||
|
||||
post_install() {
|
||||
do_install() {
|
||||
make DESTDIR=${DESTDIR} install
|
||||
|
||||
vinstall tools/Linux/xbmc.desktop 644 usr/share/applications
|
||||
vinstall tools/Linux/xbmc-48x48.png 644 usr/share/pixmaps xbmc.png
|
||||
|
||||
|
|
Loading…
Reference in New Issue