summaryrefslogtreecommitdiffstats
path: root/arch/tde-extra/tde-gtk3-tqt-engine/PKGBUILD
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2021-09-24 15:27:04 +0200
committerSlávek Banko <[email protected]>2021-09-29 09:28:02 +0200
commit005403e878b739c9f7022e25043ecf97d8d91a4b (patch)
treea5361b3cff5e07db8bd41e1017a0c39cf20d43e9 /arch/tde-extra/tde-gtk3-tqt-engine/PKGBUILD
parentf6bf503a70f7b7a278e82822549f45f3b57594e1 (diff)
downloadtde-packaging-005403e878b739c9f7022e25043ecf97d8d91a4b.tar.gz
tde-packaging-005403e878b739c9f7022e25043ecf97d8d91a4b.zip
ArchLinux gtk3-tqt-engine: Backport patch to resolve FTBFS.
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit f094b09f989fd251a082301b04fcf5d64b50fdba)
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() {