summaryrefslogtreecommitdiff
path: root/extra/oxine/PKGBUILD
blob: e3dc227bc911da4b92b1c0cbbb2447d499884594 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 137856 2011-09-12 03:56:43Z eric $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Rouslan Solomakhin <rouslan@localnet.com>
# Contributor: dorphell <dorphell@archlinux.org>

pkgname=oxine
pkgver=0.7.1
pkgrel=4
pkgdesc="A lightweight, purely osd based xine frontend for set-top boxes and home entertainment systems"
arch=('i686' 'x86_64')
url="http://oxine.sourceforge.net/"
license=('GPL')
depends=('xine-lib' 'libexif' 'eject' 'libcdio' 'curl' 'libxtst')
source=(http://downloads.sourceforge.net/sourceforge/oxine/${pkgname}-${pkgver}.tar.gz)
md5sums=('2a2d05ee21892624e35cf539e532c0dd')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  sed -i 's|#include <curl/types.h>||' configure src/download.c
  ./configure --prefix=/usr --disable-hal --without-jsw --disable-extractor \
    --without-imagemagick --disable-gdkpixbuf --disable-weather
  make
}

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