From a4696f4a108ce8e3d5f02eb9a04d3ba352276c0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Audrius=20Ka=C5=BEukauskas?= Date: Tue, 11 May 2010 22:26:05 +0200 Subject: office/fbreader: Updated for version 0.8.17 --- office/fbreader/fbreader.SlackBuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'office/fbreader/fbreader.SlackBuild') diff --git a/office/fbreader/fbreader.SlackBuild b/office/fbreader/fbreader.SlackBuild index 1d732a0be9..515d2c4c7c 100644 --- a/office/fbreader/fbreader.SlackBuild +++ b/office/fbreader/fbreader.SlackBuild @@ -4,7 +4,7 @@ # Written by Audrius Kažukauskas PRGNAM=fbreader -VERSION=0.8.8d +VERSION=0.8.17 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -17,6 +17,7 @@ OUTPUT=${OUTPUT:-/tmp} # If you want to build the gtk interface instead, then change this # value to 'gtk' or run the script like this: # UI=gtk ./fbreader.SlackBuild +# (or UI=qt4 for those who have Qt4 from -current) UI=${UI:-qt} if [ "$ARCH" = "i486" ]; then @@ -52,6 +53,11 @@ sed -i 's|moc-qt3|moc|' makefiles/arch/desktop.mk sed -i 's|-I /usr/include/qt3|$(shell pkg-config --cflags qt-mt)|' makefiles/arch/desktop.mk sed -i 's|-lqt-mt|$(shell pkg-config --libs qt-mt)|' makefiles/arch/desktop.mk +# Fix all Qt4 related flags +sed -i 's|moc-qt4|moc|' makefiles/arch/desktop.mk +sed -i 's|-I /usr/include/qt4|$(shell pkg-config --cflags QtGui)|' makefiles/arch/desktop.mk +sed -i 's|-lQtGui|$(shell pkg-config --libs QtGui)|' makefiles/arch/desktop.mk + make make install DESTDIR=$PKG -- cgit v1.2.3