2010-12-14 22:47:44 +01:00
|
|
|
# Template file for 'xbmc'
|
|
|
|
pkgname=xbmc
|
2012-03-25 12:19:18 +02:00
|
|
|
version=11.0
|
2013-01-05 00:52:40 +01:00
|
|
|
revision=11
|
2012-03-25 12:19:18 +02:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-debug --enable-sdl --enable-vdpau --enable-vaapi
|
2013-01-05 00:52:40 +01:00
|
|
|
--disable-crystalhd --disable-tegra --disable-nfs --disable-afpclient
|
|
|
|
--disable-hal --disable-webserver --enable-udev --disable-ccache
|
|
|
|
--enable-external-libraries --disable-external-ffmpeg"
|
2010-12-14 22:47:44 +01:00
|
|
|
short_desc="XBMC Media Center"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-05-30 14:54:51 +02:00
|
|
|
homepage="http://www.xbmc.org"
|
|
|
|
license="GPL-2"
|
2012-06-06 18:38:55 +02:00
|
|
|
distfiles="http://mirrors.xbmc.org/releases/source/xbmc-$version.tar.gz"
|
2012-03-25 12:19:18 +02:00
|
|
|
checksum=1fe5d310c16138f26e2b13bc545604e95f48ace6c8636f23e77da402cd7b0b19
|
2010-12-14 22:47:44 +01:00
|
|
|
long_desc="
|
|
|
|
XBMC is an award-winning free and open source (GPL) software media player
|
|
|
|
and entertainment hub for digital media. XBMC is available for Linux, OSX,
|
|
|
|
Windows, and the original Xbox."
|
|
|
|
|
2012-10-09 11:18:16 +02:00
|
|
|
broken_as_needed=yes
|
2012-12-15 19:41:06 +01:00
|
|
|
depends="udisks upower hicolor-icon-theme desktop-file-utils mesa-demos
|
|
|
|
librtmp libswresample"
|
2012-10-09 11:18:16 +02:00
|
|
|
|
2013-01-05 00:52:40 +01:00
|
|
|
makedepends="pkg-config gperf cmake zip unzip nasm yasm libudev-devel>=183
|
2012-10-09 11:18:16 +02:00
|
|
|
pcre-devel>=8.30 expat-devel libpng-devel>=1.5.10 jpeg-devel tiff-devel libXmu-devel
|
|
|
|
libXrandr-devel avahi-libs-devel pulseaudio-devel SDL_mixer-devel samba-devel
|
|
|
|
libmysqlclient-devel>=5.5.27 libmpeg2-devel wavpack-devel zlib-devel lzo-devel
|
2012-12-08 09:41:05 +01:00
|
|
|
glu-devel glew-devel>=1.9.0 fribidi-devel sqlite-devel libcdio-devel freetype-devel
|
2012-10-09 11:18:16 +02:00
|
|
|
jasper-devel faac-devel SDL_image-devel faad2-devel libmodplug-devel openssl-devel
|
|
|
|
libmad-devel fontconfig-devel libXinerama-devel libsamplerate-devel libmms-devel
|
|
|
|
enca-devel boost-devel libcurl-devel libva-devel libvdpau-devel libass-devel
|
2013-01-05 00:52:40 +01:00
|
|
|
libbluetooth-devel yajl-devel libplist-devel librtmp-devel"
|
2012-10-09 11:18:16 +02:00
|
|
|
|
2012-12-05 00:13:38 +01:00
|
|
|
pre_configure() {
|
2012-12-15 19:41:06 +01:00
|
|
|
# fix lsb_release dependency
|
|
|
|
sed -i -e 's:/usr/bin/lsb_release -d:/bin/true:' xbmc/utils/SystemInfo.cpp
|
2012-12-05 00:13:38 +01:00
|
|
|
}
|
|
|
|
|
2011-11-03 09:17:50 +01:00
|
|
|
post_install() {
|
2013-01-05 00:52:40 +01:00
|
|
|
# lsb_release fix
|
|
|
|
sed -i -e 's/which lsb_release &> \/dev\/null/Void Linux/g' ${DESTDIR}/usr/bin/xbmc
|
|
|
|
sed -i -e "s/lsb_release -a 2> \/dev\/null | sed -e 's\/\^\/ \/'/Void Linux/g" ${DESTDIR}/usr/bin/xbmc
|
2012-12-15 19:41:06 +01:00
|
|
|
|
2011-08-11 22:44:16 +02:00
|
|
|
vinstall tools/Linux/xbmc.desktop 644 usr/share/applications
|
|
|
|
vinstall tools/Linux/xbmc-48x48.png 644 usr/share/pixmaps xbmc.png
|
|
|
|
|
|
|
|
vinstall xbmc-xrandr 755 usr/share/xbmc
|
|
|
|
vinstall tools/TexturePacker/TexturePacker 755 usr/share/xbmc
|
|
|
|
|
2010-12-19 16:46:48 +01:00
|
|
|
rm -f ${DESTDIR}/usr/share/icons/hicolor/icon-theme.cache
|
2010-12-14 22:47:44 +01:00
|
|
|
}
|