diff options
21 files changed, 1110 insertions, 0 deletions
diff --git a/arch/3.5.13/trinity-base/trinity-arts/PKGBUILD b/arch/3.5.13/trinity-base/trinity-arts/PKGBUILD new file mode 100644 index 000000000..3edb15cde --- /dev/null +++ b/arch/3.5.13/trinity-base/trinity-arts/PKGBUILD @@ -0,0 +1,80 @@ +# $Id$ +# Maintainer: David C. Rankin <drankinatty@gmail.com> +# +# All modifications and uses of this file are licensed under +# the software for which this file was made for, should the software +# be under an Open Source License, at least version 1.9, defined +# by the Open Source Initiative. In other cases, this file is automatically +# released to the Public Domain. +# + +pkgname=trinity-arts +pkgver=3513 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://www.kde.org' +license=('GPL') +groups=('trinity-base') +pkgdesc="Trinity - arts" +depends=('audiofile' + 'alsa-lib' + 'libmad' + 'libvorbis' + 'trinity-tqtinterface') +makedepends=('pkgconfig' 'cmake' 'autoconf') +provides=('trinity-arts') +conflicts=('trinity-arts') +replaces=('trinity-arts') +options=('libtool' '!strip') +source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/dependencies/arts-3.5.13.tar.gz) +md5sums=('109124dabb1aaa9d44eb32e43b549142') + +# set Qt location (not needed if profile.d/q3.sh present, set prefix (not used) +_qtdir=/opt/qt +_prefix=${_qtdir} + +build() { + + + msg "Setting PATH, CMAKE and Trinity Environment variables" + if [[ -r /etc/profile.d/qt3.sh ]]; then + . /etc/profile.d/qt3.sh + [[ -n $QTDIR ]] && _qtdir=$QTDIR + else + [[ ${PATH%%:*} =~ ${_qtdir}/bin ]] || export PATH=${_qtdir}/bin:$PATH + fi + + # exports not required with /opt/qt/include in the right place + # export CMAKE_PREFIX_PATH=$QTDIR + # export CMAKE_INCLUDE_PATH=/opt/qt/include:/opt/qt/include/tqt + + 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}/dependencies/arts/ \ + -DCMAKE_INSTALL_PREFIX=${trinity_prefix} \ + -DQT_VERSION=3 || return 1 + +# -DQT_VERSION=3 \ +# -DWITH_QT3=ON \ +# -DQT_LIBRARY_DIRS=/opt/qt/lib + + make VERBOSE=1 + +} + +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-base/trinity-dbus-1-qt3/PKGBUILD b/arch/3.5.13/trinity-base/trinity-dbus-1-qt3/PKGBUILD new file mode 100644 index 000000000..12824d782 --- /dev/null +++ b/arch/3.5.13/trinity-base/trinity-dbus-1-qt3/PKGBUILD @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: David C. Rankin <drankinatty@gmail.com> + +pkgname=trinity-dbus-1-qt3 +pkgver=0.9 +pkgrel=8 +arch=('i686' 'x86_64') +pkgdesc="DBUS/Qt3 bindings." +url="http://www.freedesktop.org/wiki/Software/DBusBindings" +license=('GPL') +groups=('trinity-base') +pkgdesc="Trinity - dbus-1-qt3" +depends=('dbus' 'trinity-qt3' 'networkmanager') +provides=('trinity-dbus-1-qt3' 'dbus-1-qt3') +conflicts=('dbus-1-qt3') +replaces=('dbus-1-qt3') +options=('libtool' '!strip') +source=(http://people.freedesktop.org/~krake/dbus-1-qt3/${pkgname#*trinity-}-${pkgver}.tar.gz) +md5sums=('8ca3d13c372126aa9b0e16beb0a9d82d') + +build() { + cd $srcdir/${pkgname#*trinity-}-$pkgver + + . /etc/profile.d/qt3.sh + ./configure --prefix=$QTDIR + make || return 1 + make DESTDIR="$pkgdir/" install + + # Libtool slay +# find $startdir/pkg -name *.la -exec rm {} \; +} diff --git a/arch/3.5.13/trinity-base/trinity-dbus-tqt-1/PKGBUILD b/arch/3.5.13/trinity-base/trinity-dbus-tqt-1/PKGBUILD new file mode 100644 index 000000000..3a6163729 --- /dev/null +++ b/arch/3.5.13/trinity-base/trinity-dbus-tqt-1/PKGBUILD @@ -0,0 +1,61 @@ +pkgname=trinity-dbus-tqt-1 +pkgver=3513 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://www.trinitydesktop.org' +license=('GPL') +groups=('trinity-base') +pkgdesc="Trinity - kdebase" +depends=('trinity-tqtinterface') +makedepends=('pkgconfig' 'cmake') +options=('libtool' '!strip') +source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/dependencies/dbus-1-tqt-3.5.13.tar.gz) +md5sums=('a7ba1071f4bf7b5930f805b4036f8a97') +_svnmod=dependencies/dbus-1-tqt + +_qtdir=/opt/qt +_prefix="/opt/trinity" + + +build() { + + msg "Setting PATH, CMAKE and Trinity Environment variables" + if [[ -r /etc/profile.d/qt3.sh ]]; then + . /etc/profile.d/qt3.sh + [[ -n $QTDIR ]] && _qtdir=$QTDIR + else + [[ ${PATH%%:*} =~ ${_qtdir}/bin ]] || export PATH=${_qtdir}/bin:$PATH + fi + export CMAKE_PREFIX_PATH=/opt/qt:/opt/trinity + export CMAKE_INCLUDE_PATH=/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 + + + 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=${_prefix} \ + -DCMAKE_VERBOSE_MAKEFILE=ON + make +# -DWITH_QT3=ON \ +# -DQTDIR=/opt/qt \ +# -DQT_LIBRARY_DIRS=/opt/qt/lib \ +} + +package() { + msg "Packaging - $pkgname-$pkgver" +# cd ${srcdir}/${_svnmod} + cd ${srcdir}/build + + make DESTDIR="$pkgdir/" install + + cd ${startdir} +} diff --git a/arch/3.5.13/trinity-base/trinity-dbus-tqt/PKGBUILD b/arch/3.5.13/trinity-base/trinity-dbus-tqt/PKGBUILD new file mode 100644 index 000000000..3ff9e07a7 --- /dev/null +++ b/arch/3.5.13/trinity-base/trinity-dbus-tqt/PKGBUILD @@ -0,0 +1,65 @@ +pkgname=trinity-dbus-tqt +pkgver=3513 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://www.trinitydesktop.org' +license=('GPL') +groups=('trinity') +pkgdesc="Trinity - kdebase" +depends=('trinity-tqtinterface') +makedepends=('pkgconfig' 'cmake') +provides=('trinity-dbus-tqt') +conflicts=('trinity-dbus-tqt') +replaces=('trinity-dbus-tqt') +options=('libtool' '!strip') +source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/dependencies/dbus-tqt-3.5.13.tar.gz) +md5sums=('46ae165c068271485c827f6fc6687a9a') + + +_svnmod=dependencies/dbus-tqt +_qtdir=/opt/qt +_prefix="/opt/trinity" + + +build() { + + msg "Setting PATH, CMAKE and Trinity Environment variables" + if [[ -r /etc/profile.d/qt3.sh ]]; then + . /etc/profile.d/qt3.sh + [[ -n $QTDIR ]] && _qtdir=$QTDIR + else + [[ ${PATH%%:*} =~ ${_qtdir}/bin ]] || export PATH=${_qtdir}/bin:$PATH + fi + export CMAKE_PREFIX_PATH=/opt/qt:/opt/trinity + export CMAKE_INCLUDE_PATH=/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 + + + 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=${_prefix} \ + -DCMAKE_VERBOSE_MAKEFILE=ON + make +# -DWITH_QT3=ON \ +# -DQTDIR=/opt/qt \ +# -DQT_LIBRARY_DIRS=/opt/qt/lib \ +} + +package() { + msg "Packaging - $pkgname-$pkgver" +# cd ${srcdir}/${_svnmod} + cd ${srcdir}/build + + make DESTDIR="$pkgdir/" install + + cd ${startdir} +} diff --git a/arch/3.5.13/trinity-base/trinity-kdebase/PKGBUILD b/arch/3.5.13/trinity-base/trinity-kdebase/PKGBUILD new file mode 100644 index 000000000..e43079bdd --- /dev/null +++ b/arch/3.5.13/trinity-base/trinity-kdebase/PKGBUILD @@ -0,0 +1,131 @@ +# $Id$ +# Maintainer: David C. Rankin <drankinatty@gmail.com> +# +# All modifications and uses of this file are licensed under +# the software for which this file was made for, should the software +# be under an Open Source License, at least version 1.9, defined +# by the Open Source Initiative. In other cases, this file is automatically +# released to the Public Domain. +# + +pkgname=trinity-kdebase +pkgver=3513 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://www.trinitydesktop.org' +license=('GPL') +groups=('trinity-base') +pkgdesc="Trinity - kdebase" +depends=('hal' 'trinity-dbus-1-qt3' 'trinity-arts' 'trinity-qt3' 'trinity-pyqt3' 'trinity-dbus-tqt-1' 'trinity-dbus-tqt' 'trinity-kdelibs') +makedepends=('pkgconfig' 'cmake' 'autoconf' 'imake' 'xorg-bdftopcf') +optdepends=('desktop-file-utils: Command line utilities for working with desktop entries' + 'pciutils: PCI bus configuration space access library and tools' + 'xscreensaver: Screen saver and locker for the X Window System') +options=('libtool' '!strip') +source=('http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/kdebase-3.5.13.tar.gz' 'dbusfix.diff') +md5sums=('d1f7e1f94eeb46b981fe1ba144179840' + 'c9ce810c281002440a6de8cfd8735d07') + +_qtdir=/opt/qt +_prefix="/opt/trinity" + +_tdesktop() { + # create/install desktop + install -d -m755 ${pkgdir}/etc/X11/sessions + echo '[Desktop Entry]' > ${pkgdir}/etc/X11/sessions/trinity.desktop + echo 'Encoding=UTF-8' >> ${pkgdir}/etc/X11/sessions/trinity.desktop + echo 'Type=XSession' >> ${pkgdir}/etc/X11/sessions/trinity.desktop + echo "Exec=${_prefix}/bin/startkde" >> ${pkgdir}/etc/X11/sessions/trinity.desktop + echo "TryExec=${_prefix}/bin/startkde" >> ${pkgdir}/etc/X11/sessions/trinity.desktop + echo 'Name=Trinity' >> ${pkgdir}/etc/X11/sessions/trinity.desktop + echo 'Comment=The Trinity Desktop Environment. A powerful Open Source graphical desktop environment' >> ${pkgdir}/etc/X11/sessions/trinity.desktop + chmod 0755 ${pkgdir}/etc/X11/sessions/trinity.desktop +} + +build() { + + msg "Setting PATH, CMAKE and Trinity Environment variables" + if [[ -r /etc/profile.d/qt3.sh ]]; then + . /etc/profile.d/qt3.sh + [[ -n $QTDIR ]] && _qtdir=$QTDIR + else + [[ ${PATH%%:*} =~ ${_qtdir}/bin ]] || export PATH=${_qtdir}/bin:$PATH + fi + export CMAKE_PREFIX_PATH=/opt/qt:/opt/trinity + export CMAKE_INCLUDE_PATH=/opt/trinity/include/dbus-1-tqt/:/opt/trinity/include/dbus-1.0/:/opt/trinity/include:/opt/trinity/include/libkrandr + export LD_LIBRARY_PATH=/opt/trinity/lib:/opt/trinity/lib/kde3:/opt/qt/lib:$LD_LIBRARY_PATH + export PKG_CONFIG_PATH=/opt/trinity/lib/pkgconfig:/opt/qt/lib/pkgconfig:$PKG_CONFIG_PATH + echo $PKG_CONFIG_PATH + + patch -N ${srcdir}/kdebase/kioslave/media/mediamanager/halbackend.h < ${srcdir}/dbusfix.diff + cd $srcdir + + msg "Creating out-of-source build directory: ${srcdir}/build" + mkdir -p build + cd build + + msg "Starting cmake..." + cmake ${srcdir}/kdebase --debug-output \ + -DCMAKE_INSTALL_PREFIX=${_prefix} \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DQT_VERSION=3 \ + -DSYSCONF_INSTALL_DIR=/etc \ + -DWITH_XFIXES=ON \ + -DWITH_HAL=ON \ + -DWITH_ARTS=ON \ + -DWITH_SASL=ON \ + -DWITH_OPENEXR=ON \ + -DWITH_XCOMPOSITE=ON \ + -DWITH_XCURSOR=ON \ + -DWITH_XRANDR=ON \ + -DWITH_XRENDER=ON \ + -DWITH_XDAMAGE=ON \ + -DWITH_SHADOW=ON \ + -DWITH_XDMCP=ON \ + -DWITH_XINERAMA=ON \ + -DWITH_XEXT=ON \ + -DWITH_PAM=ON \ + -DBUILD_ALL=ON \ + -DCMAKE_INCLUDE_DIR=/opt/trinity/include/dbus-1.0:/opt/qt/include/tqt:/opt/trinity/include/dbus-1.0 + make +# -DWITH_QT3=ON \ +# -DQTDIR=/opt/qt \ +# -DQT_LIBRARY_DIRS=/opt/qt/lib \ +} + +package() { + msg "Packaging - $pkgname-$pkgver" +# cd ${srcdir}/${_svnmod} + cd ${srcdir}/build + + make DESTDIR="$pkgdir/" install + + cd ${startdir} + + # install desktop and update kdmrc and Xsession +# [[ -f trinity.desktop ]] && { +# install -d -m755 ${pkgdir}/etc/X11/sessions +# install -m644 trinity.desktop ${pkgdir}/etc/X11/sessions +# } + _tdesktop + [[ -f ${pkgdir}/etc/X11/sessions/trinity.desktop ]] || msg "ERROR - Install Failure: ${pkgdir}/etc/X11/sessions/trinity.desktop" + + # set kdm directory + _kdmdir=${_prefix}/share/config/kdm + [[ -d ${pkgdir}/${_kdmdir} ]] || install -d -m755 ${pkgdir}/${_kdmdir} + + # install kdmrc + [[ -f kdmrc ]] && install -m644 kdmrc ${pkgdir}/${_kdmdir} + + # update the Xsession file + [[ -f Xsession ]] && install -m755 Xsession ${pkgdir}/${_kdmdir} + + # create the starttrinity link + [[ -d ${pkgdir}/usr/bin ]] || mkdir -p ${pkgdir}/usr/bin + cd ${pkgdir}/usr/bin + ln -sf /opt/trinity/bin/startkde starttrinity + + cd ${startdir} + +# rm -r ${srcdir}/${_svnmod} +} diff --git a/arch/3.5.13/trinity-base/trinity-kdebase/dbusfix.diff b/arch/3.5.13/trinity-base/trinity-kdebase/dbusfix.diff new file mode 100644 index 000000000..8e37b4148 --- /dev/null +++ b/arch/3.5.13/trinity-base/trinity-kdebase/dbusfix.diff @@ -0,0 +1,11 @@ +--- halbackend.h 2010-08-12 18:37:24.000000000 -0400 ++++ halbackend.h~ 2011-11-03 22:15:02.002228291 -0400 +@@ -40,7 +40,7 @@ + /* We acknowledge the the dbus API is unstable */ + #define DBUS_API_SUBJECT_TO_CHANGE + /* DBus-Qt bindings */ +-#include <dbus/connection.h> ++#include "/opt/trinity/include/dbus-1.0/dbus/connection.h" + /* HAL libraries */ + #include <libhal.h> + #include <libhal-storage.h> diff --git a/arch/3.5.13/trinity-base/trinity-kdebase/trinity.desktop b/arch/3.5.13/trinity-base/trinity-kdebase/trinity.desktop new file mode 100644 index 000000000..30c209f5d --- /dev/null +++ b/arch/3.5.13/trinity-base/trinity-kdebase/trinity.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=XSession +Exec=/opt/trinity/bin/startkde +TryExec=/opt/trinity/bin/startkde +Name=Trinity +Comment=The Trinity Desktop Environment. A powerful Open Source graphical desktop environment + diff --git a/arch/3.5.13/trinity-base/trinity-kdelibs/PKGBUILD b/arch/3.5.13/trinity-base/trinity-kdelibs/PKGBUILD new file mode 100644 index 000000000..4d6e59068 --- /dev/null +++ b/arch/3.5.13/trinity-base/trinity-kdelibs/PKGBUILD @@ -0,0 +1,81 @@ +# $Id$ +# Maintainer: David C. Rankin <drankinatty@gmail.com> +# +# All modifications and uses of this file are licensed under +# the software for which this file was made for, should the software +# be under an Open Source License, at least version 1.9, defined +# by the Open Source Initiative. In other cases, this file is automatically +# released to the Public Domain. +# + +pkgname=trinity-kdelibs +pkgver=3513 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://www.kde.org' +license=('GPL') +groups=('trinity-base') +pkgdesc="Trinity - kdelibs" +depends=('libical' + 'libxslt' + 'avahi' + 'pam-krb5' + 'taglib' + 'trinity-arts') +makedepends=('pkgconfig' 'cmake' 'autoconf' ) +provides=('trinity-kdelibs' 'kdelibs3') +conflicts=('trinity-kdelibs' 'kdelibs3') +replaces=('trinity-kdelibs') +options=('libtool' '!strip' '!makeflags') +source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/kdelibs-3.5.13.tar.gz) +md5sums=('f62eefb63b4ba2141b4c576f859806dd') + + +qtdir=/opt/qt +trinity_prefix="/opt/trinity" + +build() { + + msg "Setting PATH, CMAKE and Trinity Environment variables" + if [[ -r /etc/profile.d/qt3.sh ]]; then + . /etc/profile.d/qt3.sh + [[ -n $QTDIR ]] && _qtdir=$QTDIR + else + [[ ${PATH%%:*} =~ ${_qtdir}/bin ]] || export PATH=${_qtdir}/bin:$PATH + fi + export CMAKE_PREFIX_PATH=/opt/qt:/opt/trinity + export CMAKE_INCLUDE_PATH=/opt/qt/include/tqt:/usr/include/dbus-1.0:/opt/trinity/bin + export LD_LIBRARY_PATH=/opt/trinity/lib:/opt/qt/lib:/opt/trinity/lib/kde3:$LD_LIBRARY_PATH + + cd $srcdir + msg "Creating out-of-source build directory: ${srcdir}/build" + mkdir -p build + cd build + + msg "Starting cmake..." + cmake ${srcdir}/kdelibs \ + -DCMAKE_INSTALL_PREFIX=${trinity_prefix} \ + -DCMAKE_VERBOSE_MAKEFILE=OFF \ + -DQT_VERSION=3 \ + -DWITH_QT3=ON \ + -DQTDIR=/opt/qt \ + -DQT_LIBRARY_DIRS=/opt/qt/lib \ + -DWITH_PAM=ON \ + -DBUILD_ALL=ON + make +} + +package() { + msg "Packaging - $pkgname-$pkgver" + cd ${srcdir}/build + + make DESTDIR="$pkgdir/" install + + install -d -m755 ${pkgdir}/etc/ld.so.conf.d/ + echo "${trinity_prefix}/lib" > ${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf + + install -d -m755 ${pkgdir}/etc/profile.d/ + install -m644 ${startdir}/trinity.sh ${pkgdir}/etc/profile.d/ + +# rm -r ${srcdir}/${_svnmod} +} diff --git a/arch/3.5.13/trinity-base/trinity-kdelibs/trinity-kdelibs.install b/arch/3.5.13/trinity-base/trinity-kdelibs/trinity-kdelibs.install new file mode 100644 index 000000000..e2db661ac --- /dev/null +++ b/arch/3.5.13/trinity-base/trinity-kdelibs/trinity-kdelibs.install @@ -0,0 +1,11 @@ +post_install() { + ldconfig &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/arch/3.5.13/trinity-base/trinity-kdelibs/trinity.sh b/arch/3.5.13/trinity-base/trinity-kdelibs/trinity.sh new file mode 100644 index 000000000..cd28e88c4 --- /dev/null +++ b/arch/3.5.13/trinity-base/trinity-kdelibs/trinity.sh @@ -0,0 +1,14 @@ +export KDEDIR=/opt/trinity +export KDEDIRS=$KDEDIR:/usr +export PATH=$KDEDIR/bin:$PATH +export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$KDEDIR/lib/pkgconfig +if [ ! -z $XDG_DATA_DIRS ]; then + export XDG_DATA_DIRS=$XDG_DATA_DIRS:$KDEDIR/share +else + export XDG_DATA_DIRS=$KDEDIR/share +fi +if [ ! -z $XDG_CONFIG_DIRS ]; then + export XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS:$KDEDIR/etc/xdg +else + export XDG_CONFIG_DIRS=$KDEDIR/etc/xdg +fi diff --git a/arch/3.5.13/trinity-base/trinity-pyqt3/PKGBUILD b/arch/3.5.13/trinity-base/trinity-pyqt3/PKGBUILD new file mode 100644 index 000000000..88db1ddf7 --- /dev/null +++ b/arch/3.5.13/trinity-base/trinity-pyqt3/PKGBUILD @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: David C. Rankin <drankinatty@gmail.com> +# +# All modifications and uses of this file are licensed under +# the software for which this file was made for, should the software +# be under an Open Source License, at least version 1.9, defined +# by the Open Source Initiative. In other cases, this file is automatically +# released to the Public Domain. +# + +pkgname=trinity-pyqt3 +pkgver=3.18.1 +pkgrel=1 +pkgdesc="A set of Python bindings for the Qt3 toolkit" +arch=('i686' 'x86_64') +url="http://www.riverbankcomputing.com/software/pyqt/intro" +groups=('trinity-base') +depends=('python2-sip' 'qscintilla-qt3' 'trinity-qt3') +license=('GPL') +provides=('trinity-pyqt3' 'pyqt3') +conflicts=('pyqt3') +replaces=('trinity-pyqt3') +source=("http://www.riverbankcomputing.com/static/Downloads/PyQt3/PyQt-x11-gpl-${pkgver}.tar.gz") +md5sums=('f1d120495d1aaf393819e988c0a7bb7e') + +build() { + cd ${srcdir}/PyQt-x11-gpl-${pkgver} + + . /etc/profile.d/qt3.sh + + export QMAKESPEC="/opt/qt/mkspecs/default" + + echo yes | python2.7 configure.py -q /opt/qt/ + + make +} + +package() { + cd ${srcdir}/PyQt-x11-gpl-${pkgver} + make DESTDIR=${pkgdir} install +} diff --git a/arch/3.5.13/trinity-base/trinity-qt3/PKGBUILD b/arch/3.5.13/trinity-base/trinity-qt3/PKGBUILD new file mode 100644 index 000000000..cd9385df2 --- /dev/null +++ b/arch/3.5.13/trinity-base/trinity-qt3/PKGBUILD @@ -0,0 +1,65 @@ +# Maintainer: Calvin Morrison <MutantTurkey@gmail.com> +pkgname=trinity-qt3 +pkgver=3884 +pkgrel=1 +pkgdesc="The Qt3 gui toolkit - with Trinity upstream" +_prefix="/opt/qt" +arch=('i686' 'x86_64') +license=('GPL') +url="http://trinitydesktop.org" +# install=qt.install +groups=('trinity-base') +depends=('libjpeg-turbo' 'libmng' 'libmysqlclient' 'libpng' 'libxmu' 'libxcursor' 'libxinerama' 'libxft' 'libxrandr' 'mesa' 'postgresql-libs' 'unixodbc') +makedepends=('cups' 'libxi' 'mysql' 'postgresql' 'unixodbc' 'sqlite3') +optdepends=() +# optdepends=('libmysqlclient' 'postgresql-libs' 'unixodbc') +provides=('trinity-qt3' 'qt3') +conflicts=('qt3' 'qt3-enhanced') +replaces=('trinity-qt3') +_prefix="opt/qt" +source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/dependencies/qt3-3.3.8.d.tar.gz) +md5sums=('78dc675e84aed595375449818cbb589a') +options=(!libtool) + +build() { + export QTDIR="${srcdir}/qt3/" + export PATH=${QTDIR}/bin:${PATH} + export LD_LIBRARY_PATH=${QTDIR}/lib:${LD_LIBRARY_PATH} + export QMAKESPEC=$QTDIR/mkspecs/linux-g++ + + if [ "$CARCH" = "x86_64" ]; then + export ARCH="-64" + else unset ARCH +fi + + cd "${srcdir}/qt3" + + rm -rf mkspecs/{*aix*,*bsd*,cygwin*,dgux*,darwin*,hpux*,hurd*,irix*,lynxos*,macx*,qnx*,reliant*,sco*,solaris*,tru64*,unixware*,win32*} + + msg "Starting configure..." + #make -C qmake || return 1 + ./configure -prefix ${_prefix} \ + -fast \ + -sysconfdir /etc/qt \ + -thread \ + -shared \ + -system-zlib \ + -platform linux-g++$ARCH \ + -system-lib{png,jpeg,mng} + make + +} + +package() { + cd "$srcdir/qt3" + + # Build and install qt.profile + echo "export QTDIR=/${_prefix}" > ${srcdir}/qt.profile + echo "export QT_XFT=true" >> ${srcdir}/qt.profile + echo 'export PATH=$PATH:$QTDIR/bin' >> ${srcdir}/qt.profile + echo 'export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$QTDIR/pkgconfig' >> ${srcdir}/qt.profile + install -D -m755 ${srcdir}/qt.profile ${pkgdir}/etc/profile.d/qt3.sh + + make INSTALL_ROOT="$pkgdir/" install + +} diff --git a/arch/3.5.13/trinity-base/trinity-tqtinterface/PKGBUILD b/arch/3.5.13/trinity-base/trinity-tqtinterface/PKGBUILD new file mode 100644 index 000000000..966bdf992 --- /dev/null +++ b/arch/3.5.13/trinity-base/trinity-tqtinterface/PKGBUILD @@ -0,0 +1,79 @@ +# $Id$ +# Maintainer: David C. Rankin <drankinatty@gmail.com> +# +# All modifications and uses of this file are licensed under +# the software for which this file was made for, should the software +# be under an Open Source License, at least version 1.9, defined +# by the Open Source Initiative. In other cases, this file is automatically +# released to the Public Domain. +# + +pkgname=trinity-tqtinterface +pkgver=3513 +pkgrel=1 +arch=('i686' 'x86_64') +url="http://trinity.pearsoncomputing.net" +license=('GPL2') +groups=('trinity-base') +pkgdesc="Trinity - tqtinterface" +depends=('python2-sip' + 'trinity-qt3' + 'trinity-pyqt3') +makedepends=( + 'pkgconfig' + 'cmake' + 'autoconf' + 'libxi' + 'libxft' + 'libxrandr' + 'libxcursor' + 'libxinerama' + 'mesa') +provides=('trinity-tqtinterface') +conflicts=('trinity-tqtinterface') +replaces=('trinity-tqtinterface') +source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/dependencies/tqtinterface-3.5.13.tar.gz) +md5sums=('d54cc9fd0b35555298efd17c32471a2b') + +_qtdir=/opt/qt +_prefix=/opt/trinity + +build() { + + msg "Setting PATH, CMAKE and Trinity Environment variables" + if [[ -r /etc/profile.d/qt3.sh ]]; then + . /etc/profile.d/qt3.sh + else + [[ ${PATH%%:*} =~ ${_qtdir}/bin ]] || export PATH=${_qtdir}/bin:$PATH + fi + + echo $PATH + cd $srcdir + msg "Creating out-of-source build directory: ${srcdir}/build" + mkdir -p build + cd build + + msg "Starting cmake..." + cmake "../dependencies/tqtinterface" -DCMAKE_INSTALL_PREFIX=${_prefix} -DQT_PREFIX_DIR=/opt/qt/ -DQT_LIBRARY_DIRS=/opt/qt/lib -DQT_INCLUDE_DIR=/opt/qt/include -DQT_VERSION=3 -DMOC_EXECUTABLE=${_qtdir}/bin/moc || return 1 +# -DQT_INCLUDE_DIR=${_prefix}/include/tqt/Qt +# -DWITH_QT3=ON \ +# -DQT_LIBRARY_DIRS=/opt/qt/lib \ +# -DCMAKE_SKIP_RPATH=ON || return 1 + make +} + +package() { + + msg "Packaging - $pkgname-$pkgver" + +# cd ${_svnmod} + cd ${srcdir}/build + make DESTDIR="$pkgdir/" install + + # include uic-tqt in package +# cd ${srcdir} +# mkdir -p ${pkgdir}/usr/bin +# cp -Rp ${srcdir}/${_svnmod}/qtinterface/uic-tqt ${pkgdir}/usr/bin + +# rm -r ${srcdir}/${_svnmod} +} diff --git a/arch/3.5.13/trinity-extras/trinity-amarok/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-amarok/PKGBUILD new file mode 100644 index 000000000..402414894 --- /dev/null +++ b/arch/3.5.13/trinity-extras/trinity-amarok/PKGBUILD @@ -0,0 +1,67 @@ +# $Id$ +# Maintainer: David C. Rankin <drankinatty@gmail.com> +# +# All modifications and uses of this file are licensed under +# the software for which this file was made for, should the software +# be under an Open Source License, at least version 1.9, defined +# by the Open Source Initiative. In other cases, this file is automatically +# released to the Public Domain. +# + +pkgname=trinity-amarok +pkgver=3513 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://www.trinitydesktop.org' +license=('GPL') +groups=('trinity-extras') +pkgdesc="Trinity - Amarok music player " +depends=('trinity-kdebase' 'libifp' 'libmtp' 'libnjb' 'python-daap') +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-extras/trinity-gtk-qt-engine/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-gtk-qt-engine/PKGBUILD new file mode 100644 index 000000000..e68ddf895 --- /dev/null +++ b/arch/3.5.13/trinity-extras/trinity-gtk-qt-engine/PKGBUILD @@ -0,0 +1,63 @@ +# $Id$ +# Maintainer: David C. Rankin <drankinatty@gmail.com> +# +# All modifications and uses of this file are licensed under +# the software for which this file was made for, should the software +# be under an Open Source License, at least version 1.9, defined +# by the Open Source Initiative. In other cases, this file is automatically +# released to the Public Domain. +# + +pkgname=trinity-gtk-qt-engine +pkgver=3513 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://www.kde.org' +license=('GPL') +groups=('trinity-extras') +pkgdesc="Trinity - Qt wrapper for GTK, makes gtk2 apps look pretty under TDE" +depends=('trinity-kdebase') +makedepends=('pkgconfig' 'cmake' 'imake') +options=('libtool' '!strip') +source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/gtk-qt-engine-3.5.13.tar.gz) +md5sums=('96da675949ef8743d4fe91531f734030') + +_svnmod=applications/gtk-qt-engine + +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 + + 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-extras/trinity-kdegraphics/GSmartPointer.h.patch b/arch/3.5.13/trinity-extras/trinity-kdegraphics/GSmartPointer.h.patch new file mode 100644 index 000000000..4634f8ca0 --- /dev/null +++ b/arch/3.5.13/trinity-extras/trinity-kdegraphics/GSmartPointer.h.patch @@ -0,0 +1,10 @@ +--- kdegraphics/kviewshell/plugins/djvu/libdjvu/GSmartPointer.h ++++ kdegraphics/kviewshell/plugins/djvu/libdjvu/GSmartPointer.h 2011-05-08 11:47:20.000000000 -0500 +@@ -56,6 +56,7 @@ + + #ifndef _GSMARTPOINTER_H_ + #define _GSMARTPOINTER_H_ ++#include <cstddef> + #ifdef HAVE_CONFIG_H + #include "config.h" + #endif diff --git a/arch/3.5.13/trinity-extras/trinity-kdegraphics/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdegraphics/PKGBUILD new file mode 100644 index 000000000..a6a365c64 --- /dev/null +++ b/arch/3.5.13/trinity-extras/trinity-kdegraphics/PKGBUILD @@ -0,0 +1,89 @@ +# $Id$ +# Maintainer: David C. Rankin <drankinatty@gmail.com> +# +# All modifications and uses of this file are licensed under +# the software for which this file was made for, should the software +# be under an Open Source License, at least version 1.9, defined +# by the Open Source Initiative. In other cases, this file is automatically +# released to the Public Domain. +# + +pkgname=trinity-kdegraphics +pkgver=3513 +pkgrel=1.0 +arch=('i686' 'x86_64') +url='http://www.kde.org' +license=('GPL') +groups=('trinity-extras') +pkgdesc="Trinity - kdegraphics" +depends=('trinity-kdebase' 'libart-lgpl' 'libgphoto2' 'libtiff' 'openexr' 't1lib') +makedepends=('pkgconfig' 'cmake' 'imake' 'fribidi') +# 'poppler-qt' +optdepends=('xscreensaver: Screen saver and locker for the X Window System') +provides=('trinity-kdegraphics') +conflicts=('trinity-kdegraphics') +replaces=('trinity-kdegraphics') +options=('libtool' '!strip') +source=('GSmartPointer.h.patch' 'http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/kdegraphics-3.5.13.tar.gz') +md5sums=('7b93c9bdf1208df453c9838519fab109' 'a75c254cd1060343cd04c6744bce6798') + +_svnmod=kdegraphics +trinity_prefix="/opt/trinity" + +build() { + + # patch for gcc-4.6 + if grep -q cstddef ${srcdir}/kdegraphics/kviewshell/plugins/djvu/libdjvu/GSmartPointer.h; then + msg "Patch for GCC 4.6 - Previously Applied" + else + msg "Applying Patch for GCC 4.6" + patch -p0 -i ${srcdir}/GSmartPointer.h.patch || return 1 + fi + + msg "Setting PATH, CMAKE and Trinity Environment variables" + export CMAKE_PREFIX_PATH=/opt/qt:/opt/trinity + if [[ -r /etc/profile.d/qt3.sh ]]; then + . /etc/profile.d/qt3.sh + [[ -n $QTDIR ]] && _qtdir=$QTDIR + else + [[ ${PATH%%:*} =~ ${_qtdir}/bin ]] || export PATH=${_qtdir}/bin:$PATH + fi + + export CMAKE_INCLUDE_PATH=/opt/qt/include:/opt/qt/include/tqt:/usr/include/dbus-1.0:/opt/trinity/include:/opt/trinity/include/libkrandr:/usr/include + 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 + + 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 \ + -DCMAKE_CXX_FLAGS="-fpermissive" \ + -DWITH_T1LIB=ON \ + -DWITH_LIBPAPER=ON \ + -DWITH_TIFF=ON \ + -DWITH_OPENEXR=ON \ + -DWITH_PAM=ON \ + -DBUILD_ALL=ON + make + +# -DWITH_PDF=ON \ (waiting on poppler-qt3) + +# -DWITH_QT3=ON \ +# -DQTDIR=/opt/qt \ +# -DQT_LIBRARY_DIRS=/opt/qt/lib \ +} + +package() { + msg "Packaging - $pkgname-$pkgver" + cd ${srcdir}/build + + make DESTDIR="$pkgdir/" install + + cd ${startdir} +} diff --git a/arch/3.5.13/trinity-extras/trinity-kdevelop/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdevelop/PKGBUILD new file mode 100644 index 000000000..2b04cd679 --- /dev/null +++ b/arch/3.5.13/trinity-extras/trinity-kdevelop/PKGBUILD @@ -0,0 +1,60 @@ +# $Id$ +# Maintainer: David C. Rankin <drankinatty@gmail.com> +# +# All modifications and uses of this file are licensed under +# the software for which this file was made for, should the software +# be under an Open Source License, at least version 1.9, defined +# by the Open Source Initiative. In other cases, this file is automatically +# released to the Public Domain. +# + +pkgname=trinity-kdevelop +pkgver=12345 +pkgrel=1.0 +arch=('i686' 'x86_64') +url='http://www.kde.org' +license=('GPL') +groups=('trinity-extras') +pkgdesc="Trinity - kdevelop" +depends=('trinity-kdebase') +# 'xorg' +makedepends=('pkgconfig' 'cmake' 'imake') +options=('libtool' '!strip') +source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/kdevelop-3.5.13.tar.gz) +md5sums=('777bd77e4f2dc6a5b5b45a370dcf6da0') +_svnmod=kdevelop + +build() { + + msg "Setting PATH, CMAKE and Trinity Environment variables" + export CMAKE_PREFIX_PATH=/opt/qt:/opt/trinity + 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 + + 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}/build + + make DESTDIR="$pkgdir/" install +} diff --git a/arch/3.5.13/trinity-extras/trinity-kpowersave/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kpowersave/PKGBUILD new file mode 100644 index 000000000..566bb4d98 --- /dev/null +++ b/arch/3.5.13/trinity-extras/trinity-kpowersave/PKGBUILD @@ -0,0 +1,68 @@ +# $Id$ +# Maintainer: David C. Rankin <drankinatty@gmail.com> +# +# All modifications and uses of this file are licensed under +# the software for which this file was made for, should the software +# be under an Open Source License, at least version 1.9, defined +# by the Open Source Initiative. In other cases, this file is automatically +# released to the Public Domain. +# + +pkgname=trinity-kpowersave +pkgver=3513 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://www.trinitydesktop.org' +license=('GPL') +groups=('trinity-extras') +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-extras/trinity-kpowersave/kpowersave-inactivity.cpp.patch b/arch/3.5.13/trinity-extras/trinity-kpowersave/kpowersave-inactivity.cpp.patch new file mode 100644 index 000000000..08645af32 --- /dev/null +++ b/arch/3.5.13/trinity-extras/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-extras/trinity-qtcurve/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-qtcurve/PKGBUILD new file mode 100644 index 000000000..c8385a361 --- /dev/null +++ b/arch/3.5.13/trinity-extras/trinity-qtcurve/PKGBUILD @@ -0,0 +1,64 @@ +# $Id$ +# Maintainer: David C. Rankin <drankinatty@gmail.com> +# +# All modifications and uses of this file are licensed under +# the software for which this file was made for, should the software +# be under an Open Source License, at least version 1.9, defined +# by the Open Source Initiative. In other cases, this file is automatically +# released to the Public Domain. +# + +pkgname=trinity-qtcurve +pkgver=3513 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://www.trinitydesktop.org' +license=('GPL') +groups=('trinity-extras') +pkgdesc="Trinity - Trinity style QtCurve" +depends=('trinity-kdebase') +makedepends=('pkgconfig' 'cmake' 'imake') +options=('libtool' '!strip') +source=('http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/kde-style-qtcurve-3.5.13.tar.gz') +_svnmod=applications/kde-style-qtcurve +md5sums=('98133893b9c6736804d4dfc134a3a256') + +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 + +# cd ${srcdir}/${_svnmod} + + 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} +} |