updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / boxee / PKGBUILD
blob8ec9f004c9485b3a7ef24584aedf058df2ebb11a
1 # Contributor: Prurigro
2 # Maintainer: Prurigro & Anish
3 # gcc4.6_soname.patch fixes -soname flag for correct use
4 # sparse_boxee_make.patch drops unneded make options from makefile
5 # libjpeg_cflags.patch adds -fPIC flag to hte jpegturbo library compile
6 # config.patch fixes sql library version
7 # libpng.patch adds missing changes for libpng1.4
9 pkgname=boxee
10 pkgver=1.1.1.19092
11 _flashlib_pkgver=6684
12 pkgrel=1
13 pkgdesc="A freeware cross-platform media center software with social networking features that is a fork of the open source XBMC media center"
14 arch=('i686')
15 license=( 'GPL' )
16 depends=('fribidi' 'libpng' 'mesa' 'libsamplerate' 'libjpeg-turbo' 'libmad' 'jasper' 'libogg' 'libvorbis' 'libmysqlclient' 'libmms' 'sdl_mixer' 'libcdio' 'enca' 'hal' 'zip' 'libvdpau' 'gperf' 'unzip' 'faad2' 'smbclient' 'lzo2' 'fontconfig' 'libtiff' 'libxtst' 'libxinerama' 'libxrandr' 'faac' 'avahi')
17 makedepends=('autoconf' 'boost' 'cmake' 'nasm' 'coreutils' 'rsync' 'glew')
18 options=('!makeflags')
19 url="http://www.boxee.tv/"
20 #install='boxee-source.install'
21 source=(http://dl.boxee.tv/version/dlink.dsm380/1.1.1.19092/boxee-ce4100-$pkgver-ff659dd-source.tar.xz
22         gcc4.6_soname.patch
23         sparse_boxee_make.patch
24         libjpeg_cflags.patch
25         config.patch
26         libpng.patch
27         samba.patch
28         smbno.h)
29 md5sums=('4f490189a3742cfe8c268bede4ca956a'
30          '502ca56fc7008bb128d62895b569a147'
31          'e12f7f878ef97d4d0b91eb3c8f74e845'
32          'acacd13c8169bfc5f3fa15807a5bf789'
33          '9dfd31d5336d002a94b3ca8df046c9dd'
34          'fcbca3c8ffab5402fec84d6d05db5d3d'
35          'a28c4cf86d1eba78d7f66bdbc4dafcf0'
36          '3e53f9a60344dad366b230fb2ac876ec')
38 _src=${srcdir}/boxee-ce4100-"$pkgver"-ff659dd
40 build() {
41         pushd ${_src} || return 1
42                 #if anyone wants pulseaudio, simply remove "--disable-pulse"
43                 patch -p0 < ../config.patch
44                 patch -p0 < ../gcc4.6_soname.patch
45                 patch -p0 < ../sparse_boxee_make.patch
46                 patch -p0 < ../libpng.patch
47                 patch -p0 < ../samba.patch
48                 patch -p0 < ../libjpeg_cflags.patch
49                 ./bootstrap
50                 ./configure --prefix=/opt/boxee --enable-mid --disable-debug --disable-pulse --enable-xrandr --disable-ccache --enable-vdpau --enable-faac --disable-ss-rsxs --disable-boxee-hal
51                 cp ../smbno.h xbmc/cores/paplayer/MACDll/Source/MACLib/.
52                 make
53         popd