aboutsummaryrefslogtreecommitdiffstats
path: root/testing/firetools/fix-qt-configure.patch
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2016-05-10 17:44:24 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-06-20 16:00:10 +0000
commitbaecb8d02508a7697bcc80dc03c281afc78ad62c (patch)
treec5e313a9a1b1e780650cee9ca2f98d110b008bc8 /testing/firetools/fix-qt-configure.patch
parent9513b5116c59c2e82592b569d1d9dbe6abc4c1a1 (diff)
downloadaports-baecb8d02508a7697bcc80dc03c281afc78ad62c.tar.bz2
aports-baecb8d02508a7697bcc80dc03c281afc78ad62c.tar.xz
testing/firetools: new aport
firetools is a GUI / systray app for firejail
Diffstat (limited to 'testing/firetools/fix-qt-configure.patch')
-rw-r--r--testing/firetools/fix-qt-configure.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/testing/firetools/fix-qt-configure.patch b/testing/firetools/fix-qt-configure.patch
new file mode 100644
index 0000000000..c0db8c9dda
--- /dev/null
+++ b/testing/firetools/fix-qt-configure.patch
@@ -0,0 +1,46 @@
+--- firetools-0.9.30/configure
++++ firetools-0.9.30/configure.new
+@@ -3811,18 +3811,24 @@
+ as_fn_error $? "*** Please install Qt5 svg support - apt-get install libqt5svg5 ***" "$LINENO" 5
+ fi
+
+-# Arch Linux 64bit
++# Arch Linux 64bit & Alpine Linux
+ elif test -f /usr/lib/libQt5Core.so
+ then
++ if test -d /usr/lib/qt5
++ then
++ qtdir='qt5'
++ else
++ qtdir='qt'
++ fi
+ echo "Found qt5 library in /usr/lib directory"
+ # check libqt5svg5 library
+- if test -f /usr/lib/qt/plugins/imageformats/libqsvg.so
++ if test -f /usr/lib/$qtdir/plugins/imageformats/libqsvg.so
+ then
+ echo "Found qt5 svg library"
+ else
+ as_fn_error $? "*** Please install Qt5 svg support - pacman -S qt5-svg ***" "$LINENO" 5
+ fi
+- if test -f /usr/lib/qt/plugins/iconengines/libqsvgicon.so
++ if test -f /usr/lib/$qtdir/plugins/iconengines/libqsvgicon.so
+ then
+ echo "Found qt5 svg icon library"
+ else
+
+--- firetools-0.9.30/configure
++++ firetools-0.9.30/configure.new
+@@ -3939,6 +3939,11 @@
+ QMAKE=/usr/lib64/qt4/bin/qmake
+ fi
+
++ # fix for Alpine Linux
++ if test -f /usr/lib/qt5/bin/qmake; then
++ QMAKE=/usr/lib/qt5/bin/qmake
++ fi
++
+ if test -z "$QMAKE"
+ then
+ as_fn_error $? "qmake is missing, please install Qt4 or Qt5 development packages." "$LINENO" 5
+