Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=87c945ed9664cfaa5dcf99a9aa1b9c1eb78942a4

commit 87c945ed9664cfaa5dcf99a9aa1b9c1eb78942a4
Author: Melko <me...@frugalware.org>
Date:   Sat May 28 14:12:06 2011 +0200

qt4-4.7.3-1-i686

* add subpkg qt4-private-headers

diff --git a/source/xlib-extra/qt4/FrugalBuild 
b/source/xlib-extra/qt4/FrugalBuild
index e98365b..7087c2f 100644
--- a/source/xlib-extra/qt4/FrugalBuild
+++ b/source/xlib-extra/qt4/FrugalBuild
@@ -399,6 +399,16 @@ subconflicts=("${subconflicts[@]}" '')
subreplaces=("${subreplaces[@]}" 'kdbus')
subprovides=("${subprovides[@]}" '')

+subpkgs=("${subpkgs[@]}" "$pkgname-private-headers")
+subdescs=("${subdescs[@]}" 'Qt private headers for development')
+subdepends=("${subdepends[@]}" "$pkgname=$pkgver")
+subrodepends=("${subrodepends[@]}" "")
+subgroups=("${subgroups[@]}" 'xlib-extra qt4-libs')
+subarchs=("${subarchs[@]}" 'i686 x86_64 ppc')
+subconflicts=("${subconflicts[@]}" '')
+subreplaces=("${subreplaces[@]}" '')
+subprovides=("${subprovides[@]}" '')
+
## this is here till I've fixed all reverse depends so we not break all apps 
using qt4 by now
rodepends=("${subpkgs[@]}")

@@ -615,6 +625,84 @@ build()
# Late split
Fsplit libqtgui 
/usr/lib/$pkgname/plugins/{accessible,imageformats,inputmethods}/\*

