blob: 3f335249409be52595c79d21823e71feccae36ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
# Contributor: Carlo Landmeter
# Maintainer:
pkgname=xbmc-dharma
pkgver=34026
pkgrel=1
pkgdesc="XBMC Media Center Dharma branch"
url="http://xbmc.org"
license="LGPL"
depends="udisks xorg-server"
subpackages="$pkgname-confluence $pkgname-doc"
makedepends="boost-dev cmake gperf nasm subversion libvdpau-dev libxrandr-dev libxinerama-dev
lzo-dev libxtst-dev jasper-dev mysql-dev libsamplerate-dev wavpack-dev libssh-dev bzip2-dev
sdl_image-dev dbus-dev libmms-dev faac-dev glew-dev libmicrohttpd-dev libcdio-dev samba-xbmc-dev
libmad-dev mesa-dev fribidi-dev libmpeg2-dev faad2-dev sdl_mixer-dev libass-dev autoconf
gettext-dev automake libtool enca-dev libxt-dev libxmu-dev coreutils yasm libbluray-dev
jpeg-dev libogg-dev python-dev libvorbis-dev sqlite-dev alsa-lib-dev zlib-dev openssl-dev
freetype-dev fontconfig-dev libpng-dev pcre-dev glib-dev libmodplug-dev flac-dev tiff-dev
curl-dev sdl-dev gawk zip rtmpdump-dev libbluray-dev coreutils findutils"
source="http://alpine.nethq.org/clandmeter/src/xbmc-dharma-33482.tar.bz2"
_builddir="$srcdir"/xbmc-dharma
prepare() {
cd "$_builddir"
#update to sepecified commit
svn up -r $pkgver || return 1
}
build() {
cd "$_builddir"
#xbmc will detect ccache causing build issues
unset CC && export CC="gcc"
./bootstrap || return 1
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--exec-prefix=/usr \
--disable-debug \
--disable-optimizations \
--enable-gl \
--enable-vdpau \
--disable-profiling \
--enable-joystick \
--disable-xrandr \
--disable-pulse \
--disable-hal \
--enable-external-python \
--disable-avahi
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
}
#make package of theme
confluence() {
mkdir -p "$subpkgdir"/usr/share/xbmc/addons
mv "$pkgdir"/usr/share/xbmc/addons/skin.confluence "$subpkgdir"/usr/share/xbmc/addons/
}
md5sums="81430735ee5af65a429a3ed76a4da99f xbmc-dharma-33482.tar.bz2"
|