summaryrefslogtreecommitdiffstats
path: root/main/qt/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-09-18 07:43:52 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-09-18 07:43:52 +0000
commitbd1af98cc5f07b80309686aace7b46a4fd655009 (patch)
treebb46d6b28663792f703e45c20a40e6d551327391 /main/qt/APKBUILD
parentf0566d654fd271b9239d9d95d5d65ec82fafdd3d (diff)
downloadaports-bd1af98cc5f07b80309686aace7b46a4fd655009.tar.bz2
aports-bd1af98cc5f07b80309686aace7b46a4fd655009.tar.xz
main/qt: subpackage for private headers
- private headers for qmlpuppet (qt-creator) - paxctl qmlviewer and designer
Diffstat (limited to 'main/qt/APKBUILD')
-rw-r--r--main/qt/APKBUILD25
1 files changed, 22 insertions, 3 deletions
diff --git a/main/qt/APKBUILD b/main/qt/APKBUILD
index 90859f862..8aab4bd6e 100644
--- a/main/qt/APKBUILD
+++ b/main/qt/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=qt
pkgver=4.8.3
-pkgrel=0
+pkgrel=1
pkgdesc="A cross-platform application and UI framework"
url="http://qt.nokia.com/"
arch="all"
@@ -9,14 +9,14 @@ license="GPL3 LGPL"
depends="ca-certificates"
subpackages="$pkgname-dev $pkgname-doc $pkgname-assistant $pkgname-config
$pkgname-sqlite $pkgname-odbc $pkgname-postgresql $pkgname-mysql
- $pkgname-webkit $pkgname-x11"
+ $pkgname-webkit $pkgname-x11 $pkgname-private-dev:private"
depends_dev="mesa-dev libice-dev libsm-dev libx11-dev libxext-dev
libxrender-dev alsa-lib-dev openssl-dev fontconfig-dev freetype-dev
glib-dev libpng-dev zlib-dev sqlite-dev dbus-dev"
makedepends="$depends_dev postgresql-dev mysql-dev unixodbc-dev cups-dev
gtk+-dev tiff-dev libmng-dev libxrandr-dev libxv-dev libxi-dev perl
- gawk"
+ gawk paxctl rsync"
install=
source="http://releases.qt-project.org/qt4/source/qt-everywhere-opensource-src-$pkgver.tar.gz
qt-gtk-theme-fix.patch
@@ -102,6 +102,9 @@ package() {
rm -r "$pkgdir"/usr/lib/*.la \
"$pkgdir"/usr/tests || return 1
+ paxctl -cm "$pkgdir"/usr/bin/qmlviewer "$pkgdir"/usr/bin/designer \
+ || return 1
+
# install missing icons and desktop files
for icon in tools/linguist/linguist/images/icons/linguist-*-32.png ; do
size=$(echo $(basename ${icon}) | cut -d- -f2)
@@ -234,6 +237,22 @@ x11() {
usr/lib/qt/plugins
}
+private() {
+ pkgdesc="Private headers for Qt toolkit"
+ cd "$_builddir"
+ mkdir -p "$subpkgdir"/usr
+ rsync -aR \
+ include/QtCore/private \
+ include/QtDeclarative/private \
+ include/QtGui/private \
+ include/QtScript/private \
+ src/corelib/*/*_p.h \
+ src/declarative/*/*_p.h \
+ src/gui/*/*_p.h \
+ src/script/*/*_p.h \
+ "$subpkgdir"/usr || return 1
+}
+
md5sums="a663b6c875f8d7caa8ac9c30e4a4ec3b qt-everywhere-opensource-src-4.8.3.tar.gz
91e8b5ea1e682ae51b60a27d01d7d381 qt-gtk-theme-fix.patch
7467e168418c50b2737b4b2fab4448fe qsettings-recursive-global-mutex.patch