summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/fuppes-svn/PKGBUILD
blob: 82576b1eb0af95ea8db16fa68432ebbe31b1ac2a (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
29
30
31
32
33
34
35
36
37
38
39
40
# Contributor: Andrew Krawchyk <krawch_a@denison.edu>
# patch for svn r634: Ivan Yurasov <vd@vdk.su>

pkgname=fuppes-svn
pkgver=634
pkgrel=1
pkgdesc="A free, multiplatform Universal Plug and Play A/V MediaServer"
arch=('i686' 'x86_64')
url="http://fuppes.ulrich-voelkel.de/"
license=('GPL2')
depends=('pcre' 'libxml2' 'sqlite3' 'gettext' 'taglib' 'imagemagick' 'ffmpeg' 'libmp4v2' 'lame' 'libvorbis' 'libmpcdec' 'flac' 'faad2' 'libmad')
makdepends=('pkgconfig' 'autoconf' 'subversion')
source=(fuppes-r634-archlinux.patch fuppes.diff)
md5sums=('5d9f6331cc91b64aab69449ce327b214' 'c495fa1bd9a870ae36820632434319ee')

_svnmod="fuppes"
_svntrunk="https://fuppes.svn.sourceforge.net/svnroot/fuppes/trunk"

build()
{
	cd ${startdir}/src

	msg "Getting sources..."
	svn co ${_svntrunk} ${_svnmod} -r 634
	msg "Done getting sources or failed to connect to server."

	cd ${_svnmod}

	patch -Np0 -i ../fuppes-r634-archlinux.patch
	patch -Np0 -i ../fuppes.diff
	autoreconf -vfi
	
	./configure --prefix=/usr \
	--enable-video-transcoding \
	--disable-twolame || return 1
	
	make || return 1
	make DESTDIR=$startdir/pkg install || return 1
}