summaryrefslogtreecommitdiffstats
path: root/arch/tde-extra/tde-gtk3-tqt-engine/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tde-extra/tde-gtk3-tqt-engine/PKGBUILD')
-rw-r--r--arch/tde-extra/tde-gtk3-tqt-engine/PKGBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/arch/tde-extra/tde-gtk3-tqt-engine/PKGBUILD b/arch/tde-extra/tde-gtk3-tqt-engine/PKGBUILD
index 17969464b..0e5c741f5 100644
--- a/arch/tde-extra/tde-gtk3-tqt-engine/PKGBUILD
+++ b/arch/tde-extra/tde-gtk3-tqt-engine/PKGBUILD
@@ -15,18 +15,21 @@ makedepends=('pkgconfig' 'cmake')
#conflicts=('gtk3-tqt-engine')
#replaces=('gtk3-tqt-engine')
options=('staticlibs' 'libtool' '!strip')
-source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/applications/gtk3-tqt-engine-trinity-${pkgver}.tar.xz")
-md5sums=('1f94fd009a3c062e042f914c21d49984')
+source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/applications/gtk3-tqt-engine-trinity-${pkgver}.tar.xz"
+ 'bp000-0e2c727907.diff')
+md5sums=('1f94fd009a3c062e042f914c21d49984'
+ '280b56843ebeb41b9ee74120b0ef28b6')
# install=''
[ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
[ -n "$QTDIR" ] || QTDIR=${TDEDIR}/tqt3
-[ -n "$TQTDIR" ] || TQTDIR=${QTDIR}
build() {
## Generate config files and update with autoreconf
cd ${srcdir}/${pkgname#*-}-trinity-${pkgver}
+ patch -p1 < ${srcdir}/bp000-0e2c727907.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
@@ -36,7 +39,6 @@ build() {
## configure
msg "Configuring - ${pkgname}..."
-
./configure \
--prefix=${TDEDIR} \
--with-qt-dir=${QTDIR} \
@@ -45,9 +47,8 @@ build() {
--with-extra-includes="/usr/include/tqt:/usr/include/tqt/Qt" \
--with-extra-libs="${TDEDIR}/lib:${TDEDIR}/lib/trinity" \
- ### PATCH: This allows the package to compile due to some odd reason its not finding tqt-mt, Remove LD_LIBRARY_PATH
- ### if fixed on future versions
- LD_LIBRARY_PATH=$TQTDIR/lib make $NUMJOBS
+ msg "Building - ${pkgname}..."
+ make $NUMJOBS
}
package() {