Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=b4900a7e7b71d0cb19d1de50ffb5d9225391b791
commit b4900a7e7b71d0cb19d1de50ffb5d9225391b791 Author: Miklos Vajna <vmik...@frugalware.org> Date: Mon Feb 7 14:49:19 2011 +0100 libqtassistant-4.6.3-1-i686 - new package as qt-4.7 removed it from the main tarball (fixes qtiplot ftbfs and a few other packages) diff --git a/source/xlib-extra/libqtassistant/FrugalBuild b/source/xlib-extra/libqtassistant/FrugalBuild new file mode 100644 index 0000000..d120b40 --- /dev/null +++ b/source/xlib-extra/libqtassistant/FrugalBuild @@ -0,0 +1,32 @@ +# Compiling Time: 0.11 SBU +# Maintainer: crazy <cr...@frugalware.org> + +pkgname=libqtassistant +pkgver=4.6.3 +pkgrel=1 +pkgdesc="Qt Assistant compat version" +url="http://labs.qt.nokia.com/2010/06/22/qt-assistant-compat-version-available-as-extra-source-package/" +depends=('libqtdbus' 'libqtgui' 'libqtnetwork') +groups=('xlib-extra') +archs=('i686' 'x86_64' 'ppc') +up2date="$pkgver" # this is a compat package, should be removed once nothing depends on it +source=(ftp://ftp.qt.nokia.com/qt/source/qt-assistant-qassistantclient-library-compat-src-4.6.3.tar.gz \ + build_system.diff) +sha1sums=('7a5e5155136c406e5b7eb880eed752f56625d10b' \ + 'd028eabc99132d63fb7f334b81f740cadc0c089b') + +build() +{ + Fcd qt-assistant-qassistantclient-library-compat-version-$pkgver + Fpatchall + for i in lib . + do + cd $i + qmake CONFIG+=create_prl || return 1 + make || return 1 + make install INSTALL_ROOT=$Fdestdir || return 1 + cd - + done +} + +# optimization OK diff --git a/source/xlib-extra/libqtassistant/build_system.diff b/source/xlib-extra/libqtassistant/build_system.diff new file mode 100644 index 0000000..3266ced --- /dev/null +++ b/source/xlib-extra/libqtassistant/build_system.diff @@ -0,0 +1,48 @@ +Description: several workarounds for the build system which is completely broken +Author: Fathi Boudra <f...@debian.org> + +--- a/compat.pro ++++ b/compat.pro +@@ -66,8 +66,6 @@ TRANSLATIONS = translations/assistant_ad + translations/assistant_adp_zh_CN.ts \ + translations/assistant_adp_zh_TW.ts + +-unix:!contains(QT_CONFIG, zlib):LIBS += -lz +- + contains(CONFIG, static): { + win32 { + exists($$[QT_INSTALL_PLUGINS]/imageformats/qjpeg.lib) { +@@ -81,3 +79,7 @@ contains(CONFIG, static): { + } + } + } ++ ++target.path = $$[QT_INSTALL_BINS] ++INSTALLS += target ++ +--- a/lib/lib.pro ++++ b/lib/lib.pro +@@ -16,8 +16,8 @@ HEADERS = qassistantclient.h \ + qassistantclient_global.h + SOURCES = qassistantclient.cpp + +-DESTDIR = ../../../../lib +-DLLDESTDIR = ../../../../bin ++DESTDIR = lib ++DLLDESTDIR = bin + + unix { + QMAKE_CFLAGS += $$QMAKE_CFLAGS_SHLIB +@@ -62,7 +62,7 @@ win32 { + } + + qt_install_headers { +- assistant_headers.files = $$SYNCQT.HEADER_FILES $$SYNCQT.HEADER_CLASSES ++ assistant_headers.files = qassistantclient.h qassistantclient_global.h + assistant_headers.path = $$[QT_INSTALL_HEADERS]/QtAssistant + INSTALLS += assistant_headers + } +--- /dev/null ++++ b/lib/QtAssistant/qassistantclient_global.h +@@ -0,0 +1 @@ ++#include "../qassistantclient_global.h" _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git