diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-20 20:20:39 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-20 20:20:39 -0600 |
commit | 3604961da7fb258a7f6fe34a08cd60bf58bcf3cb (patch) | |
tree | bdcffc4947c45a9da868d7a191db4cc7e02ac33f /arch/3.5.13/trinity-apps | |
parent | a9a3e888fa1f8290730fabd0c5aebd1eb6bbb21c (diff) | |
parent | aa67f69e3bd294588f63825b744c31c95ec1a849 (diff) | |
download | tde-packaging-3604961da7fb258a7f6fe34a08cd60bf58bcf3cb.tar.gz tde-packaging-3604961da7fb258a7f6fe34a08cd60bf58bcf3cb.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'arch/3.5.13/trinity-apps')
-rw-r--r-- | arch/3.5.13/trinity-apps/trinity-amarok/PKGBUILD | 59 | ||||
-rw-r--r-- | arch/3.5.13/trinity-apps/trinity-digikam/PKGBUILD | 53 | ||||
-rw-r--r-- | arch/3.5.13/trinity-apps/trinity-dolphin/PKGBUILD | 48 | ||||
-rw-r--r-- | arch/3.5.13/trinity-apps/trinity-fileligt/PKGBUILD | 53 | ||||
-rw-r--r-- | arch/3.5.13/trinity-apps/trinity-gwenview/PKGBUILD | 53 | ||||
-rw-r--r-- | arch/3.5.13/trinity-apps/trinity-k3b/PKGBUILD | 55 | ||||
-rw-r--r-- | arch/3.5.13/trinity-apps/trinity-kbfx/PKGBUILD | 49 | ||||
-rw-r--r-- | arch/3.5.13/trinity-apps/trinity-kbfx/kbfx.patch | 18 | ||||
-rw-r--r-- | arch/3.5.13/trinity-apps/trinity-kdesvn/PKGBUILD | 48 | ||||
-rw-r--r-- | arch/3.5.13/trinity-apps/trinity-kdesvn/kdesvn.patch | 17 | ||||
-rw-r--r-- | arch/3.5.13/trinity-apps/trinity-konversation/PKGBUILD | 49 | ||||
-rw-r--r-- | arch/3.5.13/trinity-apps/trinity-kpowersave/PKGBUILD | 60 | ||||
-rw-r--r-- | arch/3.5.13/trinity-apps/trinity-kpowersave/kpowersave-inactivity.cpp.patch | 11 | ||||
-rw-r--r-- | arch/3.5.13/trinity-apps/trinity-ktorrent/PKGBUILD | 50 |
14 files changed, 623 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-digikam/PKGBUILD b/arch/3.5.13/trinity-apps/trinity-digikam/PKGBUILD new file mode 100644 index 000000000..c0d9cf43e --- /dev/null +++ b/arch/3.5.13/trinity-apps/trinity-digikam/PKGBUILD @@ -0,0 +1,53 @@ +# Maintainer: Calvin Morrison <mutantturkey@gmail.com> + +pkgname=trinity-digikam +pkgver=3513 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://www.trinitydesktop.org' +license=('GPL') +groups=('trinity-apps') +pkgdesc="Trinity Photo Management and Retouching Suite" +depends=('trinity-kdelibs') +makedepends=('pkgconfig' 'autoconf' 'automake') +optdepends=() +provides=($pkgname) +conflicts=() +replaces=() +options=('libtool' '!strip') +source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/digikam-3.5.13.tar.gz) +md5sums=('81cfcd75dc9c067ba6761aa1147c31e7') + +_builddir=applications/digikam +_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 "Patching..." + #patch -N -d ${srcdir} -p0 < digikam.patch + + msg "Starting automake..." + cd "$srcdir/${_builddir}" + 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} \ + --prefix=${_prefix} \ + --enable-closure \ + --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}/${_builddir} + make DESTDIR="${pkgdir}" install +} 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-fileligt/PKGBUILD b/arch/3.5.13/trinity-apps/trinity-fileligt/PKGBUILD new file mode 100644 index 000000000..5cc80720e --- /dev/null +++ b/arch/3.5.13/trinity-apps/trinity-fileligt/PKGBUILD @@ -0,0 +1,53 @@ +# Maintainer: Calvin Morrison <mutantturkey@gmail.com> + +pkgname=trinity-filelight +pkgver=3513 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://www.trinitydesktop.org' +license=('GPL') +groups=('trinity-apps') +pkgdesc="Trinity File system Viewer" +depends=('trinity-kdelibs') +makedepends=('pkgconfig' 'autoconf' 'automake') +optdepends=() +provides=($pkgname) +conflicts=() +replaces=() +options=('libtool' '!strip') +source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/filelight-3.5.13.tar.gz) +md5sums=('b53cb6b46942e56aa247100cdb84d85f') + +_builddir=applications/filelight +_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 "Patching..." + #patch -N -d ${srcdir} -p0 < filelight.patch + + msg "Starting automake..." + cd "$srcdir/${_builddir}" + 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} \ + --prefix=${_prefix} \ + --enable-closure \ + --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}/${_builddir} + make DESTDIR="${pkgdir}" install +} diff --git a/arch/3.5.13/trinity-apps/trinity-gwenview/PKGBUILD b/arch/3.5.13/trinity-apps/trinity-gwenview/PKGBUILD new file mode 100644 index 000000000..88241d6dc --- /dev/null +++ b/arch/3.5.13/trinity-apps/trinity-gwenview/PKGBUILD @@ -0,0 +1,53 @@ +# Maintainer: Calvin Morrison <mutantturkey@gmail.com> + +pkgname=trinity-gwenview +pkgver=3513 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://www.trinitydesktop.org' +license=('GPL') +groups=('trinity-apps') +pkgdesc="Trinity Image Viewer" +depends=('trinity-kdelibs' 'trinity-libkexiv2' 'trinity-libkipi') +makedepends=('pkgconfig' 'autoconf' 'automake') +optdepends=() +provides=($pkgname) +conflicts=() +replaces=() +options=('libtool' '!strip') +source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/gwenview-3.5.13.tar.gz) +md5sums=('3ff9b8c4049dc40f26f89b4be3c21b96') + +_builddir=applications/gwenview +_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 "Patching..." + #patch -N -d ${srcdir} -p0 < gwenview.patch + + msg "Starting automake..." + cd "$srcdir/${_builddir}" + 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} \ + --prefix=${_prefix} \ + --enable-closure \ + --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}/${_builddir} + make DESTDIR="${pkgdir}" install +} diff --git a/arch/3.5.13/trinity-apps/trinity-k3b/PKGBUILD b/arch/3.5.13/trinity-apps/trinity-k3b/PKGBUILD new file mode 100644 index 000000000..02298e96a --- /dev/null +++ b/arch/3.5.13/trinity-apps/trinity-k3b/PKGBUILD @@ -0,0 +1,55 @@ +# Maintainer: Calvin Morrison <mutantturkey@gmail.com> + +pkgname=trinity-k3b +pkgver=3513 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://www.trinitydesktop.org' +license=('GPL') +groups=('trinity-apps') +pkgdesc="Trinity CD and DVD burning" +depends=('trinity-kdelibs' 'hal' 'dbus' 'alsa-lib' 'ffmpeg' 'flac' 'libvorbis' 'libmpcdec' 'lame' 'libmad' 'libsndfile' 'libdvdread' 'cdrdao' 'cdrkit' 'transcode' 'dvd+rw-tools' 'emovix' 'sox' 'normalize') +makedepends=('pkgconfig' 'autoconf' 'automake') +optdepends=() +provides=($pkgname) +conflicts=() +replaces=() +options=('libtool' '!strip') +source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/k3b-3.5.13.tar.gz) +md5sums=('f022338d361632223106ba444fe1e60e') + +_builddir=applications/k3b +_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 "Patching..." + #patch -N -d ${srcdir} -p0 < k3b.patch + + msg "Starting automake..." + cd "$srcdir/${_builddir}" + 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} \ + --prefix=${_prefix} \ + --enable-closure \ + --with-alsa \ + --enable-ffmpeg-all-codecs \ + --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}/${_builddir} + 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; diff --git a/arch/3.5.13/trinity-apps/trinity-ktorrent/PKGBUILD b/arch/3.5.13/trinity-apps/trinity-ktorrent/PKGBUILD new file mode 100644 index 000000000..935fdf677 --- /dev/null +++ b/arch/3.5.13/trinity-apps/trinity-ktorrent/PKGBUILD @@ -0,0 +1,50 @@ +# Maintainer: Calvin Morrison <mutantturkey@gmail.com> + +pkgname=trinity-ktorrent +pkgver=3513 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://www.trinitydesktop.org' +license=('GPL') +groups=('trinity-apps') +pkgdesc="Trinity - pkgdesc" +depends=('trinity-kdelibs') +makedepends=('pkgconfig' 'autoconf' 'automake') +options=('libtool' '!strip') +source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/ktorrent-3.5.13.tar.gz) +md5sums=('3bf211ec2a41f92d935e12ee8753fa06') + +_builddir=applications/ktorrent +_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 "Patching..." + #patch -N -d ${srcdir} -p0 < ktorrent.patch + + msg "Starting automake..." + cd "$srcdir/${_builddir}" + 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} \ + --prefix=${_prefix} \ + --enable-closure \ + --enable-torrent-mimetype \ + --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}/${_builddir} + make DESTDIR="${pkgdir}" install +} |