extra/qt3 bump

This commit is contained in:
WarheadsSE 2013-10-25 16:10:28 -04:00
parent 97a1762201
commit 3cd8f16905
2 changed files with 56 additions and 4 deletions

View file

@ -11,7 +11,7 @@
pkgname=qt3
pkgver=3.3.8b
pkgrel=6
pkgrel=7
epoch=1
pkgdesc="A cross-platform application and UI framework"
arch=('i686' 'x86_64')
@ -23,10 +23,11 @@ makedepends=('mariadb' 'postgresql' 'unixodbc' 'sqlite' 'mesa')
optdepends=('libmariadbclient: MariaDB driver'
'postgresql-libs: PostgreSQL driver'
'unixodbc: ODBC driver')
options=('!libtool' '!docs')
options=('!docs')
source=(ftp://ftp.qt-project.org/qt/source/qt-x11-free-${pkgver}.tar.gz
qt3-png15.patch qt-copy-kde-patches.tar.bz2 qt-patches.tar.bz2
eastern_asian_languagues.diff qt-odbc.patch gcc-4.6.patch arm_no_packed.patch)
eastern_asian_languagues.diff qt-odbc.patch gcc-4.6.patch arm_no_packed.patch
qt-x11-free-3.3.5-makelibshared.patch)
sha1sums=('745def6250dc7f337dbb265e20bf38dcb41fd854'
'3d19510c46016a1a211d97bf8f82b01498b1b33c'
'33418e5b117458af23c72cdbffc0c339bc34bdc4'
@ -34,7 +35,8 @@ sha1sums=('745def6250dc7f337dbb265e20bf38dcb41fd854'
'40c7b8f06a21f809ddeb8b5560e9da63ccac6a17'
'1346320614f6f86fbeb10b9fbad721dea29f5b61'
'd9b83b8f6f9c8bd98d290dc1d0e9913a00b62c3f'
'43565c3b33c5d6f7adb217e4afea49adb48f6c97')
'43565c3b33c5d6f7adb217e4afea49adb48f6c97'
'e89720eac87c3e925d0efae6a16f334c5159e4f6')
# qt-copy-kde-patches come from http://websvn.kde.org/trunk/qt-copy/patches/
# other qt-patches come from fedora and gentoo
@ -57,6 +59,8 @@ prepare() {
patch -p1 -i "${srcdir}"/gcc-4.6.patch
patch -p0 -i "${srcdir}"/qt3-png15.patch
# Arch Linux ARM patch
patch -p1 -i "${srcdir}"/qt-x11-free-3.3.5-makelibshared.patch
patch -p1 -i ${srcdir}/arm_no_packed.patch
sed -i "s|-O2|$CXXFLAGS|" mkspecs/linux-g++{,-32,-64}/qmake.conf

View file

@ -0,0 +1,48 @@
--- qt-x11-free-3.3.5/tools/assistant/lib/lib.pro.orig 2005-10-21 10:09:12.000000000 -0200
+++ qt-x11-free-3.3.5/tools/assistant/lib/lib.pro 2005-10-21 10:09:34.000000000 -0200
@@ -3,8 +3,7 @@
VERSION = 1.0
CONFIG += qt warn_on release
-CONFIG += staticlib
-CONFIG -= dll
+CONFIG += dll
SOURCES = qassistantclient.cpp
HEADERS += $$QT_SOURCE_TREE/include/qassistantclient.h
*** qt-x11-free-qt-copy-3.3.5/tools/designer/editor/editor.pro 2003-12-20 22:48:51.000000000 -0200
--- qt-x11-free-qt-copy-3.3.5/tools/designer/editor/editor.pro.new 2005-12-06 18:47:04.000000000 -0200
***************
*** 1,6 ****
TEMPLATE = lib
! CONFIG += qt warn_on staticlib
! CONFIG -= dll
HEADERS = editor.h \
parenmatcher.h \
completion.h \
--- 1,6 ----
TEMPLATE = lib
! CONFIG += qt warn_on
! CONFIG += dll
HEADERS = editor.h \
parenmatcher.h \
completion.h \
*** qt-x11-free-qt-copy-3.3.5/tools/designer/designer/designer.pro 2004-04-29 19:31:32.000000000 -0300
--- qt-x11-free-qt-copy-3.3.5/tools/designer/designer/designer.pro.new 2005-12-06 18:46:29.000000000 -0200
***************
*** 1,7 ****
TEMPLATE = lib
! CONFIG += qt warn_on staticlib qmake_cache
! CONFIG -= dll
!force_static:!win32:contains(QT_PRODUCT,qt-internal) {
CONFIG -= staticlib
CONFIG += dll
--- 1,7 ----
TEMPLATE = lib
! CONFIG += qt warn_on qmake_cache
! CONFIG += dll
!force_static:!win32:contains(QT_PRODUCT,qt-internal) {
CONFIG -= staticlib
CONFIG += dll