From 6bc8f86e4478eed52a0d76c142224de652cad354 Mon Sep 17 00:00:00 2001 From: Cecil Date: Wed, 29 Dec 2010 16:31:58 -0800 Subject: mythtv:completes the change from SVN to GIT. --- abs/core/mythtv/stable-0.24/mythtv/PKGBUILD | 28 +++++++--------------- .../mythtv/stable-0.24/mythtv/git_version.patch | 12 ++++++++++ 2 files changed, 21 insertions(+), 19 deletions(-) create mode 100644 abs/core/mythtv/stable-0.24/mythtv/git_version.patch 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 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) -- cgit v0.12 From 59010329b62fd4b51dbbea1d00ec5541fd2a81a2 Mon Sep 17 00:00:00 2001 From: Cecil Date: Wed, 29 Dec 2010 17:14:36 -0800 Subject: mythplugins:Switch to GIT. --- abs/core/mythtv/stable-0.24/mythplugins/PKGBUILD | 61 ++++++++---------------- 1 file changed, 20 insertions(+), 41 deletions(-) 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') -- cgit v0.12 From f51695ee1b4e0a2b3fab4cb8091d81054564d14c Mon Sep 17 00:00:00 2001 From: Cecil Date: Thu, 30 Dec 2010 20:52:18 -0800 Subject: mplayer:Latest SVN, updates to PKGBUILD so all deps are installed. --- abs/core/mplayer/PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 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') -- cgit v0.12 From 784ded6c1174e139a116804fb9c124ea7c10e3cb Mon Sep 17 00:00:00 2001 From: Cecil Date: Fri, 31 Dec 2010 01:00:54 -0800 Subject: xbmc-svn:Removed. --- abs/extra/xbmc-svn/FEH.sh | 24 ------- abs/extra/xbmc-svn/PKGBUILD | 132 ------------------------------------ abs/extra/xbmc-svn/xbmc-svn.install | 28 -------- 3 files changed, 184 deletions(-) delete mode 100644 abs/extra/xbmc-svn/FEH.sh delete mode 100644 abs/extra/xbmc-svn/PKGBUILD delete mode 100644 abs/extra/xbmc-svn/xbmc-svn.install 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 -# Contributor: BlackEagle < ike DOT devolder AT herecura DOT be > -# Contributor: Ulf Winkelvos -# Contributor: Ralf Barth -# Contributor: B - Thanks for your hints :) -# -# Original credits go to Edgar Hucek -# 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: -- cgit v0.12 From 8e8a41b22c1ca44dfe29e3679aaa1c612ac5e6d0 Mon Sep 17 00:00:00 2001 From: Cecil Date: Sat, 1 Jan 2011 15:00:33 -0800 Subject: mythweb:switch to git. --- abs/core/mythtv/stable-0.24/mythweb/PKGBUILD | 42 ++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 abs/core/mythtv/stable-0.24/mythweb/PKGBUILD 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') -- cgit v0.12 From 2882a54f6f4c17462d6f4321083cba124a0667d5 Mon Sep 17 00:00:00 2001 From: Cecil Date: Sat, 1 Jan 2011 17:19:00 -0800 Subject: myththemes:switch to git. --- abs/core/mythtv/stable-0.24/myththemes/PKGBUILD | 29 +++++++------------------ 1 file changed, 8 insertions(+), 21 deletions(-) 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') -- cgit v0.12