1 # $Id: PKGBUILD 57686 2011-11-01 09:55:36Z ebelanger $
2 # Contributor: Alexander Fehr <pizzapunk gmail com>
3 # Previous Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
4 # Maintainer: Mario J Steele <mario@ruby-im.net>
9 pkgdesc="Cross-platform DVD authoring application"
10 arch=('i686' 'x86_64')
11 url="http://www.dvdstyler.de/"
13 depends=('cdrkit' 'dvdauthor' 'dvd+rw-tools' 'wxsvg' 'xine-ui' 'mjpegtools' 'libgnomeui')
14 makedepends=('zip' 'xmlto' 'docbook-xsl')
15 optdepends=('dvdisaster: ECC support')
16 options=('!makeflags')
17 source=(http://downloads.sourceforge.net/dvdstyler/DVDStyler-${pkgver}.tar.bz2)
18 sha1sums=('c38a3467509189cbfe32eac64e618d107c364d13')
21 cd "${srcdir}/DVDStyler-${pkgver}"
22 sed -i 's/rmdir "$$t"//' docs/Makefile.in
23 sed -i 's/vsink_buffer.h/buffersink.h/' src/mediatrc_ffmpeg.cpp
24 ./configure --prefix=/usr
25 sed -i 's/libwxvilla.a/libwxvilla.a \/usr\/lib\/libjpeg.so.8/' src/Makefile
26 # The author of the program did not include these, therfore fails compilation
27 sed -i 's/MainWin.cpp/VideoFrameDlg.cpp MainWin.cpp/' src/Makefile
28 sed -i 's/MainWin.$(OBJEXT)/VideoFrameDlg.$(OBJEXT) MainWin.$(OBJEXT)/' src/Makefile
33 cd "${srcdir}/DVDStyler-${pkgver}"
34 make DESTDIR="${pkgdir}" install