[arch-commits] Commit in xbmc/repos (12 files)
Ike Devolder
idevolder at archlinux.org
Mon Aug 18 19:56:29 UTC 2014
Date: Monday, August 18, 2014 @ 21:56:29
Author: idevolder
Revision: 117531
archrelease: copy trunk to community-i686, community-x86_64
Added:
xbmc/repos/community-i686/PKGBUILD
(from rev 117530, xbmc/trunk/PKGBUILD)
xbmc/repos/community-i686/xbmc.install
(from rev 117530, xbmc/trunk/xbmc.install)
xbmc/repos/community-x86_64/PKGBUILD
(from rev 117530, xbmc/trunk/PKGBUILD)
xbmc/repos/community-x86_64/xbmc.install
(from rev 117530, xbmc/trunk/xbmc.install)
Deleted:
xbmc/repos/community-i686/0001-make-sure-applications-xbmc.desktop-does-nt-have-exe.patch
xbmc/repos/community-i686/PKGBUILD
xbmc/repos/community-i686/libnfs-header-changes.patch
xbmc/repos/community-i686/xbmc.install
xbmc/repos/community-x86_64/0001-make-sure-applications-xbmc.desktop-does-nt-have-exe.patch
xbmc/repos/community-x86_64/PKGBUILD
xbmc/repos/community-x86_64/libnfs-header-changes.patch
xbmc/repos/community-x86_64/xbmc.install
----------------------------------------------------------------------------------+
/PKGBUILD | 242 ++++++++++
/xbmc.install | 48 +
community-i686/0001-make-sure-applications-xbmc.desktop-does-nt-have-exe.patch | 27 -
community-i686/PKGBUILD | 128 -----
community-i686/libnfs-header-changes.patch | 24
community-i686/xbmc.install | 24
community-x86_64/0001-make-sure-applications-xbmc.desktop-does-nt-have-exe.patch | 27 -
community-x86_64/PKGBUILD | 128 -----
community-x86_64/libnfs-header-changes.patch | 24
community-x86_64/xbmc.install | 24
10 files changed, 290 insertions(+), 406 deletions(-)
Deleted: community-i686/0001-make-sure-applications-xbmc.desktop-does-nt-have-exe.patch
===================================================================
--- community-i686/0001-make-sure-applications-xbmc.desktop-does-nt-have-exe.patch 2014-08-18 19:56:06 UTC (rev 117530)
+++ community-i686/0001-make-sure-applications-xbmc.desktop-does-nt-have-exe.patch 2014-08-18 19:56:29 UTC (rev 117531)
@@ -1,27 +0,0 @@
-From 6abfd7104202121d3e23ddad47e377dfaef22b10 Mon Sep 17 00:00:00 2001
-From: BlackEagle <ike.devolder at gmail.com>
-Date: Sun, 25 May 2014 12:10:01 +0200
-Subject: [PATCH] make sure applications/xbmc.desktop does'nt have executable
- flag
-
-Signed-off-by: BlackEagle <ike.devolder at gmail.com>
----
- Makefile.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Makefile.in b/Makefile.in
-index 754f153..bee1fdd 100644
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -646,7 +646,7 @@ endif
- endif
- @# Icons and links
- @install -d $(DESTDIR)$(datarootdir)/applications
-- @install tools/Linux/xbmc.desktop $(DESTDIR)$(datarootdir)/applications/xbmc.desktop
-+ @install -m 0644 tools/Linux/xbmc.desktop $(DESTDIR)$(datarootdir)/applications/xbmc.desktop
- @install -d $(DESTDIR)$(datadir)/icons/hicolor/48x48/apps
- @install -m 0644 media/icon48x48.png $(DESTDIR)$(datadir)/icons/hicolor/48x48/apps/xbmc.png
- @install -d $(DESTDIR)$(datadir)/icons/hicolor/256x256/apps
---
-1.9.1
-
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2014-08-18 19:56:06 UTC (rev 117530)
+++ community-i686/PKGBUILD 2014-08-18 19:56:29 UTC (rev 117531)
@@ -1,128 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Brad Fanella <bradfanella at archlinux.us>
-# Contributor: [vEX] <niechift.dot.vex.at.gmail.dot.com>
-# Contributor: Zeqadious <zeqadious.at.gmail.dot.com>
-# Contributor: BlackIkeEagle < ike DOT devolder AT gmail DOT com >
-# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Contributor: Maxime Gauduin <alucryd at gmail.com>
-
-_prefix=/usr
-
-pkgname=xbmc
-pkgver=13.1
-_codename=Gotham
-pkgrel=5
-pkgdesc="A software media player and entertainment hub for digital media"
-arch=('i686' 'x86_64')
-url="http://xbmc.org"
-license=('GPL2')
-depends=(
-'avahi' 'hicolor-icon-theme' 'lame' 'libass' 'libbluray' 'libcdio' 'libmad'
-'libmicrohttpd' 'libmodplug' 'libmpeg2' 'libmysqlclient' 'libsamplerate'
-'libssh' 'libva' 'libvdpau' 'libvorbis' 'libxrandr' 'libxslt' 'lzo' 'mesa'
-'mesa-demos' 'python2' 'python2-pillow' 'rtmpdump' 'sdl_image' 'smbclient'
-'taglib' 'tinyxml' 'unzip' 'xorg-xdpyinfo' 'yajl'
-)
-makedepends=(
-'afpfs-ng' 'libnfs' 'libplist' 'shairplay' 'libcec' 'boost' 'cmake' 'doxygen'
-'gperf' 'jasper' 'java-runtime-headless' 'nasm' 'swig' 'taglib' 'udisks'
-'upower' 'zip'
-)
-optdepends=(
-'afpfs-ng: Apple File Protocol suport'
-'libnfs: NFS Share support'
-'libplist: AirPlay support'
-'shairplay: AirPlay support'
-'libcec: Pulse-Eight USB-CEC adapter support'
-'pulseaudio: for pulseaudio support'
-'lirc: remote controller support'
-'unrar: access compressed files without unpacking them'
-'xorg-xinit: autostart xbmc'
-'udisks: automount external drives'
-'upower: display battery level'
-)
-install="${pkgname}.install"
-source=(
- "xbmc-$pkgver-$_codename.tar.gz::https://github.com/xbmc/xbmc/archive/$pkgver-$_codename.tar.gz"
- '0001-make-sure-applications-xbmc.desktop-does-nt-have-exe.patch'
- 'libnfs-header-changes.patch'
-)
-sha256sums=(
- '344b604eae2ddb47c032dd7964d01f27e6fcd7a8873c84c0841d5da75961a678'
- '5f5fe2932050265ad71c82b5d23efe5eaf7b2b3a152bdc6da66675cfb655fabe'
- 'cec996873f7c45fd01c04b5598152f4a13509eed9b38f395dd1fe0d5c8a4c1ff'
-)
-
-prepare() {
- cd "$srcdir/xbmc-$pkgver-$_codename"
- patch -p1 -i "$srcdir/0001-make-sure-applications-xbmc.desktop-does-nt-have-exe.patch"
- patch -p1 -i "$srcdir/libnfs-header-changes.patch"
-
- find -type f -name *.py -exec sed 's|^#!.*python$|#!/usr/bin/python2|' -i "{}" +
- sed 's|^#!.*python$|#!/usr/bin/python2|' -i tools/depends/native/rpl-native/rpl
- sed 's/python/python2/' -i tools/Linux/xbmc.sh.in
-}
-
-build() {
- cd "$srcdir/xbmc-$pkgver-$_codename"
-
- # Bootstrapping XBMC
- ./bootstrap
-
- # Configuring XBMC
- export PYTHON_VERSION=2 # external python v2
- ./configure --prefix=$_prefix --exec-prefix=$_prefix \
- --disable-debug \
- --enable-optimizations \
- --enable-gl \
- --enable-sdl \
- --enable-vaapi \
- --enable-vdpau \
- --enable-xvba \
- --enable-joystick \
- --enable-xrandr \
- --enable-rsxs \
- --enable-projectm \
- --enable-x11 \
- --enable-rtmp \
- --enable-samba \
- --enable-nfs \
- --enable-afpclient \
- --enable-airplay \
- --enable-airtunes \
- --enable-ffmpeg-libvorbis \
- --enable-dvdcss \
- --disable-hal \
- --enable-avahi \
- --enable-webserver \
- --enable-optical-drive \
- --enable-libbluray \
- --enable-texturepacker \
- --enable-udev \
- --enable-libusb \
- --enable-libcec \
- --enable-external-libraries \
- --with-lirc-device=/run/lirc/lircd
-
- # Now (finally) build
- make
-}
-
-package() {
- cd "$srcdir/xbmc-$pkgver-$_codename"
- # Running make install
- make DESTDIR="$pkgdir" install
-
- # Tools
- install -D -m 0755 "$srcdir/xbmc-$pkgver-$_codename/tools/TexturePacker/TexturePacker" \
- "${pkgdir}$_prefix/lib/xbmc/"
-
- # Licenses
- install -dm755 "${pkgdir}$_prefix/share/licenses/$pkgname"
- for licensef in LICENSE.GPL copying.txt; do
- mv "${pkgdir}$_prefix/share/doc/xbmc/$licensef" \
- "${pkgdir}$_prefix/share/licenses/$pkgname"
- done
-}
-# vim:set ts=2 sw=2 et:
Copied: xbmc/repos/community-i686/PKGBUILD (from rev 117530, xbmc/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-08-18 19:56:29 UTC (rev 117531)
@@ -0,0 +1,121 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Brad Fanella <bradfanella at archlinux.us>
+# Contributor: [vEX] <niechift.dot.vex.at.gmail.dot.com>
+# Contributor: Zeqadious <zeqadious.at.gmail.dot.com>
+# Contributor: BlackIkeEagle < ike DOT devolder AT gmail DOT com >
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Maxime Gauduin <alucryd at gmail.com>
+
+_prefix=/usr
+
+pkgname=xbmc
+pkgver=13.2
+_codename=Gotham
+pkgrel=1
+pkgdesc="A software media player and entertainment hub for digital media"
+arch=('i686' 'x86_64')
+url="http://xbmc.org"
+license=('GPL2')
+depends=(
+'avahi' 'hicolor-icon-theme' 'lame' 'libass' 'libbluray' 'libcdio' 'libmad'
+'libmicrohttpd' 'libmodplug' 'libmpeg2' 'libmysqlclient' 'libsamplerate'
+'libssh' 'libva' 'libvdpau' 'libvorbis' 'libxrandr' 'libxslt' 'lzo' 'mesa'
+'mesa-demos' 'python2' 'python2-pillow' 'rtmpdump' 'sdl_image' 'smbclient'
+'taglib' 'tinyxml' 'unzip' 'xorg-xdpyinfo' 'yajl'
+)
+makedepends=(
+'afpfs-ng' 'libnfs' 'libplist' 'shairplay' 'libcec' 'boost' 'cmake' 'doxygen'
+'gperf' 'jasper' 'java-runtime-headless' 'nasm' 'swig' 'taglib' 'udisks'
+'upower' 'zip'
+)
+optdepends=(
+'afpfs-ng: Apple File Protocol suport'
+'libnfs: NFS Share support'
+'libplist: AirPlay support'
+'shairplay: AirPlay support'
+'libcec: Pulse-Eight USB-CEC adapter support'
+'pulseaudio: for pulseaudio support'
+'lirc: remote controller support'
+'unrar: access compressed files without unpacking them'
+'xorg-xinit: autostart xbmc'
+'udisks: automount external drives'
+'upower: display battery level'
+)
+install="${pkgname}.install"
+source=(
+ "xbmc-$pkgver-$_codename.tar.gz::https://github.com/xbmc/xbmc/archive/$pkgver-$_codename.tar.gz"
+)
+sha256sums=(
+ 'acbf5dffa3034a3406240ee3cf81e721386cd383d23d056ddde1f769e050e585'
+)
+
+prepare() {
+ cd "$srcdir/xbmc-$pkgver-$_codename"
+
+ find -type f -name *.py -exec sed 's|^#!.*python$|#!/usr/bin/python2|' -i "{}" +
+ sed 's|^#!.*python$|#!/usr/bin/python2|' -i tools/depends/native/rpl-native/rpl
+ sed 's/python/python2/' -i tools/Linux/xbmc.sh.in
+}
+
+build() {
+ cd "$srcdir/xbmc-$pkgver-$_codename"
+
+ # Bootstrapping XBMC
+ ./bootstrap
+
+ # Configuring XBMC
+ export PYTHON_VERSION=2 # external python v2
+ ./configure --prefix=$_prefix --exec-prefix=$_prefix \
+ --disable-debug \
+ --enable-optimizations \
+ --enable-gl \
+ --enable-sdl \
+ --enable-vaapi \
+ --enable-vdpau \
+ --enable-xvba \
+ --enable-joystick \
+ --enable-xrandr \
+ --enable-rsxs \
+ --enable-projectm \
+ --enable-x11 \
+ --enable-rtmp \
+ --enable-samba \
+ --enable-nfs \
+ --enable-afpclient \
+ --enable-airplay \
+ --enable-airtunes \
+ --enable-ffmpeg-libvorbis \
+ --enable-dvdcss \
+ --disable-hal \
+ --enable-avahi \
+ --enable-webserver \
+ --enable-optical-drive \
+ --enable-libbluray \
+ --enable-texturepacker \
+ --enable-udev \
+ --enable-libusb \
+ --enable-libcec \
+ --with-lirc-device=/run/lirc/lircd
+
+ # Now (finally) build
+ make
+}
+
+package() {
+ cd "$srcdir/xbmc-$pkgver-$_codename"
+ # Running make install
+ make DESTDIR="$pkgdir" install
+
+ # Tools
+ install -D -m 0755 "$srcdir/xbmc-$pkgver-$_codename/tools/TexturePacker/TexturePacker" \
+ "${pkgdir}$_prefix/lib/xbmc/"
+
+ # Licenses
+ install -dm755 "${pkgdir}$_prefix/share/licenses/$pkgname"
+ for licensef in LICENSE.GPL copying.txt; do
+ mv "${pkgdir}$_prefix/share/doc/xbmc/$licensef" \
+ "${pkgdir}$_prefix/share/licenses/$pkgname"
+ done
+}
+# vim:set ts=2 sw=2 et:
Deleted: community-i686/libnfs-header-changes.patch
===================================================================
--- community-i686/libnfs-header-changes.patch 2014-08-18 19:56:06 UTC (rev 117530)
+++ community-i686/libnfs-header-changes.patch 2014-08-18 19:56:29 UTC (rev 117531)
@@ -1,24 +0,0 @@
-diff --git a/xbmc/filesystem/NFSDirectory.cpp b/xbmc/filesystem/NFSDirectory.cpp
-index 85084a5..8efa7bf 100644
---- a/xbmc/filesystem/NFSDirectory.cpp
-+++ b/xbmc/filesystem/NFSDirectory.cpp
-@@ -37,6 +37,7 @@
- using namespace XFILE;
- using namespace std;
- #include <limits.h>
-+#include <nfsc/libnfs-zdr.h>
- #include <nfsc/libnfs-raw-mount.h>
- #include <nfsc/libnfs-raw-nfs.h>
-
-diff --git a/xbmc/filesystem/NFSFile.cpp b/xbmc/filesystem/NFSFile.cpp
-index 479f3fe..2aeea32 100644
---- a/xbmc/filesystem/NFSFile.cpp
-+++ b/xbmc/filesystem/NFSFile.cpp
-@@ -32,6 +32,7 @@
- #include "network/DNSNameCache.h"
- #include "threads/SystemClock.h"
-
-+#include <nfsc/libnfs-zdr.h>
- #include <nfsc/libnfs-raw-mount.h>
-
- #ifdef TARGET_WINDOWS
\ No newline at end of file
Deleted: community-i686/xbmc.install
===================================================================
--- community-i686/xbmc.install 2014-08-18 19:56:06 UTC (rev 117530)
+++ community-i686/xbmc.install 2014-08-18 19:56:29 UTC (rev 117531)
@@ -1,24 +0,0 @@
-post_install() {
- update_icons
- update_autostart
-}
-
-post_upgrade() {
- update_icons
- update_autostart
-}
-
-post_remove() {
- update_icons
- update_autostart
-}
-
-update_icons() {
- type -p gtk-update-icon-cache > /dev/null 2>&1 && usr/bin/gtk-update-icon-cache -qtf usr/share/icons/hicolor
- type -p update-desktop-database > /dev/null 2>&1 && usr/bin/update-desktop-database -q usr/share/applications
- return 0
-}
-
-update_autostart() {
- echo "To autostart xbmc standalone read: https://wiki.archlinux.org/index.php/Xbmc#Autostarting_at_boot"
-}
Copied: xbmc/repos/community-i686/xbmc.install (from rev 117530, xbmc/trunk/xbmc.install)
===================================================================
--- community-i686/xbmc.install (rev 0)
+++ community-i686/xbmc.install 2014-08-18 19:56:29 UTC (rev 117531)
@@ -0,0 +1,24 @@
+post_install() {
+ update_icons
+ update_autostart
+}
+
+post_upgrade() {
+ update_icons
+ update_autostart
+}
+
+post_remove() {
+ update_icons
+ update_autostart
+}
+
+update_icons() {
+ type -p gtk-update-icon-cache > /dev/null 2>&1 && usr/bin/gtk-update-icon-cache -qtf usr/share/icons/hicolor
+ type -p update-desktop-database > /dev/null 2>&1 && usr/bin/update-desktop-database -q usr/share/applications
+ return 0
+}
+
+update_autostart() {
+ echo "To autostart xbmc standalone read: https://wiki.archlinux.org/index.php/Xbmc#Autostarting_at_boot"
+}
Deleted: community-x86_64/0001-make-sure-applications-xbmc.desktop-does-nt-have-exe.patch
===================================================================
--- community-x86_64/0001-make-sure-applications-xbmc.desktop-does-nt-have-exe.patch 2014-08-18 19:56:06 UTC (rev 117530)
+++ community-x86_64/0001-make-sure-applications-xbmc.desktop-does-nt-have-exe.patch 2014-08-18 19:56:29 UTC (rev 117531)
@@ -1,27 +0,0 @@
-From 6abfd7104202121d3e23ddad47e377dfaef22b10 Mon Sep 17 00:00:00 2001
-From: BlackEagle <ike.devolder at gmail.com>
-Date: Sun, 25 May 2014 12:10:01 +0200
-Subject: [PATCH] make sure applications/xbmc.desktop does'nt have executable
- flag
-
-Signed-off-by: BlackEagle <ike.devolder at gmail.com>
----
- Makefile.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Makefile.in b/Makefile.in
-index 754f153..bee1fdd 100644
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -646,7 +646,7 @@ endif
- endif
- @# Icons and links
- @install -d $(DESTDIR)$(datarootdir)/applications
-- @install tools/Linux/xbmc.desktop $(DESTDIR)$(datarootdir)/applications/xbmc.desktop
-+ @install -m 0644 tools/Linux/xbmc.desktop $(DESTDIR)$(datarootdir)/applications/xbmc.desktop
- @install -d $(DESTDIR)$(datadir)/icons/hicolor/48x48/apps
- @install -m 0644 media/icon48x48.png $(DESTDIR)$(datadir)/icons/hicolor/48x48/apps/xbmc.png
- @install -d $(DESTDIR)$(datadir)/icons/hicolor/256x256/apps
---
-1.9.1
-
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2014-08-18 19:56:06 UTC (rev 117530)
+++ community-x86_64/PKGBUILD 2014-08-18 19:56:29 UTC (rev 117531)
@@ -1,128 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Brad Fanella <bradfanella at archlinux.us>
-# Contributor: [vEX] <niechift.dot.vex.at.gmail.dot.com>
-# Contributor: Zeqadious <zeqadious.at.gmail.dot.com>
-# Contributor: BlackIkeEagle < ike DOT devolder AT gmail DOT com >
-# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Contributor: Maxime Gauduin <alucryd at gmail.com>
-
-_prefix=/usr
-
-pkgname=xbmc
-pkgver=13.1
-_codename=Gotham
-pkgrel=5
-pkgdesc="A software media player and entertainment hub for digital media"
-arch=('i686' 'x86_64')
-url="http://xbmc.org"
-license=('GPL2')
-depends=(
-'avahi' 'hicolor-icon-theme' 'lame' 'libass' 'libbluray' 'libcdio' 'libmad'
-'libmicrohttpd' 'libmodplug' 'libmpeg2' 'libmysqlclient' 'libsamplerate'
-'libssh' 'libva' 'libvdpau' 'libvorbis' 'libxrandr' 'libxslt' 'lzo' 'mesa'
-'mesa-demos' 'python2' 'python2-pillow' 'rtmpdump' 'sdl_image' 'smbclient'
-'taglib' 'tinyxml' 'unzip' 'xorg-xdpyinfo' 'yajl'
-)
-makedepends=(
-'afpfs-ng' 'libnfs' 'libplist' 'shairplay' 'libcec' 'boost' 'cmake' 'doxygen'
-'gperf' 'jasper' 'java-runtime-headless' 'nasm' 'swig' 'taglib' 'udisks'
-'upower' 'zip'
-)
-optdepends=(
-'afpfs-ng: Apple File Protocol suport'
-'libnfs: NFS Share support'
-'libplist: AirPlay support'
-'shairplay: AirPlay support'
-'libcec: Pulse-Eight USB-CEC adapter support'
-'pulseaudio: for pulseaudio support'
-'lirc: remote controller support'
-'unrar: access compressed files without unpacking them'
-'xorg-xinit: autostart xbmc'
-'udisks: automount external drives'
-'upower: display battery level'
-)
-install="${pkgname}.install"
-source=(
- "xbmc-$pkgver-$_codename.tar.gz::https://github.com/xbmc/xbmc/archive/$pkgver-$_codename.tar.gz"
- '0001-make-sure-applications-xbmc.desktop-does-nt-have-exe.patch'
- 'libnfs-header-changes.patch'
-)
-sha256sums=(
- '344b604eae2ddb47c032dd7964d01f27e6fcd7a8873c84c0841d5da75961a678'
- '5f5fe2932050265ad71c82b5d23efe5eaf7b2b3a152bdc6da66675cfb655fabe'
- 'cec996873f7c45fd01c04b5598152f4a13509eed9b38f395dd1fe0d5c8a4c1ff'
-)
-
-prepare() {
- cd "$srcdir/xbmc-$pkgver-$_codename"
- patch -p1 -i "$srcdir/0001-make-sure-applications-xbmc.desktop-does-nt-have-exe.patch"
- patch -p1 -i "$srcdir/libnfs-header-changes.patch"
-
- find -type f -name *.py -exec sed 's|^#!.*python$|#!/usr/bin/python2|' -i "{}" +
- sed 's|^#!.*python$|#!/usr/bin/python2|' -i tools/depends/native/rpl-native/rpl
- sed 's/python/python2/' -i tools/Linux/xbmc.sh.in
-}
-
-build() {
- cd "$srcdir/xbmc-$pkgver-$_codename"
-
- # Bootstrapping XBMC
- ./bootstrap
-
- # Configuring XBMC
- export PYTHON_VERSION=2 # external python v2
- ./configure --prefix=$_prefix --exec-prefix=$_prefix \
- --disable-debug \
- --enable-optimizations \
- --enable-gl \
- --enable-sdl \
- --enable-vaapi \
- --enable-vdpau \
- --enable-xvba \
- --enable-joystick \
- --enable-xrandr \
- --enable-rsxs \
- --enable-projectm \
- --enable-x11 \
- --enable-rtmp \
- --enable-samba \
- --enable-nfs \
- --enable-afpclient \
- --enable-airplay \
- --enable-airtunes \
- --enable-ffmpeg-libvorbis \
- --enable-dvdcss \
- --disable-hal \
- --enable-avahi \
- --enable-webserver \
- --enable-optical-drive \
- --enable-libbluray \
- --enable-texturepacker \
- --enable-udev \
- --enable-libusb \
- --enable-libcec \
- --enable-external-libraries \
- --with-lirc-device=/run/lirc/lircd
-
- # Now (finally) build
- make
-}
-
-package() {
- cd "$srcdir/xbmc-$pkgver-$_codename"
- # Running make install
- make DESTDIR="$pkgdir" install
-
- # Tools
- install -D -m 0755 "$srcdir/xbmc-$pkgver-$_codename/tools/TexturePacker/TexturePacker" \
- "${pkgdir}$_prefix/lib/xbmc/"
-
- # Licenses
- install -dm755 "${pkgdir}$_prefix/share/licenses/$pkgname"
- for licensef in LICENSE.GPL copying.txt; do
- mv "${pkgdir}$_prefix/share/doc/xbmc/$licensef" \
- "${pkgdir}$_prefix/share/licenses/$pkgname"
- done
-}
-# vim:set ts=2 sw=2 et:
Copied: xbmc/repos/community-x86_64/PKGBUILD (from rev 117530, xbmc/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2014-08-18 19:56:29 UTC (rev 117531)
@@ -0,0 +1,121 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Brad Fanella <bradfanella at archlinux.us>
+# Contributor: [vEX] <niechift.dot.vex.at.gmail.dot.com>
+# Contributor: Zeqadious <zeqadious.at.gmail.dot.com>
+# Contributor: BlackIkeEagle < ike DOT devolder AT gmail DOT com >
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Maxime Gauduin <alucryd at gmail.com>
+
+_prefix=/usr
+
+pkgname=xbmc
+pkgver=13.2
+_codename=Gotham
+pkgrel=1
+pkgdesc="A software media player and entertainment hub for digital media"
+arch=('i686' 'x86_64')
+url="http://xbmc.org"
+license=('GPL2')
+depends=(
+'avahi' 'hicolor-icon-theme' 'lame' 'libass' 'libbluray' 'libcdio' 'libmad'
+'libmicrohttpd' 'libmodplug' 'libmpeg2' 'libmysqlclient' 'libsamplerate'
+'libssh' 'libva' 'libvdpau' 'libvorbis' 'libxrandr' 'libxslt' 'lzo' 'mesa'
+'mesa-demos' 'python2' 'python2-pillow' 'rtmpdump' 'sdl_image' 'smbclient'
+'taglib' 'tinyxml' 'unzip' 'xorg-xdpyinfo' 'yajl'
+)
+makedepends=(
+'afpfs-ng' 'libnfs' 'libplist' 'shairplay' 'libcec' 'boost' 'cmake' 'doxygen'
+'gperf' 'jasper' 'java-runtime-headless' 'nasm' 'swig' 'taglib' 'udisks'
+'upower' 'zip'
+)
+optdepends=(
+'afpfs-ng: Apple File Protocol suport'
+'libnfs: NFS Share support'
+'libplist: AirPlay support'
+'shairplay: AirPlay support'
+'libcec: Pulse-Eight USB-CEC adapter support'
+'pulseaudio: for pulseaudio support'
+'lirc: remote controller support'
+'unrar: access compressed files without unpacking them'
+'xorg-xinit: autostart xbmc'
+'udisks: automount external drives'
+'upower: display battery level'
+)
+install="${pkgname}.install"
+source=(
+ "xbmc-$pkgver-$_codename.tar.gz::https://github.com/xbmc/xbmc/archive/$pkgver-$_codename.tar.gz"
+)
+sha256sums=(
+ 'acbf5dffa3034a3406240ee3cf81e721386cd383d23d056ddde1f769e050e585'
+)
+
+prepare() {
+ cd "$srcdir/xbmc-$pkgver-$_codename"
+
+ find -type f -name *.py -exec sed 's|^#!.*python$|#!/usr/bin/python2|' -i "{}" +
+ sed 's|^#!.*python$|#!/usr/bin/python2|' -i tools/depends/native/rpl-native/rpl
+ sed 's/python/python2/' -i tools/Linux/xbmc.sh.in
+}
+
+build() {
+ cd "$srcdir/xbmc-$pkgver-$_codename"
+
+ # Bootstrapping XBMC
+ ./bootstrap
+
+ # Configuring XBMC
+ export PYTHON_VERSION=2 # external python v2
+ ./configure --prefix=$_prefix --exec-prefix=$_prefix \
+ --disable-debug \
+ --enable-optimizations \
+ --enable-gl \
+ --enable-sdl \
+ --enable-vaapi \
+ --enable-vdpau \
+ --enable-xvba \
+ --enable-joystick \
+ --enable-xrandr \
+ --enable-rsxs \
+ --enable-projectm \
+ --enable-x11 \
+ --enable-rtmp \
+ --enable-samba \
+ --enable-nfs \
+ --enable-afpclient \
+ --enable-airplay \
+ --enable-airtunes \
+ --enable-ffmpeg-libvorbis \
+ --enable-dvdcss \
+ --disable-hal \
+ --enable-avahi \
+ --enable-webserver \
+ --enable-optical-drive \
+ --enable-libbluray \
+ --enable-texturepacker \
+ --enable-udev \
+ --enable-libusb \
+ --enable-libcec \
+ --with-lirc-device=/run/lirc/lircd
+
+ # Now (finally) build
+ make
+}
+
+package() {
+ cd "$srcdir/xbmc-$pkgver-$_codename"
+ # Running make install
+ make DESTDIR="$pkgdir" install
+
+ # Tools
+ install -D -m 0755 "$srcdir/xbmc-$pkgver-$_codename/tools/TexturePacker/TexturePacker" \
+ "${pkgdir}$_prefix/lib/xbmc/"
+
+ # Licenses
+ install -dm755 "${pkgdir}$_prefix/share/licenses/$pkgname"
+ for licensef in LICENSE.GPL copying.txt; do
+ mv "${pkgdir}$_prefix/share/doc/xbmc/$licensef" \
+ "${pkgdir}$_prefix/share/licenses/$pkgname"
+ done
+}
+# vim:set ts=2 sw=2 et:
Deleted: community-x86_64/libnfs-header-changes.patch
===================================================================
--- community-x86_64/libnfs-header-changes.patch 2014-08-18 19:56:06 UTC (rev 117530)
+++ community-x86_64/libnfs-header-changes.patch 2014-08-18 19:56:29 UTC (rev 117531)
@@ -1,24 +0,0 @@
-diff --git a/xbmc/filesystem/NFSDirectory.cpp b/xbmc/filesystem/NFSDirectory.cpp
-index 85084a5..8efa7bf 100644
---- a/xbmc/filesystem/NFSDirectory.cpp
-+++ b/xbmc/filesystem/NFSDirectory.cpp
-@@ -37,6 +37,7 @@
- using namespace XFILE;
- using namespace std;
- #include <limits.h>
-+#include <nfsc/libnfs-zdr.h>
- #include <nfsc/libnfs-raw-mount.h>
- #include <nfsc/libnfs-raw-nfs.h>
-
-diff --git a/xbmc/filesystem/NFSFile.cpp b/xbmc/filesystem/NFSFile.cpp
-index 479f3fe..2aeea32 100644
---- a/xbmc/filesystem/NFSFile.cpp
-+++ b/xbmc/filesystem/NFSFile.cpp
-@@ -32,6 +32,7 @@
- #include "network/DNSNameCache.h"
- #include "threads/SystemClock.h"
-
-+#include <nfsc/libnfs-zdr.h>
- #include <nfsc/libnfs-raw-mount.h>
-
- #ifdef TARGET_WINDOWS
\ No newline at end of file
Deleted: community-x86_64/xbmc.install
===================================================================
--- community-x86_64/xbmc.install 2014-08-18 19:56:06 UTC (rev 117530)
+++ community-x86_64/xbmc.install 2014-08-18 19:56:29 UTC (rev 117531)
@@ -1,24 +0,0 @@
-post_install() {
- update_icons
- update_autostart
-}
-
-post_upgrade() {
- update_icons
- update_autostart
-}
-
-post_remove() {
- update_icons
- update_autostart
-}
-
-update_icons() {
- type -p gtk-update-icon-cache > /dev/null 2>&1 && usr/bin/gtk-update-icon-cache -qtf usr/share/icons/hicolor
- type -p update-desktop-database > /dev/null 2>&1 && usr/bin/update-desktop-database -q usr/share/applications
- return 0
-}
-
-update_autostart() {
- echo "To autostart xbmc standalone read: https://wiki.archlinux.org/index.php/Xbmc#Autostarting_at_boot"
-}
Copied: xbmc/repos/community-x86_64/xbmc.install (from rev 117530, xbmc/trunk/xbmc.install)
===================================================================
--- community-x86_64/xbmc.install (rev 0)
+++ community-x86_64/xbmc.install 2014-08-18 19:56:29 UTC (rev 117531)
@@ -0,0 +1,24 @@
+post_install() {
+ update_icons
+ update_autostart
+}
+
+post_upgrade() {
+ update_icons
+ update_autostart
+}
+
+post_remove() {
+ update_icons
+ update_autostart
+}
+
+update_icons() {
+ type -p gtk-update-icon-cache > /dev/null 2>&1 && usr/bin/gtk-update-icon-cache -qtf usr/share/icons/hicolor
+ type -p update-desktop-database > /dev/null 2>&1 && usr/bin/update-desktop-database -q usr/share/applications
+ return 0
+}
+
+update_autostart() {
+ echo "To autostart xbmc standalone read: https://wiki.archlinux.org/index.php/Xbmc#Autostarting_at_boot"
+}
More information about the arch-commits
mailing list