You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
2.0 KiB
66 lines
2.0 KiB
# Maintainer: Michael Manley <mmanley@nasutek.com>
|
|
# Contributor: Pawel 'l0ner' Soltys <pwslts@gmail.com>
|
|
# Contributor: Calvin Morrison <mutantturkey@gmail.com>
|
|
# Contributor: David C. Rankin <drankinatty at gmail dot com>
|
|
|
|
pkgname=tde-tdebindings
|
|
pkgver=14.0.10
|
|
pkgrel=1
|
|
arch=('i686' 'x86_64')
|
|
url='https//scm.trinitydesktop.org/scm/git/tdebindings'
|
|
license=('GPL')
|
|
groups=('tde-base')
|
|
pkgdesc="Trinity Desktop bindings"
|
|
depends=('tde-tdebase')
|
|
makedepends=('pkgconfig' 'autoconf' 'imake' 'python2' 'ruby')
|
|
options=('staticlibs' 'libtool' '!strip')
|
|
source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/core/tdebindings-trinity-${pkgver}.tar.xz"
|
|
'bp000-817f960e.diff'
|
|
'bp001-8301a3c8.diff')
|
|
md5sums=('47294367d80fa79fefa80d755a6bf93d'
|
|
'79e6de2ddfec059b7601fac3f3a1adc5'
|
|
'8267435e92a265b83efbf07db5e36c01')
|
|
# install=''
|
|
|
|
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
|
|
[ -n "$QTDIR" ] || QTDIR=${TDEDIR}/tqt3
|
|
|
|
build() {
|
|
## Generate config files and update with autoreconf
|
|
cd ${srcdir}/${pkgname#*-}-trinity-${pkgver}
|
|
|
|
msg "Apply backported patches..."
|
|
patch -p1 < ${srcdir}/bp000-817f960e.diff
|
|
patch -p1 < ${srcdir}/bp001-8301a3c8.diff
|
|
|
|
msg "Copying system libtool files...."
|
|
cp /usr/share/aclocal/libtool.m4 ./admin/libtool.m4.in
|
|
cp /usr/share/libtool/build-aux/ltmain.sh ./admin/ltmain.sh
|
|
|
|
msg "Running make -f admin/Makefile.common ...."
|
|
make -f admin/Makefile.common
|
|
|
|
## configure
|
|
msg "Configuring - ${pkgname}..."
|
|
PYTHON=/usr/bin/python2 \
|
|
./configure \
|
|
--prefix=${TDEDIR} \
|
|
--with-qt-dir=${QTDIR} \
|
|
--with-qt-includes=${QTDIR}/include \
|
|
--with-qt-libraries=${QTDIR}/lib \
|
|
--with-extra-includes="/usr/include/tqt:/usr/include/tqt/Qt" \
|
|
--with-extra-libs="${TDEDIR}/lib:${TDEDIR}/lib/trinity" \
|
|
--sysconfdir=${TDEDIR}/etc \
|
|
--localstatedir=/var \
|
|
--enable-closure
|
|
|
|
msg "Building - ${pkgname}..."
|
|
make $NUMJOBS
|
|
}
|
|
|
|
package() {
|
|
msg "Packaging - $pkgname-$pkgver"
|
|
cd ${srcdir}/${pkgname#*-}-trinity-${pkgver}
|
|
make -j1 DESTDIR="${pkgdir}" install
|
|
}
|