summaryrefslogtreecommitdiff
path: root/community/mandvd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mandvd/PKGBUILD')
-rw-r--r--community/mandvd/PKGBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/community/mandvd/PKGBUILD b/community/mandvd/PKGBUILD
index 4c5abc0cc..3519ac8dd 100644
--- a/community/mandvd/PKGBUILD
+++ b/community/mandvd/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 65689 2012-02-21 21:57:30Z jlichtblau $
+# $Id: PKGBUILD 87997 2013-04-09 21:40:35Z eric $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: JJDaNiMoTh <jjdanimoth.aur@gmail.com>
# Contributor: Jesus Lazaro Plaza <jesuslazaro84@gmail.com>
@@ -12,16 +12,18 @@ url="http://www.kde-apps.org/content/show.php/ManDVD?content=83906"
license=('GPL')
depends=('dvd+rw-tools>=5.21.4' 'dvd-slideshow>=0.7.5' 'mjpegtools>=1.8.0' 'mplayer' 'qt3' 'xine-ui>=0.99.4')
changelog=$pkgname.changelog
-source=(http://ftp.sh.cvut.cz/MIRRORS/vector/veclinux-7.0/source/abs/xap/$pkgname/$pkgname-$pkgver-1.fc12.tar.gz)
+source=(http://vectorlinux.osuosl.org/veclinux-7.0/source/abs/xap/$pkgname/$pkgname-$pkgver-1.fc12.tar.gz)
sha256sums=('967fd66da31f0619001b3aaea494ab41579ab7ffdc6a1b0a51a4a4add012eb9c')
build() {
cd ${srcdir}/$pkgname-$pkgver
- source /etc/profile.d/qt3.sh
- ${QTDIR}/bin/qmake
+ qmake-qt3
sed -i "s|O2|O1|" ./Makefile
- make
+ sed -i 's|-I$(QTDIR)/include|-I/usr/include/qt3|' Makefile
+ sed -i '55 i\#include <unistd.h>' main.cpp
+ sed -i '28 i\#include <unistd.h>' mandvd.cpp
+ make QTDIR=/usr MOC=/usr/bin/moc-qt3 UIC=/usr/bin/uic-qt3
}
package() {