summaryrefslogtreecommitdiffstats
path: root/arch/3.5.13/trinity-extras
diff options
context:
space:
mode:
Diffstat (limited to 'arch/3.5.13/trinity-extras')
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdevelop/PKGBUILD21
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdevelop/kdevelop.patch12
2 files changed, 24 insertions, 9 deletions
diff --git a/arch/3.5.13/trinity-extras/trinity-kdevelop/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdevelop/PKGBUILD
index e1b5520ef..2e3945c16 100644
--- a/arch/3.5.13/trinity-extras/trinity-kdevelop/PKGBUILD
+++ b/arch/3.5.13/trinity-extras/trinity-kdevelop/PKGBUILD
@@ -1,4 +1,5 @@
-# Maintainer: Calvin Morrison <[email protected]>
+# Maintainer: Pawel 'l0ner' Soltys <[email protected]>
+# Contributor: Calvin Morrison <[email protected]>
pkgname=trinity-kdevelop
pkgver=12345
@@ -9,13 +10,11 @@ license=('GPL')
groups=('trinity-extras')
pkgdesc="Trinity Developement tools"
depends=('trinity-kdebase')
-# 'xorg'
makedepends=('pkgconfig' 'cmake' 'imake')
options=('libtool' '!strip')
-source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/kdevelop-3.5.13.tar.gz)
-source=(http://anduin.linuxfromscratch.org/sources/trinity/kdevelop-3.5.13.tar.gz)
-md5sums=('777bd77e4f2dc6a5b5b45a370dcf6da0')
-_svnmod=kdevelop
+source=('http://mirror.ets.kth.se/trinity/releases/3.5.13/kdevelop-3.5.13.tar.gz' 'kdevelop.patch')
+md5sums=('777bd77e4f2dc6a5b5b45a370dcf6da0'
+ 'ab23854b1658adc1da4621cb589ec1be')
build() {
@@ -25,7 +24,11 @@ build() {
export LD_LIBRARY_PATH=/opt/trinity/lib:/opt/trinity/lib/kde3:$LD_LIBRARY_PATH
export PKG_CONFIG_PATH=:/opt/trinity/lib/pkgconfig:/opt/qt/lib/pkgconfig
- trinity_prefix="/opt/trinity"
+ _prefix="/opt/trinity"
+
+ msg "Patching..."
+ # apply second part of Francois Andriot patch
+ patch -p0 -i ${srcdir}/kdevelop.patch
cd $srcdir
msg "Creating out-of-source build directory: ${srcdir}/build"
@@ -33,8 +36,8 @@ build() {
cd build
msg "Starting cmake..."
- cmake ${srcdir}/${_svnmod} \
- -DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
+ cmake ${srcdir}/kdevelop \
+ -DCMAKE_INSTALL_PREFIX=${_prefix} \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DQT_VERSION=3 \
-DWITH_QT3=ON \
diff --git a/arch/3.5.13/trinity-extras/trinity-kdevelop/kdevelop.patch b/arch/3.5.13/trinity-extras/trinity-kdevelop/kdevelop.patch
new file mode 100644
index 000000000..14079908c
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-kdevelop/kdevelop.patch
@@ -0,0 +1,12 @@
+--- kdevelop/kdevdesigner/designer/listeditor.ui.h.ORI 2011-10-30 13:30:56.655489268 +0100
++++ kdevelop/kdevdesigner/designer/listeditor.ui.h 2011-10-30 13:31:00.782489292 +0100
+@@ -30,7 +30,7 @@
+ {
+ QListViewItem *i = new QListViewItem( listview, listview->lastItem() );
+ i->setRenameEnabled( 0, TRUE );
+- tqApp->processEvents();
++ qApp->processEvents();
+ i->startRename( 0 );
+ }
+
+