You are not logged in.

#1 2011-03-30 09:43:01

Fletch
Member
From: Ukraine
Registered: 2007-09-03
Posts: 14

[PKGBUILD] Showtime

There's an old thread somewhere here with requests for tvheadend and showtime PKGBUILDs though tvheadend is in AUR and building and working well, there is no showtime in AUR. So I decided to post here my PKGBUILD. Pardon me if it's a wrong part of forum to do this.
Here's PKGBUILD:

# Maintainer: Fletch <fletch at email dot su>
# Showtime player from lonelycoder for watching dvb from tvheadend

pkgname=showtime-git
pkgver=20110330
pkgrel=1
pkgdesc="Media player for use on HTPC media centers"
arch=('i686' 'x86_64')
url="http://www.lonelycoder.com/hts/showtime_overview.html"
license=('GPL3')
depends=('ffmpeg' 'freetype2' 'alsa-lib' 'gtk2' 'avahi' 'openssl')
makedepends=('git')
provides=('showtime')
conflicts=('hts-showtime' 'hts-showtime-svn')

_gitroot="git://github.com/andoma/showtime.git"
_gitname="showtime"
source=()
md5sums=()

build() {
  cd "$srcdir"
  msg "Connecting to GIT server...."

  if [ -d $_gitname ] ; then
    cd $_gitname && git pull origin
    msg "The local files are updated."
  else
    git clone $_gitroot $_gitname
  fi

  msg "GIT checkout done or server timeout"
  msg "Starting make..."

  rm -rf "$srcdir/$_gitname-build"
  git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
  cd "$srcdir/$_gitname-build"

  ./configure --prefix=/usr --disable-libpulse --disable-vdpau --release
  make
}

package() {
  cd "$srcdir/$_gitname-build"
  make DESTDIR="$pkgdir/" install
}

As you can see i've disabled Pulseaudio cause it's not installed on my box and vdpau cause i have an AMD/ATI graphics. For those, who have Nvidia with vdpau support, you can remove that line.

Offline

#2 2011-03-30 14:52:58

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,803

Re: [PKGBUILD] Showtime

Any reason not to create an AUR account and post it in the AUR?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2011-03-30 19:47:09

Fletch
Member
From: Ukraine
Registered: 2007-09-03
Posts: 14

Re: [PKGBUILD] Showtime

ewaller wrote:

Any reason not to create an AUR account and post it in the AUR?

Have no time.

Offline

Board footer

Powered by FluxBB