summaryrefslogtreecommitdiffstats
path: root/main/qt
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-09-18 08:36:41 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-09-18 08:36:41 +0000
commit9fc6905654a1d480197d44705aeaf3bd1b44c6eb (patch)
tree303f4fe6782a72b8a3a3e2ae2b46d6a3237bce2a /main/qt
parent496e62aa5c9dc93716bc148fa98cb391cf64eaa4 (diff)
downloadaports-9fc6905654a1d480197d44705aeaf3bd1b44c6eb.tar.bz2
aports-9fc6905654a1d480197d44705aeaf3bd1b44c6eb.tar.xz
main/qt: add qt-tds subpackage
Diffstat (limited to 'main/qt')
-rw-r--r--main/qt/APKBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/main/qt/APKBUILD b/main/qt/APKBUILD
index 8aab4bd6e..bb8608e27 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=1
+pkgrel=2
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-private-dev:private"
+ $pkgname-tds $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 paxctl rsync"
+ gawk paxctl rsync freetds-dev"
install=
source="http://releases.qt-project.org/qt4/source/qt-everywhere-opensource-src-$pkgver.tar.gz
qt-gtk-theme-fix.patch
@@ -64,6 +64,7 @@ build() {
-plugin-sql-mysql \
-plugin-sql-sqlite \
-plugin-sql-odbc \
+ -plugin-sql-tds \
-system-sqlite \
-xmlpatterns \
-no-phonon \
@@ -90,7 +91,6 @@ build() {
-gtkstyle \
-opengl \
-no-openvg \
- -no-rpath \
-glib \
|| return 1
qmake && make
@@ -205,6 +205,12 @@ mysql() {
_mv_files usr/lib/qt/plugins/sqldrivers/libqsqlmysql*
}
+tds() {
+ pkgdesc="TDS driver for Qt's SQL classes"
+ cd "$pkgdir"
+ _mv_files usr/lib/qt/plugins/sqldrivers/libqsqltds*
+}
+
webkit() {
mkdir -p "$subpkgdir"/usr/lib/qt/imports