From d83cd3d91dfcfe074e324f184738eeb5b5e9d501 Mon Sep 17 00:00:00 2001
From: thomas <kreitler@molgen.mpg.de>
Date: Thu, 21 Jul 2022 13:54:38 +0200
Subject: [PATCH] qt4_compat: keep the few referenced Qt4 libs found in the
 system

QT4 is supposed to be history. Well, very old packages might
need help from .compatlibs, but that is how the cookie crumbles :)

The only dependencies in the system belong to /usr/lib/liblastfm.so.1
and /usr/lib/libpoppler-qt4.so.4.0.0. Better make this a task on
its own to check if they are needed.
---
 qt4_compat-4.7.4-0.be0 | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100755 qt4_compat-4.7.4-0.be0

diff --git a/qt4_compat-4.7.4-0.be0 b/qt4_compat-4.7.4-0.be0
new file mode 100755
index 000000000..e04c7d15a
--- /dev/null
+++ b/qt4_compat-4.7.4-0.be0
@@ -0,0 +1,17 @@
+#!/usr/bin/env beesh
+
+# BEE_VERSION qt4_compat-4.7.4-0
+
+mee_install() {
+    cd ${D}
+    tar xvpf /src/mariux/beeroot/packages/qt4-4.7.4-0.x86_64.bee.tar.bz2 \
+        /usr/local/qt4/lib/libQtCore.so.4.7.4 \
+        /usr/local/qt4/lib/libQtCore.so.4.7   \
+        /usr/local/qt4/lib/libQtCore.so.4     \
+        /usr/local/qt4/lib/libQtGui.so.4.7.4  \
+        /usr/local/qt4/lib/libQtGui.so.4.7    \
+        /usr/local/qt4/lib/libQtGui.so.4      \
+        /usr/local/qt4/lib/libQtXml.so.4.7.4  \
+        /usr/local/qt4/lib/libQtXml.so.4.7    \
+        /usr/local/qt4/lib/libQtXml.so.4
+}