Permalink
Browse files

qt4-4.8.1-4-x86_64

* disable OpenVG backend, not needed
* split tds sql plugin
 fix pc and la file for QtWebkit
  • Loading branch information...
1 parent 7cc7c08 commit ee20419613c7469c3288fd81ee09eab30c3a98fc Marius Cirsta committed May 22, 2012
Showing with 16 additions and 2 deletions.
  1. +16 −2 source/xlib-extra/qt4/FrugalBuild
@@ -7,7 +7,7 @@ USE_DETECTDEPENDS=${USE_DETECTDEPENDS:-"n"}
pkgname=qt4
_F_archive_name=qt-everywhere-opensource-src
pkgver=4.8.1
-pkgrel=3
+pkgrel=4
pkgdesc="The QT4 GUI toolkit."
url="http://qt.nokia.com/products/"
depends=()
@@ -412,6 +412,17 @@ subconflicts=("${subconflicts[@]}" '')
subreplaces=("${subreplaces[@]}" '')
subprovides=("${subprovides[@]}" '')
+Fconfopts="$Fconfopts -plugin-sql-tds"
+subpkgs=("${subpkgs[@]}" "$pkgname-plugin-tds")
+subdescs=("${subdescs[@]}" 'Qt4 TDS plugin')
+subdepends=("${subdepends[@]}" "freetds")
+subrodepends=("${subrodepends[@]}" "$LIBQTSQLDEP")
+subgroups=("${subgroups[@]}" 'lib qt4-libs')
+subarchs=("${subarchs[@]}" 'i686 x86_64')
+subconflicts=("${subconflicts[@]}" '')
+subreplaces=("${subreplaces[@]}" '')
+subprovides=("${subprovides[@]}" '')
+
# Optionnal packages
if Fuse $USE_DEMOS; then
@@ -532,7 +543,7 @@ build()
-fast -shared -reduce-relocations -no-rpath -no-separate-debug-info \
-opengl -no-phonon -no-phonon-backend -webkit \
-system-libpng -system-libjpeg -system-libmng -system-libtiff -system-zlib \
- -cups -glib -gtkstyle -nis -pch -stl -sm || Fdie
+ -cups -glib -gtkstyle -nis -pch -stl -sm -no-openvg || Fdie
## NOTE: We build with phonon but remove it after .. WebKit need it ?!
@@ -612,6 +623,7 @@ build()
# its pkgconfig files is ever fixed
sed -i 's|-L\.\./JavaScriptCore/release||g' $Fdestdir/usr/lib/{pkgconfig/QtWebKit.pc,libQtWebKit.la} || Fdie
sed -i 's|-ljscore||g' $Fdestdir/usr/lib/{pkgconfig/QtWebKit.pc,libQtWebKit.la} || Fdie
+ sed -i 's|-L\.\./\.\./WebCore/release -L\.\./\.\./JavaScriptCore/release -lwebcore||g' $Fdestdir/usr/lib/{pkgconfig/QtWebKit.pc,libQtWebKit.la} || Fdie
do_libsplit QtWebKit
Fsplit libqtwebkit /usr/lib/$pkgname/plugins/designer/libqwebview.so
@@ -650,6 +662,8 @@ build()
Fsplit $pkgname-plugin-sqlite2 /usr/lib/$pkgname/plugins/sqldrivers/libqsqlite2.so
Fsplit $pkgname-plugin-sqlite3 /usr/lib/$pkgname/plugins/sqldrivers/libqsqlite.so
+
+ Fsplit $pkgname-plugin-tds /usr/lib/$pkgname/plugins/sqldrivers/libqsqltds.so
Fsplit $pkgname-tools /usr/bin/\*
Fsplit $pkgname-tools /usr/lib/$pkgname/plugins/graphicssystems/libqtracegraphicssystem.so

0 comments on commit ee20419

Please sign in to comment.