+
+       # Copy private headers to a subpkg
+       mkdir -p 
$startdir/pkg.$pkgname-private-headers/usr/include/phonon/private || Fdie
+       find src/3rdparty/phonon/ -name "*_p.h" -exec install -m644 {} \
+                
$startdir/pkg.$pkgname-private-headers/usr/include/phonon/private \; || Fdie
+
+       mkdir -p 
$startdir/pkg.$pkgname-private-headers/usr/include/Qt3Support/private || Fdie
+       find src/qt3support/ -name "*_p.h" -exec install -m644 {} \
+               
$startdir/pkg.$pkgname-private-headers/usr/include/Qt3Support/private \; || Fdie
+
+       mkdir -p 
$startdir/pkg.$pkgname-private-headers/usr/include/QtCore/private || Fdie
+       find src/corelib/ -name "*_p.h" -exec install -m644 {} \
+               
$startdir/pkg.$pkgname-private-headers/usr/include/QtCore/private \; || Fdie
+
+       mkdir -p 
$startdir/pkg.$pkgname-private-headers/usr/include/QtDBus/private || Fdie
+       find src/dbus/ -name "*_p.h" -exec install -m644 {} \
+                
$startdir/pkg.$pkgname-private-headers/usr/include/QtDbus/private \; || Fdie
+
+       mkdir -p 
$startdir/pkg.$pkgname-private-headers/usr/include/QtDeclarative/private || Fdie
+       find src/declarative/ -name "*_p.h" -exec install -m644 {} \
+                
$startdir/pkg.$pkgname-private-headers/usr/include/QtDeclarative/private \; || 
Fdie
+
+       mkdir -p 
$startdir/pkg.$pkgname-private-headers/usr/include/QtDesigner/private || Fdie
+       find tools/designer/ -name "*_p.h" -exec install -m644 {} \
+                
$startdir/pkg.$pkgname-private-headers/usr/include/QtDesigner/private \; || Fdie
+
+       mkdir -p 
$startdir/pkg.$pkgname-private-headers/usr/include/QtGui/private || Fdie
+       find src/gui/ -name "*_p.h" -exec install -m644 {} \
+                
$startdir/pkg.$pkgname-private-headers/usr/include/QtGui/private \; || Fdie
+
+       mkdir -p 
$startdir/pkg.$pkgname-private-headers/usr/include/QtHelp/private || Fdie
+       find tools/assistant/ -name "*_p.h" -exec install -m644 {} \
+                
$startdir/pkg.$pkgname-private-headers/usr/include/QtHelp/private \; || Fdie
+
+       mkdir -p 
$startdir/pkg.$pkgname-private-headers/usr/include/QtMultimedia/private || Fdie
+        find src/multimedia/ -name "*_p.h" -exec install -m644 {} \
+                
$startdir/pkg.$pkgname-private-headers/usr/include/QtMultimedia/private \; || 
Fdie
+
+       mkdir -p 
$startdir/pkg.$pkgname-private-headers/usr/include/QtNetwork/private || Fdie
+        find src/network/ -name "*_p.h" -exec install -m644 {} \
+                
$startdir/pkg.$pkgname-private-headers/usr/include/QtNetwork/private \; || Fdie
+
+       mkdir -p 
$startdir/pkg.$pkgname-private-headers/usr/include/QtOpenGL/private || Fdie
+        find src/opengl/ -name "*_p.h" -exec install -m644 {} \
+                
$startdir/pkg.$pkgname-private-headers/usr/include/QtOpenGL/private \; || Fdie
+
+       mkdir -p 
$startdir/pkg.$pkgname-private-headers/usr/include/QtScript/private || Fdie
+        find src/script/ -name "*_p.h" -exec install -m644 {} \
+                
$startdir/pkg.$pkgname-private-headers/usr/include/QtScript/private \; || Fdie
+
+       mkdir -p 
$startdir/pkg.$pkgname-private-headers/usr/include/QtScriptTools/private || Fdie
+        find src/scripttools/ -name "*_p.h" -exec install -m644 {} \
+                
$startdir/pkg.$pkgname-private-headers/usr/include/QtScriptTools/private \; || 
Fdie
+
+       mkdir -p 
$startdir/pkg.$pkgname-private-headers/usr/include/QtSql/private || Fdie
+        find src/sql/ -name "*_p.h" -exec install -m644 {} \
+                
$startdir/pkg.$pkgname-private-headers/usr/include/QtSql/private \; || Fdie
+
+       mkdir -p 
$startdir/pkg.$pkgname-private-headers/usr/include/QtSvg/private || Fdie
+       find src/svg/ -name "*_p.h" -exec install -m644 {} \
+                
$startdir/pkg.$pkgname-private-headers/usr/include/QtSvg/private \; || Fdie
+
+       mkdir -p 
$startdir/pkg.$pkgname-private-headers/usr/include/QtTest/private || Fdie
+        find src/testlib/ -name "*_p.h" -exec install -m644 {} \
+                
$startdir/pkg.$pkgname-private-headers/usr/include/QtTest/private \; || Fdie
+
+       mkdir -p 
$startdir/pkg.$pkgname-private-headers/usr/include/QtUiTools/private || Fdie
+        find tools/designer/src/uitools/ -name "*_p.h" -exec install -m644 {} \
+                
$startdir/pkg.$pkgname-private-headers/usr/include/QtUiTools/private \; || Fdie
+
+       mkdir -p 
$startdir/pkg.$pkgname-private-headers/usr/include/QtWebKit/private || Fdie
+        find src/3rdparty/webkit/ -name "*_p.h" -exec install -m644 {} \
+                
$startdir/pkg.$pkgname-private-headers/usr/include/QtWebKit/private \; || Fdie
+
+       mkdir -p 
$startdir/pkg.$pkgname-private-headers/usr/include/QtXmlPatterns/private || Fdie
+        find src/xmlpatterns/ -name "*_p.h" -exec install -m644 {} \
+                
$startdir/pkg.$pkgname-private-headers/usr/include/QtXmlPatterns/private \; || 
Fdie
+
## no is not a typo
make  INSTALL_ROOT=$Fdestdir install || Fdie
Fcleandestdir "${subpkgs[@]}"
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to