summaryrefslogtreecommitdiffstats
path: root/arch/3.5.13/trinity-apps
diff options
context:
space:
mode:
Diffstat (limited to 'arch/3.5.13/trinity-apps')
-rw-r--r--arch/3.5.13/trinity-apps/trinity-amarok/PKGBUILD59
-rw-r--r--arch/3.5.13/trinity-apps/trinity-dolphin/PKGBUILD48
-rw-r--r--arch/3.5.13/trinity-apps/trinity-kbfx/PKGBUILD49
-rw-r--r--arch/3.5.13/trinity-apps/trinity-kbfx/kbfx.patch18
-rw-r--r--arch/3.5.13/trinity-apps/trinity-kdesvn/PKGBUILD48
-rw-r--r--arch/3.5.13/trinity-apps/trinity-kdesvn/kdesvn.patch17
-rw-r--r--arch/3.5.13/trinity-apps/trinity-konversation/PKGBUILD49
-rw-r--r--arch/3.5.13/trinity-apps/trinity-kpowersave/PKGBUILD60
-rw-r--r--arch/3.5.13/trinity-apps/trinity-kpowersave/kpowersave-inactivity.cpp.patch11
9 files changed, 359 insertions, 0 deletions
diff --git a/arch/3.5.13/trinity-apps/trinity-amarok/PKGBUILD b/arch/3.5.13/trinity-apps/trinity-amarok/PKGBUILD
new file mode 100644
index 000000000..3774db145
--- /dev/null
+++ b/arch/3.5.13/trinity-apps/trinity-amarok/PKGBUILD
@@ -0,0 +1,59 @@
+# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
+
+pkgname=trinity-amarok
+pkgver=3513
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://www.trinitydesktop.org'
+license=('GPL')
+groups=('trinity-apps')
+pkgdesc="Trinity Amarok music player and manager"
+depends=('trinity-kdebase' 'libifp' 'libmtp' 'libnjb' 'python-daap' 'ruby')
+makedepends=('pkgconfig' 'cmake' 'imake')
+options=('libtool' '!strip')
+source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/amarok-3.5.13.tar.gz)
+md5sums=('7145ebee38f104bef6cfaf56e7f81959')
+
+_svnmod=applications/amarok
+
+build() {
+
+ msg "Setting PATH, CMAKE and Trinity Environment variables"
+ export CMAKE_PREFIX_PATH=/opt/qt:/opt/trinity
+ export CMAKE_INCLUDE_PATH=/opt/qt/include/tqt:/usr/include/dbus-1.0:/opt/trinity/include
+ export LD_LIBRARY_PATH=/opt/trinity/lib:/opt/trinity/lib/kde3:$LD_LIBRARY_PATH
+ export PKG_CONFIG_PATH=:/opt/qt/lib/pkgconfig
+
+ trinity_prefix="/opt/trinity"
+
+ cd $srcdir
+ msg "Creating out-of-source build directory: ${srcdir}/build"
+ mkdir -p build
+ cd build
+
+ # Baho additions
+ CFLAGS=${CFLAGS}" -fpermissive"
+ CXXFLAGS=${CXXFLAGS}" -fpermissive"
+
+ msg "Starting cmake..."
+ cmake ${srcdir}/${_svnmod} \
+ -DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DQT_VERSION=3 \
+ -DWITH_IFP=ON \
+ -DWITH_NJB=ON \
+ -DWITH_MTP=ON \
+ -DWITH_DAAP=ON \
+ -DBUILD_ALL=ON
+ make
+}
+
+package() {
+ msg "Packaging - $pkgname-$pkgver"
+# cd ${srcdir}/${_svnmod}
+ cd ${srcdir}/build
+
+ make DESTDIR="$pkgdir/" install
+
+# rm -r ${srcdir}/${_svnmod}
+}
diff --git a/arch/3.5.13/trinity-apps/trinity-dolphin/PKGBUILD b/arch/3.5.13/trinity-apps/trinity-dolphin/PKGBUILD
new file mode 100644
index 000000000..be30cc009
--- /dev/null
+++ b/arch/3.5.13/trinity-apps/trinity-dolphin/PKGBUILD
@@ -0,0 +1,48 @@
+# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
+# PKGBUILD by Pawel "l0ner" Soltys <sh4dou@gmail.com>
+
+pkgname=trinity-dolphin
+pkgver=3513
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://www.trinitydesktop.org'
+license=('GPL')
+groups=('trinity-apps')
+pkgdesc="Trinity Do3phin file manager"
+depends=('trinity-kdebase')
+makedepends=('pkgconfig' 'cmake' 'imake')
+options=('libtool' '!strip')
+source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/dolphin-3.5.13.tar.gz)
+md5sums=('67040323c527d83978f58c76b47a91f6')
+
+_svnmod=applications/dolphin
+
+build() {
+
+ msg "Setting PATH, CMAKE and Trinity Environment variables"
+ export CMAKE_PREFIX_PATH=/opt/qt:/opt/trinity
+ export CMAKE_INCLUDE_PATH=/opt/qt/include/tqt:/usr/include/dbus-1.0:/opt/trinity/include
+ export LD_LIBRARY_PATH=/opt/trinity/lib:/opt/trinity/lib/kde3:$LD_LIBRARY_PATH
+ export PKG_CONFIG_PATH=:/opt/qt/lib/pkgconfig
+
+ trinity_prefix="/opt/trinity"
+
+ cd $srcdir
+ msg "Creating out-of-source build directory: ${srcdir}/build"
+ mkdir -p build
+ cd build
+
+ msg "Starting cmake..."
+ cmake ${srcdir}/${_svnmod} \
+ -DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DBUILD_ALL=ON
+ make
+}
+
+package() {
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/build
+
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/arch/3.5.13/trinity-apps/trinity-kbfx/PKGBUILD b/arch/3.5.13/trinity-apps/trinity-kbfx/PKGBUILD
new file mode 100644
index 000000000..f4b1623c2
--- /dev/null
+++ b/arch/3.5.13/trinity-apps/trinity-kbfx/PKGBUILD
@@ -0,0 +1,49 @@
+# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
+
+pkgname=trinity-kbfx
+pkgver=3513
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://www.trinitydesktop.org'
+license=('GPL')
+groups=('trinity-apps')
+pkgdesc="Trinity Kbfx KMenu replacement"
+depends=('trinity-kdebase')
+makedepends=('pkgconfig' 'cmake' 'imake')
+options=('libtool' '!strip')
+source=('http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/kbfx-3.5.13.tar.gz' 'kbfx.patch')
+md5sums=('04921c66fe2dc26d6eab7143e5950446'
+ '510638db000827e86f9d542662199064')
+
+_svnmod=applications/kbfx
+
+build() {
+ msg "Setting PATH, CMAKE and Trinity Environment variables"
+ export CMAKE_PREFIX_PATH=/opt/qt:/opt/trinity
+ export CMAKE_INCLUDE_PATH=/opt/qt/include/tqt:/usr/include/dbus-1.0:/opt/trinity/include
+ export LD_LIBRARY_PATH=/opt/trinity/lib:/opt/trinity/lib/kde3:$LD_LIBRARY_PATH
+ export PKG_CONFIG_PATH=:/opt/qt/lib/pkgconfig
+
+ trinity_prefix="/opt/trinity"
+
+ patch -N -d ${srcdir} -p0 < kbfx.patch
+
+ cd $srcdir
+ msg "Creating out-of-source build directory: ${srcdir}/build"
+ mkdir -p build
+ cd build
+
+ msg "Starting cmake..."
+ cmake ${srcdir}/${_svnmod} \
+ -DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DUSE_MENUDRAKE=OFF \
+ -DBUILD_ALL=ON
+ make
+}
+
+package() {
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/build
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/arch/3.5.13/trinity-apps/trinity-kbfx/kbfx.patch b/arch/3.5.13/trinity-apps/trinity-kbfx/kbfx.patch
new file mode 100644
index 000000000..49325c48a
--- /dev/null
+++ b/arch/3.5.13/trinity-apps/trinity-kbfx/kbfx.patch
@@ -0,0 +1,18 @@
+Only in src/applications/kbfx: \
+diff -u -r applications/kbfx/CMakeLists.txt src/applications/kbfx/CMakeLists.txt
+--- applications/kbfx/CMakeLists.txt 2011-08-22 00:24:16.000000000 +0200
++++ src/applications/kbfx/CMakeLists.txt 2011-12-16 13:09:09.000000000 +0100
+@@ -219,10 +219,10 @@
+
+ SET(KBFX_LIB_INSTALL_DIR ${LIB_INSTALL_DIR})
+
+-SET(QT_UIC_EXECUTABLE "/usr/bin/uic-tqt")
+-SET(QT_MOC_EXECUTABLE "/usr/bin/tmoc")
++SET(QT_UIC_EXECUTABLE "/opt/trinity/bin/uic-tqt")
++SET(QT_MOC_EXECUTABLE "/opt/trinity/bin/tmoc")
+
+-SET(CMAKE_CXX_FLAGS "-I/usr/include/tqt -include tqt.h -DTQT_THREAD_SUPPORT")
++SET(CMAKE_CXX_FLAGS "-I/opt/trinity/include/tqt -include tqt.h -DTQT_THREAD_SUPPORT")
+
+ ADD_SUBDIRECTORY(kbfxlib/data)
+ ADD_SUBDIRECTORY(kbfxlib/common)
diff --git a/arch/3.5.13/trinity-apps/trinity-kdesvn/PKGBUILD b/arch/3.5.13/trinity-apps/trinity-kdesvn/PKGBUILD
new file mode 100644
index 000000000..2121d9839
--- /dev/null
+++ b/arch/3.5.13/trinity-apps/trinity-kdesvn/PKGBUILD
@@ -0,0 +1,48 @@
+# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
+
+pkgname=trinity-kdesvn
+pkgver=3513
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://www.trinitydesktop.org'
+license=('GPL')
+groups=('trinity-apps')
+pkgdesc="Trinity SVN frontend gui"
+depends=('trinity-kdebase' 'sqlite3' 'subversion')
+makedepends=('pkgconfig' 'cmake' 'imake')
+options=('libtool' '!strip')
+source=('http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/kdesvn-3.5.13.tar.gz' 'kdesvn.patch')
+md5sums=('f65e86f0d2f7882b4f958f2e89fe0d34'
+ '9def57c42b258c4caf2b5709eb25ba25')
+
+_svnmod=applications/kdesvn
+
+build() {
+ msg "Setting PATH, CMAKE and Trinity Environment variables"
+ export CMAKE_PREFIX_PATH=/opt/qt:/opt/trinity
+ export CMAKE_INCLUDE_PATH=/opt/qt/include/tqt:/usr/include/dbus-1.0:/opt/trinity/include
+ export LD_LIBRARY_PATH=/opt/trinity/lib:/opt/trinity/lib/kde3:$LD_LIBRARY_PATH
+ export PKG_CONFIG_PATH=:/opt/qt/lib/pkgconfig
+
+ trinity_prefix="/opt/trinity"
+
+ patch -N -d ${srcdir} -p0 < kdesvn.patch
+
+ cd $srcdir
+ msg "Creating out-of-source build directory: ${srcdir}/build"
+ mkdir -p build
+ cd build
+
+ msg "Starting cmake..."
+ cmake ${srcdir}/${_svnmod} \
+ -DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DBUILD_ALL=ON
+ make
+}
+
+package() {
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/build
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/arch/3.5.13/trinity-apps/trinity-kdesvn/kdesvn.patch b/arch/3.5.13/trinity-apps/trinity-kdesvn/kdesvn.patch
new file mode 100644
index 000000000..f861bb97b
--- /dev/null
+++ b/arch/3.5.13/trinity-apps/trinity-kdesvn/kdesvn.patch
@@ -0,0 +1,17 @@
+diff -u -r applications/kdesvn/CMakeLists.txt src/applications/kdesvn/CMakeLists.txt
+--- applications/kdesvn/CMakeLists.txt 2011-08-22 00:35:16.000000000 +0200
++++ src/applications/kdesvn/CMakeLists.txt 2011-12-16 14:14:17.000000000 +0100
+@@ -111,8 +111,10 @@
+ DEPENDS doc
+ WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
+
+-SET(QT_UIC_EXECUTABLE "/usr/bin/uic-tqt")
+-SET(QT_MOC_EXECUTABLE "/usr/bin/tmoc")
++SET(QT_UIC_EXECUTABLE "/opt/trinity/bin/uic-tqt")
++SET(QT_MOC_EXECUTABLE "/opt/trinity/bin/tmoc")
++
++SET(CMAKE_CXX_FLAGS "-I/opt/trinity/include/tqt -include tqt.h -DTQT_THREAD_SUPPORT")
+
+ ADD_SUBDIRECTORY(src)
+ ADD_SUBDIRECTORY(po)
+Only in src/applications/kdesvn: .CMakeLists.txt.swp
diff --git a/arch/3.5.13/trinity-apps/trinity-konversation/PKGBUILD b/arch/3.5.13/trinity-apps/trinity-konversation/PKGBUILD
new file mode 100644
index 000000000..5cfbaab1a
--- /dev/null
+++ b/arch/3.5.13/trinity-apps/trinity-konversation/PKGBUILD
@@ -0,0 +1,49 @@
+# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
+
+pkgname=trinity-konversation
+pkgver=3513
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://www.trinitydesktop.org'
+license=('GPL')
+groups=('trinity-apps')
+pkgdesc="Trinity Konversation IRC client"
+depends=('trinity-kdelibs')
+makedepends=('pkgconfig' 'autoconf' 'automake')
+options=('libtool' '!strip')
+source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/konversation-3.5.13.tar.gz)
+md5sums=('0f0e0415dad4c19bc885c9addadf4026')
+
+_builddir=applications/konversation
+_prefix=/opt/trinity
+
+build() {
+ msg "Setting Trinity Environment variables"
+ export LD_LIBRARY_PATH=${_prefix}/lib:${_prefix}/lib/trinity:$LD_LIBRARY_PATH
+ export PKG_CONFIG_PATH=${_prefix}/lib/pkgconfig:${QTDIR}/lib/pkgconfig
+
+ msg "Starting autoconf..."
+ cd "$srcdir/$cmpdir"
+ cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+ cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
+ make -f admin/Makefile.common
+
+ msg "Starting configure..."
+ ./configure \
+ --with-qt-dir=${QTDIR} \
+ --with-qt-inculdes=${QTDIR}/include \
+ --with-qt-libraries=${QTDIR}/lib \
+ --prefix=${_prefix} \
+ --with-extra-includes=${_prefix}/include:/usr/include/dbus-1.0:${_prefix}/include/libkrandr \
+ --with-extra-libs=${_prefix}/lib:${_prefix}/lib/trinity:${_prefix}/pkgconfig
+
+ msg "Building ${pkgname}..."
+ make
+}
+
+package() {
+ msg "Packaging - $pkgname-$pkgver"
+# cd ${srcdir}/build
+ cd ${srcdir}/${_builddir}
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/arch/3.5.13/trinity-apps/trinity-kpowersave/PKGBUILD b/arch/3.5.13/trinity-apps/trinity-kpowersave/PKGBUILD
new file mode 100644
index 000000000..bdcecae9c
--- /dev/null
+++ b/arch/3.5.13/trinity-apps/trinity-kpowersave/PKGBUILD
@@ -0,0 +1,60 @@
+# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
+
+pkgname=trinity-kpowersave
+pkgver=3513
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://www.trinitydesktop.org'
+license=('GPL')
+groups=('trinity-apps')
+pkgdesc="Trinity kpowersave"
+depends=('xscreensaver'
+ 'libxss'
+ 'trinity-kdebase')
+makedepends=('pkgconfig' 'cmake' 'autoconf' 'imake')
+options=('libtool' '!strip')
+source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/kpowersave-3.5.13.tar.gz)
+md5sums=('c887eb282fd035655b370f133ce58664')
+
+_svnmod=applications/kpowersave
+
+build() {
+
+ msg "Setting PATH, CMAKE and Trinity Environment variables"
+ export CMAKE_PREFIX_PATH=/opt/qt:/opt/trinity
+ export CMAKE_INCLUDE_PATH=/opt/qt/include:/opt/qt/include/tqt:/usr/include/dbus-1.0:/opt/trinity/include:/opt/trinity/include/libkrandr
+ 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
+
+ # patch for inactivity.cpp
+ # patch -p0 -i ${srcdir}/kpowersave-app-inactivity.cpp.patch || return 1
+
+ trinity_prefix="/opt/trinity"
+
+ cd $srcdir
+ msg "Creating out-of-source build directory: ${srcdir}/build"
+ mkdir -p build
+ cd build
+
+ msg "Starting cmake..."
+ cmake ${srcdir}/${_svnmod} \
+ -DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DQT_VERSION=3 \
+ -DWITH_QT3=ON \
+ -DQTDIR=/opt/qt \
+ -DQT_DOCDIR=/opt/qt/man \
+ -DQT_LIBRARY_DIRS=/opt/qt/lib \
+ -DBUILD_ALL=ON
+ make
+}
+
+package() {
+ msg "Packaging - $pkgname-$pkgver"
+# cd ${srcdir}/${_svnmod}
+ cd ${srcdir}/build
+
+ make DESTDIR="$pkgdir/" install
+
+# rm -r ${srcdir}/${_svnmod}
+}
diff --git a/arch/3.5.13/trinity-apps/trinity-kpowersave/kpowersave-inactivity.cpp.patch b/arch/3.5.13/trinity-apps/trinity-kpowersave/kpowersave-inactivity.cpp.patch
new file mode 100644
index 000000000..08645af32
--- /dev/null
+++ b/arch/3.5.13/trinity-apps/trinity-kpowersave/kpowersave-inactivity.cpp.patch
@@ -0,0 +1,11 @@
+--- kpowersave/src/inactivity.cpp
++++ kpowersave/src/inactivity.cpp 2011-03-12 18:40:52.000000000 -0600
+@@ -325,7 +325,7 @@
+ blacklisted_running = false;
+ }
+ else {
+- if (pids.contains(QRegExp::QRegExp("[0-9]"))) {
++ if (pids.contains(QRegExp("[0-9]"))) {
+ kdDebug() << "BLACKLISTED IS RUNNING" << endl;
+ blacklisted_running = true;
+ blacklisted_running_last = idleTime;