From 597bda5e3410ac6a6a3973a30300c7ca7a6e692f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 5 May 2014 14:14:58 +0200 Subject: [PATCH] xbmc: update to 13.0. --- .../use-static-lib-for-texturepacker.patch | 11 +++++++ srcpkgs/xbmc/template | 33 ++++++++++--------- 2 files changed, 28 insertions(+), 16 deletions(-) create mode 100644 srcpkgs/xbmc/patches/use-static-lib-for-texturepacker.patch diff --git a/srcpkgs/xbmc/patches/use-static-lib-for-texturepacker.patch b/srcpkgs/xbmc/patches/use-static-lib-for-texturepacker.patch new file mode 100644 index 00000000000..f2bf070e8a4 --- /dev/null +++ b/srcpkgs/xbmc/patches/use-static-lib-for-texturepacker.patch @@ -0,0 +1,11 @@ +--- tools/TexturePacker/Makefile.in.orig 2014-05-05 14:06:10.574102302 +0200 ++++ tools/TexturePacker/Makefile.in 2014-05-05 14:06:30.389236221 +0200 +@@ -20,7 +20,7 @@ CXXFLAGS_FOR_BUILD += \ + -I@abs_top_srcdir@/xbmc/linux + + LDFLAGS_FOR_BUILD += -lSDL_image -lSDL -llzo2 +-LDFLAGS_FOR_BUILD += -L@abs_top_srcdir@/lib/libsquish -lsquish-native ++LDFLAGS_FOR_BUILD += @abs_top_srcdir@/lib/libsquish/libsquish.a + + ifeq ($(findstring Darwin,$(shell uname -s)),Darwin) + DEFINES += -DTARGET_DARWIN diff --git a/srcpkgs/xbmc/template b/srcpkgs/xbmc/template index b5c30b58690..411158aa4e1 100644 --- a/srcpkgs/xbmc/template +++ b/srcpkgs/xbmc/template @@ -1,14 +1,14 @@ # Template file for 'xbmc' pkgname=xbmc -version=12.3 -revision=2 -wrksrc="xbmc-${version}-Frodo" +version=13.0 +revision=1 +wrksrc="xbmc-${version}-Gotham" short_desc="XBMC Media Center" maintainer="Juan RP " homepage="http://www.xbmc.org" license="GPL-2" -distfiles="http://mirrors.xbmc.org/releases/source/xbmc-$version.tar.gz" -checksum=3e15c960d034efdea5f92a7b74716cb48094842d077b076025fd8640754ede73 +distfiles="https://github.com/xbmc/xbmc/archive/${version}-Gotham.tar.gz" +checksum=5d56609f6a02d6c34fec3b3ef7563a8e473b82d7be27eeaf2706858b918dd024 lib32disabled=yes broken_as_needed=yes @@ -28,11 +28,12 @@ makedepends=" enca-devel boost-devel libcurl-devel libva-devel libvdpau-devel libass-devel libbluetooth-devel yajl-devel libplist-devel librtmp-devel tinyxml-devel taglib-devel libcap-devel lame-devel libbluray-devel libnfs-devel systemd-devel - libcec-devel" -makedepends+=" udisks2 upower hicolor-icon-theme desktop-file-utils glxinfo" + libcec-devel libxslt-devel gnutls-devel libssh-devel" +makedepends+=" hicolor-icon-theme desktop-file-utils glxinfo" # The following dependencies are dlopen(3)ed. -depends="libbluray libmad libogg libcurl libflac libmodplug libass libmpeg2 lame librtmp libnfs libplist" -depends+=" glxinfo udisks2 upower hicolor-icon-theme desktop-file-utils" +depends="libbluray libmad libogg libcurl libflac libmodplug libass libmpeg2 + lame librtmp libnfs libplist libssh" +depends+=" glxinfo hicolor-icon-theme desktop-file-utils" pre_configure() { . /etc/profile.d/java.sh @@ -49,12 +50,12 @@ do_configure() { --enable-sdl --enable-vdpau --enable-vaapi --enable-joystick \ --enable-xrandr --enable-rsxs --enable-projectm --enable-x11 \ --enable-pulse --enable-dvdcss --enable-optical-drive \ - --enable-rtmp --enable-samba --enable-nfs --disable-afpclient \ - --enable-airplay --disable-airtunes --enable-ffmpeg-libvorbis \ - --disable-hal --enable-avahi --disable-webserver \ - --enable-libbluray --enable-texturepacker --enable-udev \ - --enable-libcec --enable-external-libraries \ - --disable-external-ffmpeg --disable-ssh + --enable-rtmp --enable-samba --enable-nfs --enable-ssh \ + --enable-airplay --enable-ffmpeg-libvorbis --enable-udev \ + --enable-avahi --enable-libcec --enable-libbluray \ + --enable-texturepacker --enable-external-libraries \ + --disable-external-ffmpeg --disable-afpclient \ + --disable-airtunes --disable-hal --disable-webserver } do_build() { @@ -65,7 +66,7 @@ do_install() { make DESTDIR=${DESTDIR} install vinstall tools/Linux/xbmc.desktop 644 usr/share/applications - vinstall tools/Linux/xbmc-48x48.png 644 usr/share/pixmaps xbmc.png + vinstall media/icon48x48.png 644 usr/share/pixmaps xbmc.png vinstall xbmc-xrandr 755 usr/share/xbmc vinstall tools/TexturePacker/TexturePacker 755 usr/share/xbmc