removed dropped things added PKGBUILD templates fixed kde-style-lipstik PKGBUILDpull/3/head
parent
2130815b4a
commit
620523010a
@ -1,74 +1,84 @@
|
|||||||
# Maintainer: Calvin Morrison <MutantTurkey@gmail.com>
|
# Maintainer: Calvin Morrison <MutantTurkey@gmail.com>
|
||||||
|
|
||||||
pkgname=trinity-qt3
|
pkgname=trinity-qt3
|
||||||
pkgver=3884
|
pkgver=3884
|
||||||
pkgrel=2
|
pkgrel=2
|
||||||
pkgdesc="The Qt3 gui toolkit - with Trinity upstream"
|
|
||||||
_prefix="/opt/qt"
|
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
license=('GPL')
|
|
||||||
url="http://trinitydesktop.org"
|
url="http://trinitydesktop.org"
|
||||||
# install=qt.install
|
license=('GPL')
|
||||||
groups=('trinity-base')
|
groups=('trinity-base')
|
||||||
|
pkgdesc="The Qt3 gui toolkit - with Trinity upstream"
|
||||||
|
|
||||||
depends=('libjpeg-turbo' 'libmng' 'libmysqlclient' 'libpng' 'libxmu' 'libxcursor' 'libxinerama' 'libxft' 'libxrandr' 'mesa' 'postgresql-libs' 'unixodbc')
|
depends=('libjpeg-turbo' 'libmng' 'libmysqlclient' 'libpng' 'libxmu' 'libxcursor' 'libxinerama' 'libxft' 'libxrandr' 'mesa' 'postgresql-libs' 'unixodbc')
|
||||||
makedepends=('cups' 'libxi' 'mysql' 'postgresql' 'unixodbc' 'sqlite3')
|
makedepends=('cups' 'libxi' 'mysql' 'postgresql' 'unixodbc' 'sqlite3')
|
||||||
optdepends=()
|
|
||||||
# optdepends=('libmysqlclient' 'postgresql-libs' 'unixodbc')
|
# optdepends=('libmysqlclient' 'postgresql-libs' 'unixodbc')
|
||||||
|
|
||||||
provides=('trinity-qt3' 'qt3')
|
provides=('trinity-qt3' 'qt3')
|
||||||
conflicts=('qt3' 'qt3-enhanced')
|
conflicts=('qt3' 'qt3-enhanced')
|
||||||
replaces=('trinity-qt3')
|
replaces=('trinity-qt3')
|
||||||
_prefix="opt/qt"
|
|
||||||
|
options=(!libtool)
|
||||||
|
|
||||||
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/dependencies/qt3-3.3.8.d.tar.gz)
|
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/dependencies/qt3-3.3.8.d.tar.gz)
|
||||||
md5sums=('78dc675e84aed595375449818cbb589a')
|
md5sums=('78dc675e84aed595375449818cbb589a')
|
||||||
options=(!libtool)
|
|
||||||
|
_prefix="/opt/qt"
|
||||||
|
_builddir="qt3"
|
||||||
|
# install=qt.install
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
export QTDIR="${srcdir}/qt3/"
|
msg "Setting enviroment variables..."
|
||||||
export PATH=${QTDIR}/bin:${PATH}
|
export QTDIR="${srcdir}/${_builddir}/"
|
||||||
export LD_LIBRARY_PATH=${QTDIR}/lib:${LD_LIBRARY_PATH}
|
export PATH=${QTDIR}/bin:${PATH}
|
||||||
export QMAKESPEC=$QTDIR/mkspecs/linux-g++
|
export LD_LIBRARY_PATH=${QTDIR}/lib:${LD_LIBRARY_PATH}
|
||||||
|
export QMAKESPEC=$QTDIR/mkspecs/linux-g++
|
||||||
if [ "$CARCH" = "x86_64" ]; then
|
|
||||||
|
if [ "$CARCH" = "x86_64" ]; then
|
||||||
export ARCH="-64"
|
export ARCH="-64"
|
||||||
else unset ARCH
|
else unset ARCH
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd "${srcdir}/qt3"
|
cd "${srcdir}/${_builddir}"
|
||||||
|
|
||||||
rm -rf mkspecs/{*aix*,*bsd*,cygwin*,dgux*,darwin*,hpux*,hurd*,irix*,lynxos*,macx*,qnx*,reliant*,sco*,solaris*,tru64*,unixware*,win32*}
|
rm -rf mkspecs/{*aix*,*bsd*,cygwin*,dgux*,darwin*,hpux*,hurd*,irix*,lynxos*,macx*,qnx*,reliant*,sco*,solaris*,tru64*,unixware*,win32*}
|
||||||
|
|
||||||
msg "Starting configure..."
|
msg "Starting configure..."
|
||||||
#make -C qmake || return 1
|
#make -C qmake || return 1
|
||||||
./configure -prefix ${_prefix} \
|
./configure \
|
||||||
-fast \
|
-prefix ${_prefix} \
|
||||||
-sysconfdir /etc/qt \
|
-fast \
|
||||||
-thread \
|
-sysconfdir /etc/qt \
|
||||||
-shared \
|
-thread \
|
||||||
-system-zlib \
|
-shared \
|
||||||
-platform linux-g++$ARCH \
|
-system-zlib \
|
||||||
-system-lib{png,jpeg,mng}
|
-platform linux-g++$ARCH \
|
||||||
make
|
-system-lib{png,jpeg,mng} \
|
||||||
|
-qt-gif \
|
||||||
|
-cups
|
||||||
|
|
||||||
|
msg "Building - $pkgname..."
|
||||||
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
msg "Packaging - $pkgname-$pkgver"
|
||||||
cd "$srcdir/qt3"
|
cd "$srcdir/${_builddir}"
|
||||||
|
|
||||||
# Build ld.so.conf file
|
|
||||||
echo "/${_prefix}" > ${srcdir}/libqt-mt.conf
|
|
||||||
echo "/${_prefix}/lib" >> ${srcdir}/libqt-mt.conf
|
|
||||||
echo "/opt/trinity/lib" >> ${srcdir}/libqt-mt.conf
|
|
||||||
install -d -m755 ${pkgdir}/etc/ld.so.conf.d/
|
|
||||||
install -D -m755 ${srcdir}/libqt-mt.conf ${pkgdir}/etc/ld.so.conf.d/libqt-mt.conf
|
|
||||||
|
|
||||||
# Build and install qt.profile
|
# Build ld.so.conf file
|
||||||
echo "export QTDIR=/${_prefix}" > ${srcdir}/qt.profile
|
echo "${_prefix}" > ${srcdir}/libqt-mt.conf
|
||||||
echo "export QT_XFT=true" >> ${srcdir}/qt.profile
|
echo "${_prefix}/lib" >> ${srcdir}/libqt-mt.conf
|
||||||
echo 'export PATH=$PATH:$QTDIR/bin' >> ${srcdir}/qt.profile
|
echo "/opt/trinity/lib" >> ${srcdir}/libqt-mt.conf
|
||||||
echo 'export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$QTDIR/pkgconfig' >> ${srcdir}/qt.profile
|
# install -d -m755 ${pkgdir}/etc/ld.so.conf.d/
|
||||||
install -D -m755 ${srcdir}/qt.profile ${pkgdir}/etc/profile.d/qt3.sh
|
install -D -m755 ${srcdir}/libqt-mt.conf ${pkgdir}/etc/ld.so.conf.d/libqt-mt.conf
|
||||||
|
|
||||||
|
|
||||||
make INSTALL_ROOT="$pkgdir/" install
|
# 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
|
||||||
}
|
}
|
||||||
|
@ -1,54 +1,54 @@
|
|||||||
# $Id$
|
|
||||||
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
|
# Maintainer: Calvin Morrison <mutantturkey@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-konversation
|
pkgname=trinity-konversation
|
||||||
pkgver=3513
|
pkgver=3513
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
|
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
|
|
||||||
url='http://www.trinitydesktop.org'
|
url='http://www.trinitydesktop.org'
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
groups=('trinity')
|
groups=('trinity')
|
||||||
pkgdesc="Trinity - Konversation IRC client"
|
pkgdesc="Trinity - pkgdesc"
|
||||||
depends=('trinity-kdelibs' 'trinity-qt3' 'trinity-tqtinterface')
|
|
||||||
|
depends=('trinity-kdelibs')
|
||||||
makedepends=('pkgconfig' 'autoconf' 'automake')
|
makedepends=('pkgconfig' 'autoconf' 'automake')
|
||||||
|
|
||||||
options=('libtool' '!strip')
|
options=('libtool' '!strip')
|
||||||
|
|
||||||
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/konversation-3.5.13.tar.gz)
|
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/konversation-3.5.13.tar.gz)
|
||||||
md5sums=('0f0e0415dad4c19bc885c9addadf4026')
|
md5sums=('0f0e0415dad4c19bc885c9addadf4026')
|
||||||
|
|
||||||
build() {
|
_builddir=applications/konversation
|
||||||
|
_prefix=/opt/trinity
|
||||||
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
|
|
||||||
|
|
||||||
export CFLAGS=-I/opt/triniy/include/tqt
|
build() {
|
||||||
export CXXFLAGS=-I/opt/trinity/include/tqt
|
msg "Setting Trinity Environment variables"
|
||||||
|
export LD_LIBRARY_PATH=${_prefix}/lib:${_prefix}/lib/trinity:$LD_LIBRARY_PATH
|
||||||
trinity_prefix="/opt/trinity"
|
export PKG_CONFIG_PATH=${_prefix}/lib/pkgconfig:${QTDIR}/lib/pkgconfig
|
||||||
|
|
||||||
msg "Starting cmake..."
|
|
||||||
|
|
||||||
cd "$srcdir/applications/konversation"
|
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
|
make -f admin/Makefile.common
|
||||||
./configure --with-qt-dir=/opt/qt/ --prefix=/opt/trinity
|
|
||||||
|
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
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
msg "Packaging - $pkgname-$pkgver"
|
msg "Packaging - $pkgname-$pkgver"
|
||||||
# cd ${srcdir}/${_svnmod}
|
# cd ${srcdir}/build
|
||||||
cd ${srcdir}/build
|
cd ${srcdir}/${_builddir}
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
make DESTDIR="$pkgdir/" install
|
|
||||||
|
|
||||||
# rm -r ${srcdir}/${_svnmod}
|
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,51 @@
|
|||||||
|
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
|
||||||
|
|
||||||
|
pkgname=trinity-kde-style-lipstik
|
||||||
|
pkgver=3513
|
||||||
|
pkgrel=1
|
||||||
|
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
|
||||||
|
url='http://www.trinitydesktop.org'
|
||||||
|
license=('GPL')
|
||||||
|
groups=('trinity')
|
||||||
|
pkgdesc="Trinity - Lipstik style"
|
||||||
|
|
||||||
|
depends=('trinity-kdelibs' 'trinity-kdebase')
|
||||||
|
makedepends=('pkgconfig' 'autoconf' 'automake')
|
||||||
|
|
||||||
|
options=('libtool' '!strip')
|
||||||
|
|
||||||
|
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/kde-style-lipstik-3.5.13.tar.gz)
|
||||||
|
md5sums=('1585d4df7f0c68499fafa0b8ecb82dab')
|
||||||
|
|
||||||
|
_builddir=applications/kde-style-lipstik
|
||||||
|
_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/${_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} \
|
||||||
|
--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
|
||||||
|
}
|
@ -1,49 +0,0 @@
|
|||||||
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
|
|
||||||
|
|
||||||
pkgname=trinity-knetworkmanager
|
|
||||||
pkgver=3513
|
|
||||||
pkgrel=1
|
|
||||||
arch=('i686' 'x86_64')
|
|
||||||
url='http://www.trinitydesktop.org'
|
|
||||||
license=('GPL')
|
|
||||||
groups=('trinity-extras')
|
|
||||||
pkgdesc="Trinity - Networkmanager applet"
|
|
||||||
depends=('trinity-kdebase' 'networkmanager' 'dbus' 'hal' 'trinity-dbus-tqt-1')
|
|
||||||
makedepends=('pkgconfig' 'cmake' 'imake')
|
|
||||||
options=('libtool' '!strip')
|
|
||||||
source=('http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/knetworkmanager8-3.5.13.tar.gz' 'knetworkmanager.patch')
|
|
||||||
md5sums=('def7b5d1fae4d407d05507fe8bc47f5c'
|
|
||||||
'bc1fba7f0cd2ee6264c986a56f725669')
|
|
||||||
|
|
||||||
_svnmod=applications/knetworkmanager8
|
|
||||||
|
|
||||||
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 < knetworkmanager.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
|
|
||||||
}
|
|
File diff suppressed because it is too large
Load Diff
@ -1,49 +0,0 @@
|
|||||||
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
|
|
||||||
|
|
||||||
pkgname=trinity-knetworkmanager
|
|
||||||
pkgver=3513
|
|
||||||
pkgrel=1
|
|
||||||
arch=('i686' 'x86_64')
|
|
||||||
url='http://www.trinitydesktop.org'
|
|
||||||
license=('GPL')
|
|
||||||
groups=('trinity-extras')
|
|
||||||
pkgdesc="Trinity - Networkmanager applet"
|
|
||||||
depends=('trinity-kdebase' 'networkmanager' 'dbus' 'hal' 'trinity-dbus-tqt-1')
|
|
||||||
makedepends=('pkgconfig' 'cmake' 'imake')
|
|
||||||
options=('libtool' '!strip')
|
|
||||||
source=('http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/knetworkmanager9-3.5.13.tar.gz' 'knetworkmanager.patch')
|
|
||||||
md5sums=('11108480d620db10e7848446750e2cc7'
|
|
||||||
'bc1fba7f0cd2ee6264c986a56f725669')
|
|
||||||
|
|
||||||
_svnmod=applications/knetworkmanager9
|
|
||||||
|
|
||||||
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 < knetworkmanager.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
|
|
||||||
}
|
|
File diff suppressed because it is too large
Load Diff
@ -1,55 +0,0 @@
|
|||||||
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
|
|
||||||
|
|
||||||
pkgname=trinity-kpilot
|
|
||||||
pkgver=3513
|
|
||||||
pkgrel=1
|
|
||||||
arch=('i686' 'x86_64')
|
|
||||||
url='http://www.trinitydesktop.org'
|
|
||||||
license=('GPL')
|
|
||||||
groups=('trinity-extras')
|
|
||||||
pkgdesc="Trinity - kpilot Palm sync tool"
|
|
||||||
depends=('trinity-kdebase')
|
|
||||||
makedepends=('pkgconfig' 'cmake' 'imake')
|
|
||||||
options=('libtool' '!strip')
|
|
||||||
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/kpilot-3.5.13.tar.gz)
|
|
||||||
md5sums=('adac05d936e6947ac0b1033c8d3192cd')
|
|
||||||
|
|
||||||
_svnmod=applications/kpilot
|
|
||||||
|
|
||||||
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}/build
|
|
||||||
make DESTDIR="$pkgdir/" install
|
|
||||||
}
|
|
@ -1,52 +0,0 @@
|
|||||||
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
|
|
||||||
|
|
||||||
pkgname=trinity-style-lipstik
|
|
||||||
pkgver=3513
|
|
||||||
pkgrel=1
|
|
||||||
arch=('i686' 'x86_64')
|
|
||||||
url='http://www.trinitydesktop.org'
|
|
||||||
license=('GPL')
|
|
||||||
groups=('trinity-extras')
|
|
||||||
pkgdesc="Trinity - Lipstik sytle"
|
|
||||||
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-lipstik-3.5.13.tar.gz)
|
|
||||||
md5sums=('1585d4df7f0c68499fafa0b8ecb82dab')
|
|
||||||
|
|
||||||
_svnmod=applications/kde-style-lipstik
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
export CFLAGS=-I/opt/trinity/include/tqt
|
|
||||||
export CXXFLAGS=-I/opt/trinity/include/tqt
|
|
||||||
|
|
||||||
trinity_prefix="/opt/trinity"
|
|
||||||
|
|
||||||
cd $srcdir/${_svnmod}
|
|
||||||
make -f admin/Makefile.common
|
|
||||||
|
|
||||||
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
|
|
||||||
}
|
|
@ -1,54 +0,0 @@
|
|||||||
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
|
|
||||||
|
|
||||||
pkgname=trinity-rosegarden
|
|
||||||
pkgver=3513
|
|
||||||
pkgrel=170
|
|
||||||
arch=('i686' 'x86_64')
|
|
||||||
url='http://www.trinitydesktop.org'
|
|
||||||
license=('GPL')
|
|
||||||
groups=('trinity-extras')
|
|
||||||
pkgdesc="Trinity - Rosegarden, A MIDI and audio sequencer and musical notation editor."
|
|
||||||
depends=('trinity-kdelibs' 'dssi' 'jack' 'liblo' 'liblrdf' 'fftw')
|
|
||||||
makedepends=('pkgconfig' 'cmake' 'imake')
|
|
||||||
options=('libtool' '!strip')
|
|
||||||
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/rosegarden-3.5.13.tar.gz)
|
|
||||||
md5sums=('8906d1797bae89920d9a9ab54c09b49d')
|
|
||||||
|
|
||||||
_svnmod=applications/rosegarden
|
|
||||||
|
|
||||||
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 \
|
|
||||||
-DQT_MOC_EXECUTABLE=/opt/trinity/bin/tmoc \
|
|
||||||
-DWANT_DEBUG=OFF \
|
|
||||||
-DWANT_FULLDBG=OFF \
|
|
||||||
-DWANT_SOUND=ON \
|
|
||||||
-DWANT_JACK=ON \
|
|
||||||
-DWANT_DSSI=ON \
|
|
||||||
-DWANT_LIRC=ON \
|
|
||||||
-DWANT_PCH=OFF \
|
|
||||||
-DBUILD_ALL=ON
|
|
||||||
make
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
msg "Packaging - $pkgname-$pkgver"
|
|
||||||
cd ${srcdir}/build
|
|
||||||
make DESTDIR="$pkgdir/" install
|
|
||||||
}
|
|
@ -0,0 +1,12 @@
|
|||||||
|
contents of this directory
|
||||||
|
|
||||||
|
autotools_PKGBUILD: example of PKGBUILD for building
|
||||||
|
trinity components with autotools. Should be used
|
||||||
|
as template for new PKGBUILDS.
|
||||||
|
|
||||||
|
cmake_PKGBUILD: example of PKGBUILD for building
|
||||||
|
trinity components with CMake. Should be used as
|
||||||
|
a template for new PKGBUILDS.
|
||||||
|
|
||||||
|
batchbuild: simple scirpt for batch building trinity
|
||||||
|
components.
|
@ -0,0 +1,59 @@
|
|||||||
|
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
|
||||||
|
|
||||||
|
pkgname=trinity-pkname
|
||||||
|
pkgver=3513
|
||||||
|
pkgrel=1
|
||||||
|
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
|
||||||
|
url='http://www.trinitydesktop.org'
|
||||||
|
license=('GPL')
|
||||||
|
groups=('trinity')
|
||||||
|
pkgdesc="Trinity - pkgdesc"
|
||||||
|
|
||||||
|
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/pkname-3.5.13.tar.gz)
|
||||||
|
md5sums=('pkgmd5')
|
||||||
|
|
||||||
|
_builddir=applications/pkname
|
||||||
|
_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 < pkname.patch
|
||||||
|
|
||||||
|
msg "Starting autoconf..."
|
||||||
|
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} \
|
||||||
|
--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
|
||||||
|
}
|
@ -0,0 +1,66 @@
|
|||||||
|
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
|
||||||
|
|
||||||
|
pkgname=trinity-pkname
|
||||||
|
pkgver=3513
|
||||||
|
pkgrel=1
|
||||||
|
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
|
||||||
|
url='http://www.trinitydesktop.org'
|
||||||
|
license=('GPL')
|
||||||
|
groups=('trinity-extras')
|
||||||
|
pkgdesc="Trinity - pkgdesc"
|
||||||
|
|
||||||
|
depends=('trinity-kdelibs')
|
||||||
|
makedepends=('pkgconfig' 'cmake' 'imake')
|
||||||
|
optdepends=()
|
||||||
|
|
||||||
|
provides=($pkgname)
|
||||||
|
confilcts=()
|
||||||
|
replaces=()
|
||||||
|
|
||||||
|
options=('libtool' '!strip')
|
||||||
|
|
||||||
|
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/pkname-3.5.13.tar.gz)
|
||||||
|
md5sums=('')
|
||||||
|
|
||||||
|
_svnmod=applications/kpowersave
|
||||||
|
_builddir=build
|
||||||
|
_prefix="/opt/trinity"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
msg "Setting PATH, CMAKE and Trinity Environment variables"
|
||||||
|
export CMAKE_PREFIX_PATH=${QTDIR}:${_prefix}
|
||||||
|
export CMAKE_INCLUDE_PATH=${QTDIR}/include:${QTDIR}/include/tqt:/usr/include/dbus-1.0:${_prefix}/include:${_prefix}/include/libkrandr
|
||||||
|
export LD_LIBRARY_PATH=${_prefix}/lib:${_prefix}/lib/trinity:$LD_LIBRARY_PATH
|
||||||
|
export PKG_CONFIG_PATH=${_prefix}/lib/pkgconfig:${QTDIR}/lib/pkgconfig
|
||||||
|
|
||||||
|
# patch
|
||||||
|
# msg "Patching..."
|
||||||
|
# patch -N -d ${srcdir} -p0 < ${srcdir}/pkname.patch
|
||||||
|
|
||||||
|
cd $srcdir
|
||||||
|
msg "Creating out-of-source build directory: ${srcdir}/${_builddir}"
|
||||||
|
mkdir -p ${_builddir}
|
||||||
|
cd ${_builddir}
|
||||||
|
|
||||||
|
msg "Starting cmake..."
|
||||||
|
cmake ${srcdir}/${_svnmod} \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=${_prefix} \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||||||
|
-DQT_VERSION=3 \
|
||||||
|
-DWITH_QT3=ON \
|
||||||
|
-DQTDIR=${QTDIR} \
|
||||||
|
-DQT_DOCDIR=${QTDIR}/man \
|
||||||
|
-DQT_LIBRARY_DIRS=${QTDIR}/lib \
|
||||||
|
-DBUILD_ALL=ON
|
||||||
|
|
||||||
|
msg "Building - $pkgname..."
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
msg "Packaging - $pkgname-$pkgver"
|
||||||
|
cd ${srcdir}/${_builddir}
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
}
|
Loading…
Reference in new issue