desktop/2mandvd/PKGBUILD

41 lines
1.2 KiB
Bash
Raw Normal View History

#maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
2010-06-07 21:17:49 +08:00
pkgname=2mandvd
2013-07-31 04:55:59 +08:00
pkgver=1.8.5
pkgrel=2
pkgdesc="DVD Authoring Maker In Linux Environment."
2010-06-07 21:17:49 +08:00
url="http://2mandvd.tuxfamily.org/"
license=('GPL')
arch=('x86_64')
depends=('qt' 'mesa' 'sox' 'mplayer' 'mencoder' 'perl' 'netpbm' 'transcode' 'ffmpeg-compat' 'ffmpegthumbnailer'
'dvdauthor' 'mjpegtools' 'ttf-dejavu' 'dvd+rw-tools' 'exif' 'python-opengl')
2010-10-03 21:05:55 +08:00
optdepends=('xine-ui: to preview the result')
categories=('multimedia')
2012-06-22 07:42:56 +08:00
screenshot=('http://i1-linux.softpedia-static.com/screenshots/2ManDVD_1.jpg')
source=("http://download.tuxfamily.org/2mandvd/2ManDVD-${pkgver}.tar.gz"
"ffmpeg-0.11.diff")
2013-07-31 04:55:59 +08:00
sha1sums=('7f7f1ccf34ea8df1f24f6f28be36ea61012e03bd'
'e8bfd4adb11f5641a55719ff7d346f061281e8b2')
2010-06-07 21:17:49 +08:00
build() {
cd "${srcdir}/2ManDVD/"
qmake 2ManDVD.pro
sed -i "41s|#ifdef|//#ifdef|" videowrapper.cpp
sed -i '42i #if LIBAVFORMAT_VERSION_MAJOR >= 53' videowrapper.cpp
# Fix those damn absolute paths!
sed -e 's,chmod -R 755 /usr/share/2ManDVD,chmod -R 755 \$(INSTALL_ROOT)/usr/share/2ManDVD,g' \
-i Makefile
2012-06-01 06:52:19 +08:00
# Actually compile it
make
}
2010-06-07 21:17:49 +08:00
package(){
cd "${srcdir}/2ManDVD"
make INSTALL_ROOT="${pkgdir}" install
}