Files
gentoo/x11-libs/libQGLViewer/files/libQGLViewer-2.9.1-rm_rpath.patch
Nicolas PARLANT 4b08a0d107 x11-libs/libQGLViewer: add 2.9.1, qt6
bump EAPI8

project uses now cmake for main lib
qmake is still used for designerplugin and examples binaries

switch to qt6 only

no subslot as upstream uses only soname qt5/qt6
version restriction may be sufficient here

move examples binaries in /usr/share instead of a /usr/bin subdirectory

Closes: https://bugs.gentoo.org/949089
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Signed-off-by: Sam James <sam@gentoo.org>
2025-03-28 17:23:58 +00:00

19 lines
495 B
Diff

rm rpath
diff --git a/examples/examples.pri b/examples/examples.pri
index 5b0a6d0..6dfefb7 100644
--- a/examples/examples.pri
+++ b/examples/examples.pri
@@ -66,12 +66,6 @@ unix {
LIB_NAME = QGLViewer-qt6
}
}
-
- isEmpty(QMAKE_LFLAGS_RPATH) {
- !plugin:QMAKE_LFLAGS += -Wl,-rpath,$${LIB_DIR_ABSOLUTE_PATH}
- } else {
- !plugin:QMAKE_RPATHDIR *= $${LIB_DIR_ABSOLUTE_PATH}
- }
LIBS *= -L$${LIB_DIR} -l$${LIB_NAME}
}
} else {