2010-12-14 21:47:44 +00:00
|
|
|
# Template file for 'xbmc'
|
|
|
|
pkgname=xbmc
|
2012-03-25 10:19:18 +00:00
|
|
|
version=11.0
|
2012-08-06 05:45:31 +00:00
|
|
|
revision=5
|
2012-03-25 10:19:18 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-debug --enable-sdl --enable-vdpau --enable-vaapi
|
|
|
|
--disable-crystalhd --disable-tegra --disable-nfs --disable-afpclient
|
2012-07-02 22:18:32 +00:00
|
|
|
--disable-hal --disable-webserver --enable-udev --disable-ccache
|
|
|
|
--enable-external-libraries --enable-external-ffmpeg"
|
|
|
|
depends="dbus udisks upower hicolor-icon-theme desktop-file-utils mesa-demos librtmp"
|
|
|
|
makedepends="pkg-config gperf cmake zip unzip nasm yasm libudev-devel>=183
|
2012-07-07 11:40:39 +00:00
|
|
|
pcre-devel>=8.30 expat-devel libpng-devel>=1.5.10 jpeg-devel tiff-devel libXmu-devel
|
2012-07-02 22:18:32 +00:00
|
|
|
libXrandr-devel avahi-libs-devel pulseaudio-devel SDL_mixer-devel samba-devel
|
2012-08-06 05:45:31 +00:00
|
|
|
libmysqlclient-devel>=5.5.27 libmpeg2-devel wavpack-devel zlib-devel lzo-devel
|
2012-07-02 22:18:32 +00:00
|
|
|
MesaLib-devel glew-devel fribidi-devel sqlite-devel libcdio-devel freetype-devel
|
|
|
|
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
|
|
|
|
libbluetooth-devel yajl-devel libplist-devel ffmpeg-devel librtmp-devel"
|
2012-05-26 15:34:11 +00:00
|
|
|
broken_as_needed=yes
|
|
|
|
gtk_iconcache_dirs="/usr/share/icons/hicolor"
|
2010-12-14 21:47:44 +00:00
|
|
|
short_desc="XBMC Media Center"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-05-30 12:54:51 +00:00
|
|
|
homepage="http://www.xbmc.org"
|
|
|
|
license="GPL-2"
|
2012-06-06 16:38:55 +00:00
|
|
|
distfiles="http://mirrors.xbmc.org/releases/source/xbmc-$version.tar.gz"
|
2012-03-25 10:19:18 +00:00
|
|
|
checksum=1fe5d310c16138f26e2b13bc545604e95f48ace6c8636f23e77da402cd7b0b19
|
2010-12-14 21:47:44 +00: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."
|
|
|
|
|
2011-11-03 08:17:50 +00:00
|
|
|
post_install() {
|
2011-08-11 20:44:16 +00: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 15:46:48 +00:00
|
|
|
rm -f ${DESTDIR}/usr/share/icons/hicolor/icon-theme.cache
|
2010-12-14 21:47:44 +00:00
|
|
|
}
|