summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/mythtv-vdpau/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/community/mythtv-vdpau/PKGBUILD')
-rw-r--r--abs/extra/community/mythtv-vdpau/PKGBUILD102
1 files changed, 0 insertions, 102 deletions
diff --git a/abs/extra/community/mythtv-vdpau/PKGBUILD b/abs/extra/community/mythtv-vdpau/PKGBUILD
deleted file mode 100644
index 9c293e2..0000000
--- a/abs/extra/community/mythtv-vdpau/PKGBUILD
+++ /dev/null
@@ -1,102 +0,0 @@
-pkgname=mythtv-vdpau
-pkgver=0.21
-pkgrel=23
-pkgdesc="A Homebrew PVR project"
-arch=('i686' 'x86_64')
-depends=('bash' 'mysql-clients>=5.0' 'qt3' 'lame' 'lirc-utils' 'ffmpeg' \
- 'libxvmc' 'libavc1394' 'libdc1394' 'libiec61883' 'nvidia>=180.29' \
- 'perl-net-upnp')
-backup=(etc/mythtv/mythbackend.conf etc/mythtv/mysql.txt usr/share/mythtv/is.xml usr/share/mythtv/media_settings.xml)
-source=(ftp://ftp.knoppmyth.net/R6/sources/mythtv-${pkgver}-fixes.tar.bz2 \
- mythbackend myththemedmenu.cpp.patch myththemedmenu.h.patch \
- smolt_jump.patch pretty \
- http://www.avenard.org/files/media/vdpau/mythtv-fixes-glvdpau20549.patch.gz mpegpspatch mythbackend.lr mythfrontend.lr)
-
-#md5sums=('e316ed18d7ac837cf8c4af54b1478793' '7ef6de58240e7aad389a0b13d91b1cf6'\
-# 'a0ecb7f476cb71c0c1ac90d349fc7695')
-conflicts=('mythtv')
-provides=('mythtv'=${pkgver})
-license=('GPL2')
-makedepends=(libgl subversion 'nvidia-utils>=180.29' python perl)
-groups=('pvr')
-options=(!strip)
-url="http://www.mythtv.org/"
-install=mythtv.install
-
-build() {
- cd $startdir/src/mythtv-${pkgver} || return 1
- svn update
-
-#apply patches
- patch -p0 < ../myththemedmenu.cpp.patch
- patch -p0 < ../myththemedmenu.h.patch
-# patch -p0 < ../pop_be_restart.h.patch
-# patch -p0 < ../pop_be_restart.cpp.patch
- patch -p0 < ../smolt_jump.patch
-# patch -p0 < ../2.6.28_dvb_api_version.diff
- patch -p1 < ../mythtv-fixes-glvdpau20549.patch
- cd libs/libavformat
- patch -p0 < $startdir/src/mpegpspatch
- cd -
-
- . /etc/profile.d/qt3.sh
-
- # use QT3 qmake
- export PATH=$QTDIR/bin:$PATH
- [ "$CARCH" = "i686" ] && ARCH="i686"
- [ "$CARCH" = "x86_64" ] && ARCH="x86-64"
-
- ./configure --prefix=/usr --cpu=${ARCH} --enable-mmx --enable-audio-oss \
- --enable-audio-alsa --enable-dvb --enable-lirc --enable-joystick-menu \
- --enable-firewire --enable-v4l --enable-ivtv --enable-dvb \
- --dvb-path=/usr/include --enable-xvmc --disable-ffmpeg \
- --enable-xvmc-pro --enable-xvmc-vld --enable-opengl-vsync \
- --disable-audio-jack --disable-audio-arts --disable-directfb \
- --enable-vdpau --enable-opengl-video --compile-type=debug || return 1
-
- # build
- #needs the subversion program
- pkgversubversion=`svnversion`
- echo $pkgversubversion
- sed -i -e "s/\`(svnversion \$\${SVNTREEDIR} 2>\/dev\/null) || echo Unknown\`/$pkgversubversion/" version.pro
-
-
-# qmake mythtv.pro || return 1
-# make qmake || return 1
- make || return 1
-
- # basic install
- make INSTALL_ROOT=$startdir/pkg install || return 1
-
- # install db schema
- install -m0644 database/mc.sql $startdir/pkg/usr/share/mythtv/ \
- || return 1
- install -D -m0755 ../mythbackend $startdir/pkg/etc/rc.d/mythbackend \
- || return 1
- cp -r docs $startdir/pkg/usr/share/mythtv/ || return 1
- # cp ../QUICKSTART.archlinux $startdir/pkg/usr/share/mythtv/ \
-# || return 1
-
- # install contrib
- mkdir -p $startdir/pkg/usr/share/mythtv/contrib || return 1
- install -m0755 contrib/* $startdir/pkg/usr/share/mythtv/contrib
-
- # set suid on mythfrontend
- #chmod a+s $startdir/pkg/usr/bin/mythfrontend
-
-#Patch the xml LinHES style
- cp -r $startdir/menu-xml/*.xml $startdir/pkg/usr/share/mythtv
- cd $startdir/pkg/usr/share/mythtv
- patch -p0 < $startdir/menu-xml/mainmenu.xml.patch
- patch -p0 < $startdir/menu-xml/optical_menu.xml.patch
- patch -p0 < $startdir/menu-xml/library.xml.patch
- patch -p0 < $startdir/menu-xml/util_menu.xml.patch
-
-#Make log dir
- mkdir -p $startdir/pkg/var/log/mythtv
- chown 1000.1000 $startdir/pkg/var/log/mythtv
- mkdir -p $startdir/pkg/etc/cron.hourly
- install -m0755 $startdir/src/pretty $startdir/pkg/etc/cron.hourly/
- mkdir -p $startdir/pkg/etc/logrotate.d
- cp $startdir/src/*.lr $startdir/pkg/etc/logrotate.d
-}