diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2013-01-08 00:20:46 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2013-01-08 00:20:46 +0100 |
commit | d1eaf10704d5a406a72fdb45a01c350c5f9be391 (patch) | |
tree | 0de22067ee96b129ba19d183e52d10647d2ca10a /main/xbmc/APKBUILD | |
parent | 884746bef585df365a59078591a8dae172af4419 (diff) | |
download | aports-d1eaf10704d5a406a72fdb45a01c350c5f9be391.tar.bz2 aports-d1eaf10704d5a406a72fdb45a01c350c5f9be391.tar.xz |
testing/xbmc: upgrade to 12_rc3 and move to main
Diffstat (limited to 'main/xbmc/APKBUILD')
-rw-r--r-- | main/xbmc/APKBUILD | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/main/xbmc/APKBUILD b/main/xbmc/APKBUILD new file mode 100644 index 0000000000..83f6816767 --- /dev/null +++ b/main/xbmc/APKBUILD @@ -0,0 +1,76 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=xbmc +pkgver=12_rc3 +_realver=Frodo_rc3 +pkgrel=0 +pkgdesc="A software media player and entertainment hub for digital media" +url="http://xbmc.org" +arch="x86_64 x86" +license="GPL" +depends="python hicolor-icon-theme xdpyinfo libcrystalhd unrar mesa-demos curl" +depends_dev="gettext-dev boost-dev mesa-dev glew-dev glu-dev mysql-dev libass-dev + libogg-dev libvorbis-dev libmodplug-dev curl-dev flac-dev libgcrypt-dev bzip2-dev + tiff-dev lzo-dev yajl-dev bluez-dev tinyxml-dev fribidi-dev sqlite-dev libpng-dev + libcdio-dev pcre-dev freetype-dev taglib-dev jasper-dev alsa-lib-dev dbus-dev + sdl-dev sdl_image-dev lame-dev libmicrohttpd-dev libbluray-dev avahi-dev + libxrandr-dev libxt-dev libxmu-dev samba-dev gawk libssh-dev libva-dev libnfs-dev + yasm-dev libmpeg2-dev libmad-dev libsamplerate-dev rtmpdump-dev + libjpeg-turbo-dev crystalhd-git-grsec-dev udev-dev libcap-dev udisks-dev faac-dev + libshairport-dev ffmpeg-dev afpfs-ng-dev libcec-dev" +makedepends="$depends_dev automake autoconf m4 libtool swig findutils openjdk6-jre-base + boost-thread zip gperf cmake coreutils nasm" +subpackages="$pkgname-dev $pkgname-doc" +install="" +options="ldpath-recursive" +source="saveas-https://github.com/xbmc/xbmc/archive/$_realver.tar.gz/$pkgname-$pkgver.tar.gz + no-snesapu.patch + xbmc-uclibc.patch" + +_builddir="$srcdir/xbmc-$_realver" + +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done + # fix autotools + sed -i -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADER/" \ + lib/libdvd/libdvdcss/configure.ac || return 1 +} + +build() { + cd "$_builddir" + ./bootstrap || return 1 + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --disable-debug \ + --disable-ccache \ + --enable-crystalhd \ + --enable-vaapi \ + --enable-ffmpeg-libvorbis \ + --enable-external-ffmpeg \ + --enable-rtmp \ + --enable-joystick \ + --enable-xrandr \ + --enable-optical-drive \ + --enable-external-libraries \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="b2c6dc4f1b69fa5dd2fffd6cf76312ad xbmc-12_rc3.tar.gz +5ad388f29ab8f4ca6bc9e2b73bf946ef no-snesapu.patch +a089ae512a3e990ec85a78a4e79a29f5 xbmc-uclibc.patch" |