aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-10-03 14:08:27 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-03 14:45:02 +0000
commit8816946de463c9b417f9cff78055e7c9f3ff803e (patch)
tree38982754c5f9fe1db0e84544a0dc442a6502b550 /main
parent69c0e803357e2c835f5de810d0c645dd879bae89 (diff)
downloadaports-8816946de463c9b417f9cff78055e7c9f3ff803e.tar.bz2
aports-8816946de463c9b417f9cff78055e7c9f3ff803e.tar.xz
main/qt: rebuild against libmng-2, split out translations, fix url
Diffstat (limited to 'main')
-rw-r--r--main/qt/APKBUILD18
1 files changed, 13 insertions, 5 deletions
diff --git a/main/qt/APKBUILD b/main/qt/APKBUILD
index 66e15cbd1f..703ec76284 100644
--- a/main/qt/APKBUILD
+++ b/main/qt/APKBUILD
@@ -1,15 +1,16 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=qt
pkgver=4.8.5
-pkgrel=0
+pkgrel=1
pkgdesc="A cross-platform application and UI framework"
-url="http://qt.nokia.com/"
+url="http://qt-project.org/"
arch="all"
license="GPL3 LGPL"
depends="ca-certificates"
subpackages="$pkgname-dev $pkgname-doc $pkgname-assistant $pkgname-config
$pkgname-sqlite $pkgname-odbc $pkgname-postgresql $pkgname-mysql
- $pkgname-tds $pkgname-webkit $pkgname-x11 $pkgname-private-dev:private"
+ $pkgname-tds $pkgname-webkit $pkgname-x11 $pkgname-private-dev:private
+ $pkgname-lang"
depends_dev="mesa-dev libice-dev libsm-dev libx11-dev libxext-dev
libxrender-dev alsa-lib-dev openssl-dev fontconfig-dev freetype-dev
@@ -155,7 +156,7 @@ dev() {
"$subpkgdir"/usr/share/qt/ \
|| return 1
default_dev
-
+
mv "$pkgdir"/usr/lib/*.prl "$subpkgdir"/usr/lib/ || return 1
cd "$pkgdir"/usr/bin
@@ -164,7 +165,7 @@ dev() {
qhelpconverter qhelpgenerator qmake qt3to4 qttracereplay \
rcc uic uic3 xmlpatterns xmlpatternsvalidator \
"$subpkgdir"/usr/bin/ || return 1
-
+
cd "$pkgdir"
_mv_files $(find * -name 'designer*') \
$(find * -name 'linguist*')
@@ -263,6 +264,13 @@ private() {
"$subpkgdir"/usr || return 1
}
+lang() {
+ pkgdesc="translations for Qt"
+ mkdir -p "$subpkgdir"/usr/share/qt/
+ mv "$pkgdir"/usr/share/qt/translations \
+ "$subpkgdir"/usr/share/qt/
+}
+
md5sums="1864987bdbb2f58f8ae8b350dfdbe133 qt-everywhere-opensource-src-4.8.5.tar.gz
8eeac363a5d9bc1ca06501a7cbe59b08 qt-gtk-theme-fix.patch
7467e168418c50b2737b4b2fab4448fe qsettings-recursive-global-mutex.patch