summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra-testing/community')
-rw-r--r--abs/extra-testing/community/flashplugin-prerelease/PKGBUILD28
-rw-r--r--abs/extra-testing/community/xbmc-svn/CHANGELOG110
-rw-r--r--abs/extra-testing/community/xbmc-svn/Lircmap.xml233
-rw-r--r--abs/extra-testing/community/xbmc-svn/PKGBUILD97
-rw-r--r--abs/extra-testing/community/xbmc-svn/__changelog1
-rw-r--r--abs/extra-testing/community/xbmc-svn/xbmc-svn.install13
-rw-r--r--abs/extra-testing/community/xbmc/ChangeLog64
-rw-r--r--abs/extra-testing/community/xbmc/PKGBUILD118
-rw-r--r--abs/extra-testing/community/xbmc/xbmc.install9
9 files changed, 28 insertions, 645 deletions
diff --git a/abs/extra-testing/community/flashplugin-prerelease/PKGBUILD b/abs/extra-testing/community/flashplugin-prerelease/PKGBUILD
new file mode 100644
index 0000000..d6eca0b
--- /dev/null
+++ b/abs/extra-testing/community/flashplugin-prerelease/PKGBUILD
@@ -0,0 +1,28 @@
+# Contributor : Anish Bhatt <anish[removethis][at]gatech[dot]edu>
+
+pkgname=flashplugin-prerelease
+_licensefile='Reader_Player_AIR_WWEULA-Combined-20080204_1313.pdf'
+pkgver=10.1.51.66
+pkgrel=1
+source=('http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_1_p2_linux_121709.tar.gz'
+ "http://www.adobe.com/products/eulas/pdfs/${_licensefile}")
+md5sums=('4f56f8235cb72a59d04d64ca4bd442b3'
+ '1636037610ee2aa35c5fb736a697b7e0')
+
+pkgdesc='Adobe Flash Player Prerelease'
+url='http://labs.adobe.com/technologies/flashplayer10/'
+arch=('i686')
+depends=('mozilla-common' 'libxt' 'gtk2' 'nss' 'curl')
+conflicts=('flashplugin')
+provides=('flashplayer')
+license=('custom')
+
+build() {
+ install -d -m755 ${pkgdir}/usr/lib/mozilla/plugins/ || return 1
+ if [ "${CARCH}" = 'i686' ]; then
+ install -m755 ${srcdir}/install_flash_player_10_linux/libflashplayer.so ${pkgdir}/usr/lib/mozilla/plugins/ || return 1
+ fi
+ install -d -m755 ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
+ install -m644 "${_licensefile}" ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
+}
+
diff --git a/abs/extra-testing/community/xbmc-svn/CHANGELOG b/abs/extra-testing/community/xbmc-svn/CHANGELOG
deleted file mode 100644
index ddcbd53..0000000
--- a/abs/extra-testing/community/xbmc-svn/CHANGELOG
+++ /dev/null
@@ -1,110 +0,0 @@
-xbmc-svn Change log:
---------------------
-2nd July 2009
-21333 haggy: updated to current svn head which has media flagging support if your skin
- supports it (the shipped PM3HD does already, also Aeon and MediaStream redux)
-
-3rd June 2009
-20896 haggy: enabled external libs for every lib supported despite python and ffmpeg
- enabling external python breaks python support in xbmc due to Arch's python
- compiled with UCS2 support whereas xbmc expects UCS4. Enabling external ffmpeg
- disables VDPAU and we don't want that for sure.
-
- IMPORTANT NOTE: If compilation breaks at configure step with some message about
- not being able to compute the size of int or size_t, try running makepkg as root
- with 'sudo makepkg --asroot'. This is a known issue and happens only on systems
- linked to nvidia's libgl which causes binaries to segfault within a fakeroot
- environment. pacman 3.3 will fix this by splitting configure and installation steps.
-
-1st June 2009
-20818 haggy: this is the last revision before external-libs-support got patched
- in. Unfortunately this will not compile with fakeroot. waiting for
- pacman 3.3 which can split up configure and make install steps.
-
-30th May 2009
-20793 haggy: removed gcc44-fixes.patch - got merged into svn
-
-29th May 2009
-20755 haggy: pushed rev as requested
-
-27th May 2009
-20705 haggy: added a patch which fixed compilation with GCC 4.4.
-
-21th May 2009
-20509 haggy: xbmc got updates on goom due to the jaunty build system update. i
- i wiped all goom specific hacks from the PKGBUILD and it compiled
- fine, so let's see what you guys achieve.
-
-19th May 2009
-20449-1 richy: 1. Removed the autoreconf line as it didn't seem to help
- 2. Added !makeflags
- 3. Rev push :-)
-
-16th May 2009
-20343-1 richy: 1. added python as a depenency and removed x-server (namcap advised),
- 2. added autoreconf to goom before aclocal - another pot-shot at the goom compile prob.
- 3. added flax and bison to makedepends - I thought they were implicitely provided, but
- some users didn't have them.
- 4. Rev push to 20343
- 5. Removed the --quiet flag form SVN for now as sourcforge was timing out and
- failing silently.
-
- Note: namcap advised a number of other changes which I ignored for now.
-
-15th May 2009
-20231-3 - haggy: added libsamplerate as a dependency, it is needed for the recent smoothvideo patches
-
-14th May 2009
-20231-2 - haggy: another shot in the dark to fix that damn goom compilation error
-
-13th May 2009
-20231 - haggy: smoothvideo!
-
-12th May 2009
-20172 - haggy: a shot in the dark: try another autoreconf inside goom and see if it helps.
-
-11th May 2009
-20149 - haggy: pushed rev, removed 'hitting-o-breaks...'-patch - it got fixed in svn
-
-9th May 2009
-20101 - haggy: an updated PM3 skin made it into xbmc. added conflicts hint to this PKGBUILD
-
-8th May 2009
-20059 - haggy: minor push past 9.04, removed copying the source tree to a build tree which wastes space,
- takes ages and stresses the hdd for no reason. instead we now use svn to revert to a
- clean build dir.
-
-5th May 2009
-19941 - rich: heaps more tickets closed, Mexican translation
-
-30th April 2009
-19841 - haggy: lots of closed tickets worth a release, removed xsession patch
-
-27th April 2009
-19753 - haggy: added patch for xsession file breaking installation into fakeroot.
-
-22nd April 2009
-19602 - richy: version bump to address problem with python scripts and plugins
-
-20th April 2009
-19550 - haggy: pushed rev, some .mov fixes and better i18n in xbmc
-
-17th April 2009
-19517 - haggy: pushed rev, re-added installfile
-19516-2- richy: Added back autoreconf -vif in libdvdcss - still required for some folk (me)
-19516 - haggy: pushed rev, moved patches to patchfiles, added 'safe fullscreen patch', several cleanups
-
-15th April 2009
-19484 - haggy: pushed rev, re-enabled MAKEFLAGS to allow a more streamlined package
-
-14th April 2009
-19463 - haggy: added install file
-19463 - richy: moved _svn* back inside build() on Haggy's suggestion. Let's try and avoid broken releases!
-19463 - richy: makedepends 'subversion' instead of 'svn' because that's what's in the guidelines
-19463 - richy: changed licens from ('GPL' 'custom') to ('GPL', 'LGPL') - See: http://xbmc.org/about/
-
-13th April 2009 - initial upload to AUR, tested on 32bit and 64bit.
-19444 - richy: Moved _svn* outside of build so that users get the latest SVN.
-19444 - richy: Added a symlink for XBMCtex to usr/bin/XBMCtex
-19444 - richy: Moved libcdio into depends from opt-depends - right now it is a dependency.
-
diff --git a/abs/extra-testing/community/xbmc-svn/Lircmap.xml b/abs/extra-testing/community/xbmc-svn/Lircmap.xml
deleted file mode 100644
index 600567f..0000000
--- a/abs/extra-testing/community/xbmc-svn/Lircmap.xml
+++ /dev/null
@@ -1,233 +0,0 @@
-<!-- This file contains the mapping of LIRC keys to XBMC keys used in Keymap.xml -->
-<!-- -->
-<!-- How to add remotes -->
-<!-- <remote device="name_Lirc_calls_the_remote"> -->
-<!-- -->
-<!-- For the commands the layout following layout is used -->
-<!-- <XBMC_COMMAND>LircButtonName</XBMC_COMMAND> -->
-<!-- -->
-<!-- For a list of XBMC_COMMAND's check out the <remote> sections of keymap.xml -->
-
-<lircmap>
- <remote device="mceusb">
- <pause>Pause</pause>
- <stop>Stop</stop>
- <forward>Forward</forward>
- <reverse>Rewind</reverse>
- <left>Left</left>
- <right>Right</right>
- <up>Up</up>
- <down>Down</down>
- <select>OK</select>
- <pageplus>ChanUp</pageplus>
- <pageminus>ChanDown</pageminus>
- <back>Back</back>
- <menu>PreviousMenu</menu>
- <title>Play</title>
- <info>More</info>
- <skipplus>Skip</skipplus>
- <skipminus>Replay</skipminus>
- <display>Teletext</display>
- <start>Home</start>
- <record>Record</record>
- <volumeplus>VolUp</volumeplus>
- <volumeminus>VolDown</volumeminus>
- <mute>Mute</mute>
- <power>Power</power>
- <myvideo>Videos</myvideo>
- <mymusic>Music</mymusic>
- <mypictures>Pictures</mypictures>
- <mytv>TV</mytv>
- <one>One</one>
- <two>Two</two>
- <three>Three</three>
- <four>Four</four>
- <five>Five</five>
- <six>Six</six>
- <seven>Seven</seven>
- <eight>Eight</eight>
- <nine>Nine</nine>
- <zero>Zero</zero>
- <mytv>Red</mytv>
- <mymusic>Green</mymusic>
- <mypictures>Yellow</mypictures>
- <myvideo>Blue</myvideo>
- </remote>
-
- <remote device="mceusb2">
- <pause>Pause</pause>
- <stop>Stop</stop>
- <forward>Forward</forward>
- <reverse>Rewind</reverse>
- <left>Left</left>
- <right>Right</right>
- <up>Up</up>
- <down>Down</down>
- <select>OK</select>
- <pageplus>ChanUp</pageplus>
- <pageminus>ChanDown</pageminus>
- <back>Back</back>
- <menu>PreviousMenu</menu>
- <title>Play</title>
- <info>More</info>
- <skipplus>Skip</skipplus>
- <skipminus>Replay</skipminus>
- <display>Teletext</display>
- <start>Home</start>
- <record>Record</record>
- <volumeplus>VolUp</volumeplus>
- <volumeminus>VolDown</volumeminus>
- <mute>Mute</mute>
- <power>Power</power>
- <myvideo>Videos</myvideo>
- <mymusic>Music</mymusic>
- <mypictures>Pictures</mypictures>
- <mytv>TV</mytv>
- <one>One</one>
- <two>Two</two>
- <three>Three</three>
- <four>Four</four>
- <five>Five</five>
- <six>Six</six>
- <seven>Seven</seven>
- <eight>Eight</eight>
- <nine>Nine</nine>
- <zero>Zero</zero>
- <mytv>Red</mytv>
- <mymusic>Green</mymusic>
- <mypictures>Yellow</mypictures>
- <myvideo>Blue</myvideo>
- </remote>
-
- <remote device="XboxDVDDongle">
- <play>PLAY</play>
- <pause>PAUSE</pause>
- <stop>STOP</stop>
- <forward>FORWARD</forward>
- <reverse>REVERSE</reverse>
- <left>LEFT</left>
- <right>RIGHT</right>
- <up>UP</up>
- <down>DOWN</down>
- <select>SELECT</select>
- <back>BACK</back>
- <menu>MENU</menu>
- <title>TITLE</title>
- <info>INFO</info>
- <skipplus>SKIP+</skipplus>
- <skipminus>SKIP-</skipminus>
- <display>DISPLAY</display>
- <one>1</one>
- <two>2</two>
- <three>3</three>
- <four>4</four>
- <five>5</five>
- <six>6</six>
- <seven>7</seven>
- <eight>8</eight>
- <nine>9</nine>
- <zero>0</zero>
- </remote>
-
- <remote device="Microsoft_Xbox">
- <play>PLAY</play>
- <pause>PAUSE</pause>
- <stop>STOP</stop>
- <forward>FORWARD</forward>
- <reverse>REVERSE</reverse>
- <left>LEFT</left>
- <right>RIGHT</right>
- <up>UP</up>
- <down>DOWN</down>
- <select>SELECT</select>
- <back>BACK</back>
- <menu>MENU</menu>
- <title>TITLE</title>
- <info>INFO</info>
- <skipplus>SKIP+</skipplus>
- <skipminus>SKIP-</skipminus>
- <display>DISPLAY</display>
- <one>1</one>
- <two>2</two>
- <three>3</three>
- <four>4</four>
- <five>5</five>
- <six>6</six>
- <seven>7</seven>
- <eight>8</eight>
- <nine>9</nine>
- <zero>0</zero>
- </remote>
-
- <remote device="PinnacleSysPCTVRemote">
- <play>Play</play>
- <pause>pause</pause>
- <stop>Stop</stop>
- <forward>FForward</forward>
- <reverse>Rewind</reverse>
- <left>Vol-Rew</left>
- <right>Vol+FF</right>
- <up>Chan+Play</up>
- <down>Chan-Stop</down>
- <pageplus>channel+</pageplus>
- <pageminus>channel-</pageminus>
- <select>middle</select>
- <back>undo</back>
- <menu>Menu</menu>
- <title>L</title>
- <info>Info</info>
- <skipplus>next</skipplus>
- <display>Fullscreen</display>
- <record>Record</record>
- <volumeplus>vol+</volumeplus>
- <volumeminus>vol-</volumeminus>
- <mute>Mute</mute>
- <power>Power</power>
- <one>1</one>
- <two>2</two>
- <three>3</three>
- <four>4</four>
- <five>5</five>
- <six>6</six>
- <seven>7</seven>
- <eight>8</eight>
- <nine>9</nine>
- <zero>0</zero>
- </remote>
-
- <remote device="Streamzap_PC_Remote">
- <play>PLAY</play>
- <pause>PAUSE</pause>
- <stop>STOP</stop>
- <forward>&gt;&gt;</forward>
- <reverse>&lt;&lt;</reverse>
- <left>LEFT</left>
- <right>RIGHT</right>
- <up>UP</up>
- <down>DOWN</down>
- <pageplus>CH_UP</pageplus>
- <pageminus>CH_DOWN</pageminus>
- <select>OK</select>
- <back>EXIT</back>
- <menu>MENU</menu>
- <title>RED</title>
- <info>GREEN</info>
- <skipplus>&gt;&gt;|</skipplus>
- <display>YELLOW</display>
- <record>RECORD</record>
- <volumeplus>VOL_UP</volumeplus>
- <volumeminus>VOL_DOWN</volumeminus>
- <mute>MUTE</mute>
- <power>POWER</power>
- <one>1</one>
- <two>2</two>
- <three>3</three>
- <four>4</four>
- <five>5</five>
- <six>6</six>
- <seven>7</seven>
- <eight>8</eight>
- <nine>9</nine>
- <zero>0</zero>
- </remote>
-</lircmap>
diff --git a/abs/extra-testing/community/xbmc-svn/PKGBUILD b/abs/extra-testing/community/xbmc-svn/PKGBUILD
deleted file mode 100644
index 46647a3..0000000
--- a/abs/extra-testing/community/xbmc-svn/PKGBUILD
+++ /dev/null
@@ -1,97 +0,0 @@
-# Contributors : Ralf Barth <archlinux dot org at haggy dot org>
-# Richard Atkinson atkinsonr-at-gmail
-#
-# Original credits go to Edgar Hucek <gimli at dark-green dot com>
-# for his xbmc-vdpau-vdr PKGBUILD at https://archvdr.svn.sourceforge.net/svnroot/archvdr/trunk/archvdr/xbmc-vdpau-vdr/PKGBUILD
-
-pkgname=xbmc-svn
-pkgver=25089
-pkgrel=1
-pkgdesc="XBMC Media Center from SVN"
-provides=('xbmc')
-conflicts=('xbmc' 'xbmc-smoothvideo' 'xbmc-vdpau')
-arch=('i686' 'x86_64')
-url="http://xbmc.org"
-license=('GPL' 'LGPL')
-depends=('alsa-lib' 'curl' 'enca' 'faac' 'freetype2' 'fribidi' 'gawk' 'glew'
- 'hal' 'jasper' 'libgl' 'libmad' 'libmysqlclient' 'libjpeg'
- 'libxinerama' 'libxrandr' 'lzo2' 'sdl_image' 'sdl_mixer' 'sqlite3'
- 'tre' 'unzip' 'libcdio' 'libsamplerate' 'python' 'avahi' 'libmad'
- 'a52dec' 'libdca' 'faad2' 'libmpeg2' 'libvorbis' 'libogg' 'libmms'
- 'libmpcdec' 'flac' 'wavpack' 'xorg-utils' 'smbclient' 'libvdpau')
-makedepends=('subversion' 'autoconf' 'automake' 'boost' 'cmake' 'gcc' 'gperf'
- 'libtool>=2.2.6a-1' 'make' 'nasm' 'patch' 'pkgconfig' 'zip' 'flex' 'bison')
-optdepends=('lirc: remote controller support'
- 'pmount: mount removable devices as normal user'
- 'unrar: access compressed files without unpacking them')
-install=("${pkgname}.install")
-source=(Lircmap.xml)
-noextract=()
-md5sums=()
-options=(makeflags)
-
-_svnmod=XBMC
-_prefix=/usr
-
-build() {
-
- _svntrunk=http://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk
-
- cd ${srcdir}/
- if [ -d $_svnmod/.svn ]; then
- msg "SVN tree found, reverting changes and updating to -r$pkgver"
- (cd $_svnmod && svn revert -R . && svn up -r $pkgver) || return 1
- else
- msg "Checking out SVN tree of -r$pkgver"
- svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod || return 1
- fi
-
- # Configure XBMC
- #
- # Note on external-libs:
- # - We cannot use external python because Arch's python was built with
- # UCS2 unicode support, whereas xbmc expects UCS4 support
- # - We cannot use Arch's libass because it's incompatible with XBMC's
- # subtitle rendering
- # - We cannot use external ffmpeg because we would loose VDPAU functionality
- cd "$srcdir/$_svnmod"
- msg "Configuring XBMC"
- ./bootstrap
- ./configure --prefix=${_prefix} \
- --enable-external-liba52 \
- --enable-external-libdts \
- --enable-external-libmpeg2 \
- --enable-external-libogg \
- --enable-external-libwavpack \
- --disable-external-libass \
- --disable-external-ffmpeg \
- --disable-external-python \
- --disable-debug || return 1
-
- # Now (finally) build
- msg "Running make"
- make || return 1
-
- cd "$srcdir/$_svnmod"
- msg "Running make install"
- make prefix=${pkgdir}${_prefix} install || return 1
-
- # Install
- install -Dm755 ${srcdir}/$_svnmod/xbmc-xrandr \
- ${pkgdir}${_prefix}/share/xbmc/xbmc-xrandr || return 1
-
- install -Dm644 ${srcdir}/$_svnmod/tools/Linux/xbmc.desktop \
- ${pkgdir}${_prefix}/share/applications/xbmc.desktop || return 1
-
- install -Dm644 ${srcdir}/$_svnmod/tools/Linux/xbmc.png \
- ${pkgdir}${_prefix}/share/pixmaps/xbmc.png || return 1
-
- install -dm755 ${pkgdir}${_prefix}/share/licenses/${pkgname}
- for licensef in LICENSE.GPL README.linux copying.txt; do
- mv ${pkgdir}${_prefix}/share/xbmc/${licensef} \
- ${pkgdir}${_prefix}/share/licenses/${pkgname} || return 1
- done
-
- # Use custom Lircmap to support StreamZap remote
- cp ${srcdir}/Lircmap.xml ${pkgdir}${_prefix}/share/xbmc/system/Lircmap.xml
-}
diff --git a/abs/extra-testing/community/xbmc-svn/__changelog b/abs/extra-testing/community/xbmc-svn/__changelog
deleted file mode 100644
index bbf1705..0000000
--- a/abs/extra-testing/community/xbmc-svn/__changelog
+++ /dev/null
@@ -1 +0,0 @@
-Added Lircmap.xml to PKGBUILD to support MCE2 and StreamZap remotes
diff --git a/abs/extra-testing/community/xbmc-svn/xbmc-svn.install b/abs/extra-testing/community/xbmc-svn/xbmc-svn.install
deleted file mode 100644
index acf409c..0000000
--- a/abs/extra-testing/community/xbmc-svn/xbmc-svn.install
+++ /dev/null
@@ -1,13 +0,0 @@
-post_install() {
- echo ">> If XBMC won't start, but just segfaults, double check your X.Org config"
- echo ">> so that your display depth is at least 24-bit. Eg: change "
- echo ">> \"DefaultDepth 16\" under the \"Screen\" section so it says 24 instead"
- echo ">> of 16."
- echo ">> If you have problems or suggestions for this PKGBUILD, have a look at its"
- echo ">> dedicated forum thread: http://bbs.archlinux.org/viewtopic.php?pid=559107"
- echo ">> or the wiki: http://xbmc.org/wiki/?title=XBMC_on_Arch_Linux_(Unofficial)"
- echo
- /bin/true
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/abs/extra-testing/community/xbmc/ChangeLog b/abs/extra-testing/community/xbmc/ChangeLog
deleted file mode 100644
index 59f2370..0000000
--- a/abs/extra-testing/community/xbmc/ChangeLog
+++ /dev/null
@@ -1,64 +0,0 @@
-2009-03-07 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 8.10-10 :
- Try and fix some autoconf issues (thanks Gentoo ebuild).
-
-2009-02-08 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 8.10-9 :
- Replace some libtool 'ltmain.sh' scripts with the one from libtool
- installed with Arch.
- Make sure XBMCTex isn't linked to OpenGL libraries or it will segfault
- on systems using the nvidia driver.
-
-2009-01-30 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 8.10-8 :
- Fix some include's so that gcc 4.3.x is happy, shouldn't complain about
- undefined '::realloc' anymore.
- Remove Mac OS X specific files.
-
-2009-01-25 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 8.10-7 :
- Moved libcdio, pmount, smbclient and unrar to optdepends.
- Removed unneeded dependency on sdl_gfx.
- Removed dependency on libpng as sdl_image depends on it.
-
-2008-12-14 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 8.10-6 :
- Added libpng to dependency list.
- Added gawk to dependency list.
- Removed '--disable-mms' and '--enable-halmount' configure flags as they
- are not mentioned as supported in the configure script.
-
-2008-12-06 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 8.10-5 :
- Added libmad to the dependency list.
- Streamripper 1.64.0+ does not include tre anymore, removed streamripper
- and added tre instead.
- Removed subversion from makedepends.
-
-2008-12-06 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 8.10-4 :
- Fix permissions for some more scripts, ffmpeg/texi2doc.pl should not
- fail any longer.
-
-2008-12-05 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 8.10-3 :
- Added lirc to the optdepends array.
-
-2008-11-26 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 8.10-2 :
- Added install file which informs users that a display depth of at
- least 24-bit is required.
-
-2008-11-17 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 8.10-1 :
- Initial package, based on previous work by Zeqadious.
diff --git a/abs/extra-testing/community/xbmc/PKGBUILD b/abs/extra-testing/community/xbmc/PKGBUILD
deleted file mode 100644
index 950d704..0000000
--- a/abs/extra-testing/community/xbmc/PKGBUILD
+++ /dev/null
@@ -1,118 +0,0 @@
-# Contributor: [vEX] <niechift.dot.vex.at.gmail.dot.com>
-# Contributor: Zeqadious <zeqadious.at.gmail.dot.com>
-
-pkgname=xbmc
-pkgver=8.10
-pkgrel=10
-pkgdesc="XBMC Media Center"
-arch=('i686' 'x86_64')
-url="http://xbmc.org"
-license=('GPL' 'custom')
-depends=('alsa-lib' 'curl' 'enca' 'faac' 'freetype2' 'fribidi' 'gawk' 'glew' \
- 'hal' 'jasper' 'libgl' 'libjpeg>=6b-5' 'libmad' 'libmysqlclient' \
- 'libxinerama' 'libxrandr' 'lzo2' 'sdl_image' 'sdl_mixer' 'sqlite3' \
- 'tre' 'unzip' 'x-server')
-makedepends=('autoconf' 'automake' 'boost' 'cmake' 'gcc' 'gperf'
- 'libtool>=2.2.6a-1' 'make' 'nasm' 'patch' 'pkgconfig' 'zip')
-optdepends=('libcdio: optical disc support'
- 'lirc: remote controller support'
- 'pmount: mount removable devices as normal user'
- 'smbclient: access windows shares'
- 'unrar: access compressed files without unpacking them')
-install=("${pkgname}.install")
-source=("http://downloads.sourceforge.net/${pkgname}/XBMC-${pkgver}.src.tar.gz")
-md5sums=('2d20d255a211223eaa47f1c6bcf4be8e')
-
-build() {
- cd "${srcdir}/XBMC"
-
- # Remove Mac OS X specific files
- rm -rf system/python/lib-osx/
- rm system/players/dvdplayer/*-osx*
-
- # Fix permissions for the configure scripts
- find -type f -name "configure"|xargs chmod a+x || return 1
-
- # Fix other permissions
- find -type f -name "*.pl"|xargs chmod a+x || return 1
-
- # Make it gcc 4.3.x compatible
- sed '92i#include <stdlib.h>' -i guilib/system.h || return 1
-
- # Clean up the configure files and make sure they support C++.
- for file in `find . -type f -name configure.in -or -name configure.ac`; do
- echo 'AC_PROG_CXX' >> "${file}"
- sed -e '/AM_PATH_XMMS/ c\echo' \
- -e '/AM_PATH_SDL2/ c\echo' \
- -i ${file} || return 1
- done
- sed -e 's/test_libFLAC++//g' \
- -i "${srcdir}/XBMC/xbmc/cores/paplayer/flac-1.2.1/src/Makefile.am" || return 1
-
- # Fix some autoconf issues
- touch ${srcdir}/XBMC/xbmc/cores/dvdplayer/Codecs/libmad/{NEWS,AUTHORS,ChangeLog} || return 1
- touch ${srcdir}/XBMC/xbmc/visualizations/Goom/goom2k4-0/ylwrap || return 1
- touch ${srcdir}/XBMC/xbmc/lib/libid3tag/libid3tag/{NEWS,README,AUTHORS,ChangeLog} || return 1
- for dir in \
- . \
- xbmc/cores/dvdplayer/Codecs/libDVDCSS \
- xbmc/cores/dvdplayer/Codecs/libdts \
- xbmc/cores/dvdplayer/Codecs/libdvdnav \
- xbmc/cores/dvdplayer/Codecs/libfaad2 \
- xbmc/cores/dvdplayer/Codecs/libmad \
- xbmc/cores/dvdplayer/Codecs/libmpeg2 \
- xbmc/cores/paplayer/flac-1.2.1 \
- xbmc/cores/paplayer/vorbisfile/libvorbis \
- xbmc/cores/paplayer/vorbisfile/ogg \
- xbmc/visualizations/Goom/goom2k4-0 \
- xbmc/lib/libass \
- xbmc/lib/libid3tag/libid3tag
- do
- autoreconf --install "${srcdir}/XBMC/${dir}" || return 1
- done
-
- cd "${srcdir}/XBMC/"
-
- # Configure XBMC
- ./configure --prefix=/usr \
- --disable-debug || return 1
-
- # Fix false negative detections of realloc that happens some times
- if grep -q 'HAVE_REALLOC 0' config.h; then
- sed -e 's|#define HAVE_REALLOC 0|#define HAVE_REALLOC 1|' \
- -e 's|#define realloc rpl_realloc|/* #define realloc rpl_realloc */|' \
- -i config.h || return 1
- fi
-
- # XBMCTex will segfault on systems with nvidia instaleld if linked to OpenGL
- sed -e 's/-lGLU -lGLEW -lGL//' \
- -i ${srcdir}/XBMC/tools/XBMCTex/Makefile
-
- # Now (finally) build
- make || return 1
- make prefix=${pkgdir}/usr install || return 1
-
- # Fix the shell script
- sed -i '4iexport SDL_AUDIODRIVER=alsa' ${pkgdir}/usr/bin/xbmc
-
- # Xrandr
- install -Dm755 ${srcdir}/XBMC/xbmc-xrandr \
- ${pkgdir}/usr/share/xbmc/xbmc-xrandr || return 1
-
- # Menu item
- install -Dm644 ${srcdir}/XBMC/tools/Linux/xbmc.desktop \
- ${pkgdir}/usr/share/applications/xbmc.desktop || return 1
- install -Dm644 ${srcdir}/XBMC/tools/Linux/xbmc.png \
- ${pkgdir}/usr/share/pixmaps/xbmc.png || return 1
-
- # XBMCTex
- install -Dm755 ${srcdir}/XBMC/tools/XBMCTex/XBMCTex \
- ${pkgdir}/usr/share/xbmc/tools/xbmctex || return 1
-
- # License(s)
- install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}
- for licensef in LICENSE.GPL README.linux copying.txt; do
- mv ${pkgdir}/usr/share/xbmc/${licensef} \
- ${pkgdir}/usr/share/licenses/${pkgname} || return 1
- done
-}
diff --git a/abs/extra-testing/community/xbmc/xbmc.install b/abs/extra-testing/community/xbmc/xbmc.install
deleted file mode 100644
index 9316bc8..0000000
--- a/abs/extra-testing/community/xbmc/xbmc.install
+++ /dev/null
@@ -1,9 +0,0 @@
-post_install() {
- echo ">> If XBMC won't start, but just segfaults, double check your X.Org config"
- echo ">> so that your display depth is at least 24-bit. Eg: change "
- echo ">> \"DefaultDepth 16\" under the \"Screen\" section so it says 24 instead"
- echo ">> of 16."
- /bin/true
-}
-
-# vim:set ts=2 sw=2 et: