diff options
author | James Meyer <jams@linhes.org> | 2011-01-02 23:03:14 (GMT) |
---|---|---|
committer | James Meyer <jams@linhes.org> | 2011-01-02 23:03:14 (GMT) |
commit | 808989e601b8c15612fcf0997c02bc02c3101d85 (patch) | |
tree | 54fffdbc01d4ffb826da06506a5a7371587dd98f | |
parent | aa74f2cfb3f029d18d4d97da4796d8a7cf4c16ab (diff) | |
parent | 2882a54f6f4c17462d6f4321083cba124a0667d5 (diff) | |
download | linhes_pkgbuild-808989e601b8c15612fcf0997c02bc02c3101d85.zip linhes_pkgbuild-808989e601b8c15612fcf0997c02bc02c3101d85.tar.gz linhes_pkgbuild-808989e601b8c15612fcf0997c02bc02c3101d85.tar.bz2 |
Merge remote branch 'origin/testing' into testing
-rw-r--r-- | abs/core/mplayer/PKGBUILD | 6 | ||||
-rw-r--r-- | abs/core/mythtv/stable-0.24/mythplugins/PKGBUILD | 61 | ||||
-rw-r--r-- | abs/core/mythtv/stable-0.24/myththemes/PKGBUILD | 29 | ||||
-rwxr-xr-x | abs/core/mythtv/stable-0.24/mythtv/PKGBUILD | 28 | ||||
-rw-r--r-- | abs/core/mythtv/stable-0.24/mythtv/git_version.patch | 12 | ||||
-rw-r--r-- | abs/core/mythtv/stable-0.24/mythweb/PKGBUILD | 42 | ||||
-rw-r--r-- | abs/extra/xbmc-svn/FEH.sh | 24 | ||||
-rw-r--r-- | abs/extra/xbmc-svn/PKGBUILD | 132 | ||||
-rw-r--r-- | abs/extra/xbmc-svn/xbmc-svn.install | 28 |
9 files changed, 94 insertions, 268 deletions
diff --git a/abs/core/mplayer/PKGBUILD b/abs/core/mplayer/PKGBUILD index 0502f46..568a217 100644 --- a/abs/core/mplayer/PKGBUILD +++ b/abs/core/mplayer/PKGBUILD @@ -1,5 +1,5 @@ pkgname=mplayer -pkgver=32620 +pkgver=32736 pkgrel=1 pkgdesc="Famous multimedia player, dev. version, without its GUI" arch=('i686' 'x86_64') @@ -9,9 +9,9 @@ depends=('libxxf86dga' 'libxv' 'libmad' 'giflib' 'cdparanoia' 'gtk2' 'sdl' 'lame' 'libtheora' 'xvidcore' 'zlib' 'libmng' 'libxss' 'libgl' 'smbclient' 'aalib' 'x264>=20101109' 'faac' 'lirc-utils' 'ttf-dejavu' 'libmng' 'libxfont' 'libjpeg' 'rtmpdump' 'ladspa' - 'mpg123' 'libbluray-git' 'libcdio') + 'mpg123' 'libbluray-git' 'libcdio' 'libdca' 'a52dec') license=('GPL') -makedepends=('libcaca' 'unzip' 'live-media' 'libdca' 'subversion' 'nvidia-utils') +makedepends=('libcaca' 'unzip' 'live-media' 'libdca' 'subversion' 'libvdpau') conflicts=('mplayer-nogui-svn') provides=('mplayer') diff --git a/abs/core/mythtv/stable-0.24/mythplugins/PKGBUILD b/abs/core/mythtv/stable-0.24/mythplugins/PKGBUILD index 6970b71..bede955 100644 --- a/abs/core/mythtv/stable-0.24/mythplugins/PKGBUILD +++ b/abs/core/mythtv/stable-0.24/mythplugins/PKGBUILD @@ -11,10 +11,9 @@ pkgname=('mytharchive' 'mythnews' 'mythvideo' 'mythweather' - 'mythweb' 'mythzoneminder') pkgver=0.24 -pkgrel=8 +pkgrel=9 arch=('i686' 'x86_64') url="http://www.mythtv.org" license=('GPL') @@ -24,26 +23,17 @@ makedepends=("mythtv>=${pkgver}" 'mplayer' 'fftw' 'dvdauthor' 'libexif' 'libvisual' 'perl-xml-xpath' 'perl-image-size' 'perl-class-inspector' 'perl-datetime-format-iso8601' 'flac' 'libvorbis' 'python2' 'python-pycurl' 'python-oauth') +source=(http://knoppmyth.net/R6/sources/mythtv-0.24-fixes.tar.bz2) +_gitroot="https://github.com/MythTV/mythtv.git" +_gitname="mythtv" build() { - _svntrunk="http://svn.mythtv.org/svn/branches/release-0-24-fixes" - _svnmod="${pkgbase}" - - # get clean copy from SVN repo - if [ -d "${srcdir}/${pkgbase}" ] - then - cd "${srcdir}/${pkgbase}" - echo "Updating from SVN..." - svn up - else - cd "${srcdir}" - echo "Checking Out from SVN..." - svn co "${_svntrunk}/${_svnmod}" - fi - - cd "${srcdir}/${pkgbase}" + cd "${srcdir}/mythtv" + msg "Updating from GIT..." + git pull + msg "The local files are updated." find . -name '*.py' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@' - + cd ${pkgbase} ./configure --prefix=/usr \ --enable-all @@ -55,7 +45,7 @@ package_mytharchive() { pkgdesc="MythTV plugin that lets you create DVDs from or archive your recorded shows" depends=("mythtv>=${pkgver}" 'libxmu' 'pil' 'dvdauthor') # replaces=('mytharchive') - cd "${srcdir}/${pkgbase}/mytharchive" + cd "${srcdir}/mythtv/${pkgbase}/mytharchive" make INSTALL_ROOT="${pkgdir}" install || return 1 } @@ -63,7 +53,7 @@ package_mythbrowser() { pkgdesc="Mini web browser for MythTV" depends=("mythtv>=${pkgver}") # replaces=('mythbrowser') - cd "${srcdir}/${pkgbase}/mythbrowser" + cd "${srcdir}/mythtv/${pkgbase}/mythbrowser" make INSTALL_ROOT="${pkgdir}" install || return 1 } @@ -71,7 +61,7 @@ package_mythgallery() { pkgdesc="Image gallery plugin for MythTV" depends=("mythtv>=${pkgver}" 'libexif') # replaces=('mythgallery') - cd "${srcdir}/${pkgbase}/mythgallery" + cd "${srcdir}/mythtv/${pkgbase}/mythgallery" make INSTALL_ROOT="${pkgdir}" install || return 1 } @@ -79,7 +69,7 @@ package_mythgame() { pkgdesc="Game emulator module for MythTV" depends=("mythtv>=${pkgver}" 'zlib') # replaces=('mythgame') - cd "${srcdir}/${pkgbase}/mythgame" + cd "${srcdir}/mythtv/${pkgbase}/mythgame" make INSTALL_ROOT="${pkgdir}" install || return 1 } @@ -87,7 +77,7 @@ package_mythmusic() { pkgdesc="Music playing plugin for MythTV" depends=("mythtv>=${pkgver}" 'flac' 'libvorbis' 'libcdaudio' 'cdparanoia' 'taglib' 'libvisual') # replaces=('mythmusic') - cd "${srcdir}/${pkgbase}/mythmusic" + cd "${srcdir}/mythtv/${pkgbase}/mythmusic" make INSTALL_ROOT="${pkgdir}" install || return 1 } @@ -95,7 +85,7 @@ package_mythnetvision() { pkgdesc="MythNetvision plugin for MythTV" depends=("mythtv>=${pkgver}" 'python-pycurl' 'python-oauth') # replaces=('mythnetvision') - cd "${srcdir}/${pkgbase}/mythnetvision" + cd "${srcdir}/mythtv/${pkgbase}/mythnetvision" make INSTALL_ROOT="${pkgdir}" install || return 1 } @@ -103,7 +93,7 @@ package_mythnews() { pkgdesc="News checking plugin for MythTV" depends=("mythtv>=${pkgver}") # replaces=('mythnews') - cd "${srcdir}/${pkgbase}/mythnews" + cd "${srcdir}/mythtv/${pkgbase}/mythnews" make INSTALL_ROOT="${pkgdir}" install || return 1 } @@ -111,7 +101,7 @@ package_mythvideo() { pkgdesc="Video playback and browsing plugin for MythTV" depends=("mythtv>=${pkgver}" 'mplayer' 'perl-xml-simple') # replaces=('mythvideo') - cd "${srcdir}/${pkgbase}/mythvideo" + cd "${srcdir}/mythtv/${pkgbase}/mythvideo" make INSTALL_ROOT="${pkgdir}" install || return 1 } @@ -119,27 +109,16 @@ package_mythweather() { pkgdesc="Weather checking plugin for MythTV" depends=("mythtv>=${pkgver}" 'perl-xml-xpath' 'perl-image-size' 'perl-class-inspector' 'perl-datetime-format-iso8601') # replaces=('mythweather') - cd "${srcdir}/${pkgbase}/mythweather" + cd "${srcdir}/mythtv/${pkgbase}/mythweather" make INSTALL_ROOT="${pkgdir}" install || return 1 } -package_mythweb() { - pkgdesc="Web interface for MythTV's backend" - depends=("mythtv>=${pkgver}") - optdepends=('php-apache' - 'lighttpd') -# replaces=('mythweb') - mkdir -p ${pkgdir}/data/srv/httpd/htdocs/mythweb/{image_cache,php_sessions} - cp -r ${srcdir}/mythplugins/mythweb/* ${pkgdir}/data/srv/httpd/htdocs/mythweb || return 1 - chown -R http:http ${pkgdir}/data/srv/httpd/htdocs/mythweb - chmod g+rw ${pkgdir}/data/srv/httpd/htdocs/mythweb/{image_cache,php_sessions,data} -} - package_mythzoneminder() { pkgdesc="Allows for viewing of CCTV cameras through zoneminder" depends=("mythtv>=${pkgver}" zoneminder) # replaces=('mythzoneminder') # install=mythplugins-mythzoneminder.install - cd "${srcdir}/${pkgbase}/mythzoneminder" + cd "${srcdir}/mythtv/${pkgbase}/mythzoneminder" make INSTALL_ROOT="${pkgdir}" install || return 1 } +md5sums=('91488a6b1b05d14c5c5c601908b699e5') diff --git a/abs/core/mythtv/stable-0.24/myththemes/PKGBUILD b/abs/core/mythtv/stable-0.24/myththemes/PKGBUILD index 7c19e5a..962d674 100644 --- a/abs/core/mythtv/stable-0.24/myththemes/PKGBUILD +++ b/abs/core/mythtv/stable-0.24/myththemes/PKGBUILD @@ -5,33 +5,19 @@ pkgname=myththemes pkgver=0.24 -pkgrel=6 +pkgrel=7 pkgdesc="Themes for MythTV" arch=('any') url="http://www.mythtv.org/" license=('GPL') depends=("mythtv>=${pkgver}") -source=(`echo ${patches[@]:0}`) - +source=('ftp://ftp.knoppmyth.net/R6/sources/myththemes-0.24-fixes.tar.bz2' `echo ${patches[@]:0}`) +_gitroot="https://github.com/MythTV/myththemes.git" +_gitname="${pkgname}" build() { - _svntrunk="http://svn.mythtv.org/svn/branches/release-0-24-fixes" - _svnmod="${pkgname}" - - # get clean copy from SVN repo - if [ -d "${srcdir}/${pkgname}" ] - then - cd "${srcdir}/${pkgname}" - msg "Clean up from previous build..." - make distclean - msg "Updating from SVN..." - svn up - else - cd "${srcdir}" - msg "Checking Out from SVN..." - svn co "${_svntrunk}/${_svnmod}" - cd "${srcdir}/${pkgname}" - fi - + cd $srcdir/myththemes + git pull + rm -fr Mythbuntu # apply patches echo "--------------------------applying patches----------------------------------------------------" for i in `echo ${patchs[@]:0} ` @@ -49,3 +35,4 @@ package() { cd "${srcdir}/${pkgname}" make INSTALL_ROOT="${pkgdir}" install || return 1 } +md5sums=('a5c9475a6d29c313cd9ae77566ee277a') diff --git a/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD b/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD index e7c6359..0969b1d 100755 --- a/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD +++ b/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD @@ -5,8 +5,8 @@ # Contributor: dorphell <dorphell@archlinux.org> pkgname=mythtv -pkgver=20101229 -pkgrel=1 +pkgver=0.24 +pkgrel=11 pkgdesc="A Homebrew PVR project" arch=('i686' 'x86_64') url="http://www.mythtv.org/" @@ -23,33 +23,21 @@ groups=('pvr') #options=(!strip) #MAKEFLAGS="-j6" install='mythtv.install' -patchs=('smolt_jump.patch') +patchs=('smolt_jump.patch' 'git_version.patch') optdepends=('xmltv: to download tv listings') #replaces=('mythtv-contrib') #conflicts=('mythtv-contrib') -source=('mythbackend' 'myth.sh' `echo ${patchs[@]:0}` 'mythbackend.lr' 'mythfrontend.lr' 'pretty') +source=(http://knoppmyth.net/R6/sources/mythtv-0.24-fixes.tar.bz2 + 'mythbackend' 'myth.sh' `echo ${patchs[@]:0}` 'mythbackend.lr' 'mythfrontend.lr' 'pretty') _gitroot="https://github.com/MythTV/mythtv.git" _gitname="${pkgname}" build() { - # get clean copy from SVN repo - if [ -d "${srcdir}/${pkgname}" ] - then cd "${srcdir}/${pkgname}"/mythtv - msg "Clean up previous build..." - #make distclean - cd "${srcdir}/${pkgname}" msg "Updating from GIT..." #git checkout -b 0.24-fixes origin/fixes/0.24 git pull msg "The local files are updated." - else - cd "${srcdir}" - msg "Cloning from GIT..." - git clone $_gitroot $_gitname - cd "${srcdir}/${pkgname}" && git checkout origin/fixes/0.24 - fi - cd "${srcdir}/${pkgname}"/mythtv # apply patches echo "--------------------------applying patches----------------------------------------------------" for i in `echo ${patchs[@]:0} ` @@ -80,7 +68,7 @@ build() { } package() { - cd "${srcdir}/${pkgname}" + cd "${srcdir}/${pkgname}"/mythtv # basic install make INSTALL_ROOT="${pkgdir}" install # install contrib files @@ -107,9 +95,11 @@ package() { mkdir -p ${pkgdir}/etc/cron.hourly/ install -m0755 ${srcdir}/pretty ${pkgdir}/etc/cron.hourly/ } -md5sums=('7ef6de58240e7aad389a0b13d91b1cf6' +md5sums=('91488a6b1b05d14c5c5c601908b699e5' + '7ef6de58240e7aad389a0b13d91b1cf6' '2babd4b8e146a7538d18dcd55695b0be' 'a837de9ccc201994320071e48952b17d' + 'ca4a87383c47f51c71151c8fb50f38cc' 'f735805a80b0d1180dee01f9df1b7004' 'f407d6af23e74a49540755420f84fa58' '5469d9921b726db750b991c87d226158') diff --git a/abs/core/mythtv/stable-0.24/mythtv/git_version.patch b/abs/core/mythtv/stable-0.24/mythtv/git_version.patch new file mode 100644 index 0000000..096a644 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythtv/git_version.patch @@ -0,0 +1,12 @@ +diff -ruaN mythtv.orig/mythtv/version.sh mythtv/mythtv/version.sh +--- version.sh 2010-12-29 22:27:10.000000000 +0000 ++++ version.sh 2010-12-29 23:36:19.000000000 +0000 +@@ -22,7 +22,7 @@ + + cd ${GITTREEDIR} + +-SOURCE_VERSION=$(git describe --dirty || echo Unknown) ++SOURCE_VERSION=$(git describe | cut -d- -f 3 || echo Unknown) + + case "${SOURCE_VERSION}" in + exported|Unknown) diff --git a/abs/core/mythtv/stable-0.24/mythweb/PKGBUILD b/abs/core/mythtv/stable-0.24/mythweb/PKGBUILD new file mode 100644 index 0000000..59ba653 --- /dev/null +++ b/abs/core/mythtv/stable-0.24/mythweb/PKGBUILD @@ -0,0 +1,42 @@ +pkgname=mythweb +pkgver=0.24 +pkgrel=9 +pkgdesc="Web interface for MythTV's backend" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv>=0.24' 'lighttpd' 'php' 'local-website') +groups=('mythtv-extras') + +patches=() +source=('ftp://ftp.knoppmyth.net/R6/sources/mythweb-0.24-fixes.tar.bz2' `echo${patches[@]:0}`) + +DOCROOT=/data/srv/httpd/htdocs/mythweb +_gitroot="https://github.com/mythtv/mythweb.git" +_gitname="${pkgname}" +build() { + + cd $startdir/src/mythweb + git pull + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + mkdir -p $startdir/pkg/$DOCROOT/{image_cache,php_sessions,data} + rsync -arp --exclude .git --delete-excluded $startdir/src/mythweb/* $startdir/pkg/$DOCROOT + rm $startdir/pkg/$DOCROOT/README + chown -R http:http $startdir/pkg/$DOCROOT + chmod g+rw $pkgdir/$DOCROOT/{image_cache,php_sessions,data} + +} +md5sums=('45703fa3899c4ee84d1b087bfcc6654e') diff --git a/abs/extra/xbmc-svn/FEH.sh b/abs/extra/xbmc-svn/FEH.sh deleted file mode 100644 index e040a78..0000000 --- a/abs/extra/xbmc-svn/FEH.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -RETVAL=0 - -if [[ -z $(glxinfo | grep "direct rendering.*Yes" | uniq) ]]; then - echo "XBMC needs hardware accelerated OpenGL rendering." - echo "Install an appropriate graphics driver." - echo - echo "Please consult XBMC Wiki for supported hardware" - echo "http://xbmc.org/wiki/?title=Supported_hardware" - echo - RETVAL=1 -fi - -if [[ -z $(xdpyinfo | grep "depth of root.*24" | uniq) ]]; then - echo "XBMC cannot run unless the" - echo "screen color depth is atleast 24 bit." - echo - echo "Please reconfigure your screen." - RETVAL=1 -fi - -exit ${RETVAL} - diff --git a/abs/extra/xbmc-svn/PKGBUILD b/abs/extra/xbmc-svn/PKGBUILD deleted file mode 100644 index fa2be23..0000000 --- a/abs/extra/xbmc-svn/PKGBUILD +++ /dev/null @@ -1,132 +0,0 @@ -# Maintainer: DonVla <donvla@users.sourceforge.net> -# Contributor: BlackEagle < ike DOT devolder AT herecura DOT be > -# Contributor: Ulf Winkelvos <ulf [at] winkelvos [dot] de> -# Contributor: Ralf Barth <archlinux dot org at haggy dot org> -# Contributor: B - Thanks for your hints :) -# -# 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=35648 -pkgrel=1 -pkgdesc="XBMC Media Center from SVN" -provides=('xbmc') -conflicts=('xbmc' 'xbmc-pulse') -arch=('i686' 'x86_64') -url="http://xbmc.svn.sourceforge.net/viewvc/xbmc/trunk" -license=('GPL' 'LGPL') -depends=('bzip2' 'faac' 'faad2' 'fribidi' 'glew' 'jasper' 'libass' 'libcdio' 'libgl' 'libmad' - 'libmicrohttpd-xbmc' 'libmms' 'libmodplug' 'libmpeg2' 'libmysqlclient' 'libsamplerate' 'libxrandr' - 'libxinerama' 'libxtst' 'lzo2' 'sdl_image>=1.2.10' 'sdl_mixer' 'smbclient' 'unzip' 'wavpack' 'mesa-demos') -makedepends=('cvs' 'boost' 'cmake' 'gperf' 'nasm' 'python2' 'subversion' 'zip') -optdepends=('avahi: to use zerconf features (remote, etc...)' - 'gdb: for meaningful backtraces in case of trouble - STRONGLY RECOMMENDED' - 'libssh: support for sshfs' - 'libvdpau: accelerated video playback for nvidia cards' - 'libva: accelerated video playback for nvidia, ati/amd and some intel cards' - 'lirc: remote controller support' - 'pulseaudio: pulseaudio support' - 'udisks: automount external drives' - 'upower: used to trigger suspend functionality' - 'unrar: access compressed files without unpacking them') -options=('makeflags') -install="${pkgname}.install" -source=("FEH.sh") -md5sums=('c3e2ab79b9965f1a4a048275d5f222c4') -sha256sums=('1b391dfbaa07f81e5a5a7dfd1288bf2bdeab8dc50bbb6dbf39a80d8797dfaeb0') - -_svnmod=XBMC -_prefix=/usr - -build() { - _svntrunk=http://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk - #_svntrunk=http://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/Dharma - - cd "${srcdir}/" - if [ -d "$_svnmod/.svn" ]; then - msg "SVN tree found, reverting changes and updating to -r$pkgver" - (cd "$_svnmod" && svn revert -R . && (make distclean || :); svn up -r "$pkgver") - else - msg "Checking out SVN tree of -r$pkgver" - svn co "$_svntrunk" --config-dir ./ -r "$pkgver" "$_svnmod" - 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 - cd "${srcdir}/${_svnmod}" - - # Archlinux Branding by SVN_REV - export SVN_REV="${pkgver}-ARCH" - # fix lsb_release dependency - sed -i -e 's:/usr/bin/lsb_release -d:cat /etc/arch-release:' xbmc/utils/SystemInfo.cpp - - # remove "--as-needed" from LDFLAGS - unset LDFLAGS; LDFLAGS="-Wl,--hash-style=gnu" - - msg "Bootstrapping XBMC" - ./bootstrap - - msg "Configuring XBMC" - ./configure --prefix="${_prefix}" --disable-hal \ - --enable-external-libraries \ - --disable-external-ffmpeg \ - --disable-external-python \ - --enable-webserver \ - --enable-debug \ -# --disable-rtmp - - # Now (finally) build - msg "Running make" - make ${MAKEFLAGS} - make -C lib/addons/script.module.pil - make -C lib/addons/script.module.pysqlite -} - -package() { - - cd "${srcdir}/${_svnmod}" - msg "Running make install" - make prefix="${pkgdir}${_prefix}" install - -# Replace FEH.py with FEH.sh (and thus remove external python dependency) - install -D -m 0755 "${srcdir}/FEH.sh" "${pkgdir}${_prefix}/share/xbmc/FEH.sh" - sed -i -e 's/^python \(.*\)FEH.py \(.*\)$/\1FEH.sh \2/' "${pkgdir}${_prefix}/bin/xbmc" - -# lsb_release fix - sed -i -e 's/which lsb_release &> \/dev\/null/\[ -f \/etc\/arch-release ]/g' "${pkgdir}${_prefix}/bin/xbmc" - sed -i -e "s/lsb_release -a 2> \/dev\/null | sed -e 's\/\^\/ \/'/cat \/etc\/arch-release/g" "${pkgdir}${_prefix}/bin/xbmc" - -# .desktop files - install -D -m 0644 "${srcdir}/${_svnmod}/tools/Linux/xbmc.desktop" "${pkgdir}${_prefix}/share/applications/xbmc.desktop" - install -D -m 0644 "${srcdir}/${_svnmod}/tools/Linux/xbmc-48x48.png" "${pkgdir}${_prefix}/share/pixmaps/xbmc.png" - -# Tools - install -D -m 0755 "${srcdir}/${_svnmod}/xbmc-xrandr" "${pkgdir}${_prefix}/share/xbmc/xbmc-xrandr" - install -D -m 0755 "${srcdir}/${_svnmod}/tools/TexturePacker/TexturePacker" "${pkgdir}${_prefix}/share/xbmc/" - -# Licenses - install -d -m 0755 "${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 - -# Docs - install -d -m 0755 "${pkgdir}${_prefix}/share/doc/${pkgname}" - for docsf in keymapping.txt README.linux; do - mv "${pkgdir}${_prefix}/share/doc/xbmc/${docsf}" "${pkgdir}${_prefix}/share/doc/${pkgname}" - done - -# cleanup some stuff - msg "Cleanup unneeded files" - rm -rf "${pkgdir}/usr/share/xsessions" - rm -f "${pkgdir}/usr/share/xbmc/FEH.py" - rm -f "${pkgdir}/usr/share/icons/hicolor/icon-theme.cache" - -# strip - msg "Stripping binaries" - find "$pkgdir" -type f -exec strip {} \; >/dev/null 2>/dev/null -} diff --git a/abs/extra/xbmc-svn/xbmc-svn.install b/abs/extra/xbmc-svn/xbmc-svn.install deleted file mode 100644 index 9d24167..0000000 --- a/abs/extra/xbmc-svn/xbmc-svn.install +++ /dev/null @@ -1,28 +0,0 @@ -post_install() { - echo ">> If XBMC won't start, but just segfaults, double check your X.Org config." - echo ">> The display depth has to be at least 24-bit, ie" - echo ">> set \"DefaultDepth 24\" under the \"Screen\" section of your xorg.conf file." - 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 ">> Note that this is a development version of XBMC." - echo ">> If you encounter problems with XBMC don't forget to consult the official" - echo ">> xbmc forums found here: http://forum.xbmc.org " - echo ">> and report bugs to the xbmc bugtracker found here: http://trac.xbmc.org." - echo - - [[ $(type -p gtk-update-icon-cache) ]] && /usr/bin/gtk-update-icon-cache -qtf usr/share/icons/hicolor - [[ $(type -p update-desktop-database) ]] && /usr/bin/update-desktop-database -q usr/share/applications -} - -post_upgrade() { - [[ $(type -p gtk-update-icon-cache) ]] && /usr/bin/gtk-update-icon-cache -qtf usr/share/icons/hicolor - [[ $(type -p update-desktop-database) ]] && /usr/bin/update-desktop-database -q usr/share/applications -} - -post_remove() { - [[ $(type -p gtk-update-icon-cache) ]] && /usr/bin/gtk-update-icon-cache -qtf usr/share/icons/hicolor - [[ $(type -p update-desktop-database) ]] && /usr/bin/update-desktop-database -q usr/share/applications -} - -# vim:set ts=2 sw=2 et: |